mince/templates/master.twig

46 lines
2 KiB
Twig
Raw Normal View History

2022-07-03 22:07:00 +00:00
<!doctype html>
<html>
<head>
2023-02-25 20:17:06 +00:00
<meta charset="utf-8">
2023-08-24 23:13:29 +00:00
<title>{{ title|default(globals.title) }}</title>
2023-02-25 20:55:38 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2023-02-25 20:17:06 +00:00
<link href="/mince.css" type="text/css" rel="stylesheet">
2022-07-03 22:07:00 +00:00
</head>
<body>
<div class="wrapper">
<nav class="header">
<div class="header-inner">
<div class="header-logo">
2023-02-25 20:17:06 +00:00
<a href="/"><img src="/assets/weblogo.png" alt="Flashii Minecraft"></a>
2022-07-03 22:07:00 +00:00
</div>
2023-08-22 23:47:37 +00:00
<div class="header-menu">
2024-10-05 15:25:27 +00:00
<a href="{{ url('index') }}">Home</a>
<a href="{{ url('downloads') }}">Downloads</a>
<a href="{{ url('guide') }}">Guide</a>
2023-08-24 23:13:29 +00:00
{% if globals.is_authed %}
2024-10-05 15:25:27 +00:00
<a href="{{ url('clients:index') }}">Clients</a>
<a href="{{ url('skins:index') }}">Skins</a>
2023-08-22 23:47:37 +00:00
{% endif %}
</div>
2022-07-03 22:07:00 +00:00
<div class="header-user">
2023-08-24 23:13:29 +00:00
{% if globals.is_authed %}
Logged in as <span style="color: {{ globals.user.colour }}">{{ globals.user.name }}</span>
2023-08-16 22:39:35 +00:00
{% else %}
2024-10-05 15:25:27 +00:00
<a href="{{ url('login') }}">Log in</a>
2023-08-16 22:39:35 +00:00
{% endif %}
2022-07-03 22:07:00 +00:00
</div>
</div>
</nav>
<div class="content">
2023-08-16 22:39:35 +00:00
{% block content %}
There is nothing here!
{% endblock %}
2022-07-03 22:07:00 +00:00
</div>
<footer class="footer">
2023-08-23 23:44:23 +00:00
<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>
2022-07-03 22:07:00 +00:00
</footer>
</div>
</body>
</html>