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

40 lines
926 B
Twig
Raw Normal View History

2022-08-13 07:46:56 +02:00
<!DOCTYPE html>
<html lang="{{ app.request.locale }}">
2022-08-13 07:46:56 +02:00
<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">
2022-08-13 07:46:56 +02:00
{% 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" %}
2022-08-13 07:46:56 +02:00
{% endblock %}
</body>
</html>