application de la nouvelle identité sur toutes les pages

This commit is contained in:
2026-06-01 22:10:03 +02:00
parent a4cc0ef538
commit b52190eff6
44 changed files with 1369 additions and 907 deletions

View File

@@ -0,0 +1,14 @@
{#
Override du bloc logo EPAU (header).
Contenu BDD ignoré : on rend en dur le PNG du thème pour le versionner
avec le code (cf. block--erabletheme-logoerable.html.twig pour le même
pattern). Pour changer le logo, remplacer assets/logo_epau.png.
#}
<div{{ attributes }}>
{{ title_prefix }}
{% if label %}<h2{{ title_attributes }}>{{ label }}</h2>{% endif %}
{{ title_suffix }}
<a href="https://epau.archi.fr" target="_blank" rel="noopener">
<img src="/{{ directory }}/assets/logo_epau.png" alt="EPAU">
</a>
</div>

View File

@@ -0,0 +1,12 @@
{#
Override du bloc logo EPAU (footer).
Cf. block--erabletheme-logoepau-2.html.twig.
#}
<div{{ attributes }}>
{{ title_prefix }}
{% if label %}<h2{{ title_attributes }}>{{ label }}</h2>{% endif %}
{{ title_suffix }}
<a href="https://epau.archi.fr" target="_blank" rel="noopener">
<img src="/{{ directory }}/assets/logo_epau.png" alt="EPAU">
</a>
</div>

View File

@@ -0,0 +1,15 @@
{#
Override du bloc logo érable (header).
Le contenu BDD (champ image du block_content) est volontairement ignoré :
on rend en dur le SVG du thème pour que le logo fasse partie du design
system et soit versionné avec le code. Pour changer le logo, remplacer
le fichier assets/logo_erable_ardoise.svg.
#}
<div{{ attributes }}>
{{ title_prefix }}
{% if label %}<h2{{ title_attributes }}>{{ label }}</h2>{% endif %}
{{ title_suffix }}
<a href="{{ path('<front>') }}">
<img src="/{{ directory }}/assets/logo_erable_ardoise.svg" alt="Logo Érable">
</a>
</div>