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,21 @@
{#
Override pour le paragraphe "membre-equipe" :
on regroupe prénom + nom dans un même wrapper .nom-prenom pour qu'ils
s'enchaînent comme un seul bloc (typo, retour à la ligne, etc.).
#}
{%
set classes = [
'paragraph',
'paragraph--type--' ~ paragraph.bundle|clean_class,
view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
not paragraph.isPublished() ? 'paragraph--unpublished'
]
%}
<div{{ attributes.addClass(classes) }}>
{{ content.field_portrait }}
<div class="nom-prenom">
{{ content.field_prenom }}
{{ content.field_nom }}
</div>
{{ content|without('field_portrait', 'field_prenom', 'field_nom') }}
</div>

View File

@@ -69,17 +69,23 @@
*/
#}
<article class="fullpage projet_full taxonomy_page">
<div class="fullpage_content">
{# Page d'archive taxonomy (filtres par tag). On rend chaque projet associé
en mode "card" (titre + diapo en plus petit, cf. _projets.scss).
Le titre du tag est sorti dans .page-header-outside ; via le CSS, on n'en
affiche qu'une seule (1re .views-row), cf. _projets.scss. La variable
taxonomy_term_label est injectée par erabletheme_preprocess_node__view__taxonomy_term. #}
<div class="page-header-outside taxonomy_header">
<div class="retour_projets">
<a href="/projets">← Retour aux projets</a>
</div>
<h2>{{ taxonomy_term_label }}</h2>
</div>
<h2>{{ label }}</h2>
<article class="fullpage projet_full taxonomy_page">
<div class="fullpage_content">
<h2 class="projet_label"><a href="{{ url }}">{{ label }}</a></h2>
<div{{ content_attributes }}>
{{ content }}
</div>
</div>
</article>