{% set previous = app.request.server.get("HTTP_REFERER") %}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %} | Lotica{% endblock %}</title>
<link rel="icon" href="{{ asset('favicon.ico') }}">
{# BOOTSTRAP #}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{# CSS #}
<link rel="stylesheet" href="{{ asset('assets/css/utils.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
{# JS #}
<script type="module" src="{{ asset('assets/js/app.js') }}" defer></script>
</head>
<body>
<div id="global" class="d-flex flex-column justify-content-between">
{# HEADER #}
<header>
{% include "components/header.html.twig" %}
</header>
{# main #}
<main id="main">
{% include "components/partials/_flashcontainer.html.twig" %}
{% block body %}{% endblock %}
</main>
{# FOOTER #}
<br>
<footer>
{% include "components/footer.html.twig" %}
</footer>
</div>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</body>
</html>