{% 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">
{# GOOGLE FONTS #}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
<!-- FontAwesome -->
<script src="https://kit.fontawesome.com/24f93fa660.js" crossorigin="anonymous"></script>
{# CSS #}
<link rel="stylesheet" href="{{ asset('assets/css/utils.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/main.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/layout.css') }}">
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{# JS #}
<script type="module" src="{{ asset('assets/js/app.js') }}" defer></script>
</head>
<body>
<div id="app">
{# HEADER #}
<header>{% include "components/header.html.twig" %}</header>
{# MAIN #}
<main>{% block body %}{% endblock %}</main>
{# FOOTER #}
<footer>{% include "components/footer.html.twig" %}</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</body>
</html>