45 lines
2 KiB
Twig
45 lines
2 KiB
Twig
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{ title|default(globals.title) }}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="/mince.css" type="text/css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<nav class="header">
|
|
<div class="header-inner">
|
|
<div class="header-logo">
|
|
<a href="/"><img src="/assets/weblogo.png" alt="Flashii Minecraft"></a>
|
|
</div>
|
|
<div class="header-menu">
|
|
<a href="{{ url('index') }}">Home</a>
|
|
<a href="{{ url('downloads') }}">Downloads</a>
|
|
<a href="{{ url('guide') }}">Guide</a>
|
|
{% if globals.is_authed %}
|
|
<a href="{{ url('clients:index') }}">Clients</a>
|
|
<a href="{{ url('skins:index') }}">Skins</a>
|
|
{% endif %}
|
|
</div>
|
|
<div class="header-user">
|
|
{% if globals.is_authed %}
|
|
Logged in as <span style="color: {{ globals.user.colour }}">{{ globals.user.name }}</span>
|
|
{% else %}
|
|
<a href="{{ url('login') }}">Log in</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class="content">
|
|
{% block content %}
|
|
There is nothing here!
|
|
{% endblock %}
|
|
</div>
|
|
<footer class="footer">
|
|
<div><a href="https://flash.moe" target="_blank">flashwave</a> 2022-{{ 'now'|date('Y') }} | Site design based on the Minecraft.net of old | "{{ random(1, 100) == 25 ? 'Minceraft' : 'Minecraft' }}" is a trademark of Mojang</div>
|
|
<div>NOT AN OFFICIAL MINECRAFT SERVICE, NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT</div>
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html>
|