application de la nouvelle identité sur toutes les pages
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user