63 lines
3.6 KiB
Twig
63 lines
3.6 KiB
Twig
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
<meta name="description" content="{{ description|default(config('general.description')) }}">
|
|
<title>{{ title|default(config('general.name')) }}</title>
|
|
|
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
|
<link href="https://fonts.googleapis.com/css?family=Exo+2:200,200italic,300,300italic,400,400italic" rel="stylesheet" type="text/css">
|
|
<link href="/css/libraries.css" rel="stylesheet" type="text/css" data-turbolinks-track>
|
|
<link href="/css/nova.css" rel="stylesheet" type="text/css" data-turbolinks-track>
|
|
|
|
<script src="/js/nova.js" data-turbolinks-track></script>
|
|
{{ block('js') is defined ? block('js') : '' }}
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<nav class="header">
|
|
<div class="header__inner">
|
|
<div class="header__navigation">
|
|
<a class="header__entry fa-home" href="{{ route('main.index') }}">home</a>
|
|
<a class="header__entry fa-comments" href="{{ route('forums.index') }}">forum</a>
|
|
<a class="header__entry fa-cog" href="{{ route('settings.index') }}">settings</a>
|
|
<a class="header__entry fa-sign-out" href="#">logout</a>
|
|
</div>
|
|
{% if user.isActive %}
|
|
<a class="header__user" href="{{ route('user.profile', user.id) }}" style="color: {{ user.colour }}">
|
|
<div class="header__username">{{ user.username }}</div>
|
|
<div class="header__avatar" style="background-image: url('{{ route('user.avatar', user.id) }}')"></div>
|
|
</a>
|
|
{% else %}
|
|
<a class="header__user" href="#">
|
|
<div class="header__username">login</div>
|
|
<div class="header__avatar" style="background-image: url('{{ route('user.avatar', 0) }}')"></div>
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container__wrapper {{ wrapper_classes|default('') }}">
|
|
<noscript>
|
|
<div class="banner" style="background-image: url('/images/enable-javascript.png')"></div>
|
|
</noscript>
|
|
|
|
<div class="banner {{ banner_large is defined and banner_large ? 'banner--large' : '' }} {{ banner_classes|default('') }}" style="background-image: url('{{ banner|default('/images/default-banner.png') }}')">
|
|
{{ block('banner_content') is defined ? block('banner_content') : '' }}
|
|
</div>
|
|
|
|
{{ block('content') is defined ? block('content') : '' }}
|
|
</div>
|
|
<div class="container__footer">
|
|
<div class="container__footer-copyright">flash.moe 2013-{{ ''|date('Y') }}</div>
|
|
<div class="container__footer-links">
|
|
<a href="{{ route('info.terms') }}" class="container__footer-link">Terms of Service</a>
|
|
<a href="{{ route('info.rules') }}" class="container__footer-link">Rules</a>
|
|
<a href="{{ route('info.contact') }}" class="container__footer-link">Contact</a>
|
|
<a href="{{ route('status.index') }}" class="container__footer-link">Status</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|