This commit is contained in:
2024-01-24 07:57:05 +01:00
parent e61ba67fff
commit e07d59710d
21 changed files with 8649 additions and 22 deletions

View File

@@ -1,17 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
{% block stylesheets %}
{% endblock %}
<!doctype html>
<html lang="fr" data-fr-scheme="system">
<head>
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{# <link rel="stylesheet" href="dsfr/dsfr.min.css">#}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
<meta name="theme-color" content="#000091"><!-- Défini la couleur de thème du navigateur (Safari/Android) -->
<link rel="apple-touch-icon" href="favicon/apple-touch-icon.png"><!-- 180×180 -->
<link rel="icon" href="favicon/favicon.svg" type="image/svg+xml">
<link rel="shortcut icon" href="favicon/favicon.ico" type="image/x-icon"><!-- 32×32 -->
<link rel="manifest" href="favicon/manifest.webmanifest" crossorigin="use-credentials">
<!-- Modifier les chemins relatifs des favicons en fonction de la structure du projet -->
<!-- Dans le fichier manifest.webmanifest aussi, modifier les chemins vers les images -->
<title>{% block title %}Hello HomeController!{% endblock %}</title></head>
{#<body> <!-- code de la page -->#}
<!-- Script en version es6 module et nomodule pour les navigateurs le ne supportant pas -->
{#<script type="module" src="dsfr/dsfr.module.min.js"></script>#}
{#<script type="text/javascript" nomodule src="dsfr/dsfr.nomodule.min.js"></script>#}
{% block javascripts %}
{% block importmap %}{{ importmap('app') }}{% endblock %}
{% endblock %}
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>
<body>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('dsfrNoModule', attributes={nomodule: true}) }}
{% endblock %}
{% block header %}
<header role="banner">
<nav class="fr-nav" role="navigation" aria-label="Menu Principal">
{{ knp_menu_render('main') }}
</nav>
</header>
{% endblock %}
{% block body %}{% endblock %}
{% block footer %}{% endblock %}
</body>
</html>