BirdNET-stream/www/templates/base.html.twig

40 lines
926 B
Twig

<!DOCTYPE html>
<html lang="{{ app.request.locale }}">
<head>
<meta charset="UTF-8">
<title>
{% block title %}BirdNET-stream
{% endblock %}
</title>
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
<body class="container col">
{% block body %}
{% include "menu.html.twig" %}
<header>
<a href="/">
<div class="container row">
<img class="logo" src="/media/logo.svg" alt="BirdNET logo">
<h1>BirdNET-stream</h1>
</div>
</a>
</header>
{% include "utils/locale-switcher.html.twig" %}
<main>
{% block content %}
<p>Welcome to BirdNET-stream !</p>
{% endblock %}
</main>
{% include "footer.html.twig" %}
{% endblock %}
</body>
</html>