<!DOCTYPE html>
<html lang="{{ app.request.locale|default(app.request.defaultLocale|default('en')) }}">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}{{ 'site.name'|trans }}{% endblock %}</title>
    {% block stylesheets %}
            {{ encore_entry_link_tags('app') }}
        {{ encore_entry_link_tags('app') }}
    {% endblock %}
</head>
<body>
<header>
    <nav>
        {% set pathinfo = app.request.pathinfo %}
        <a href="/">{{ 'nav.home'|trans }}</a> |
        <a href="/game">{{ 'nav.game'|trans }}</a>
    </nav>
</header>
<main>
    {% block body %}{% endblock %}
</main>
<footer>
    <small>&copy; {{ "now"|date("Y") }} {{ 'site.name'|trans }}</small>
</footer>
{% block javascripts %}
    {{ encore_entry_script_tags('app') }}
{% endblock %}
</body>
</html>
