From ddb66b9df85fcd14bc54e9dc5d896341b4e244a1 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Wed, 6 Mar 2024 09:09:56 +0100 Subject: [PATCH] feat: new adhesion page --- assets/images/icons/write.svg | 43 +++++++++++++ assets/sass/adhesion.scss | 38 ++++++++++++ content/adhesion/_index.md | 16 +++-- layouts/adhesion/list.html | 110 +++++++++++----------------------- layouts/adhesion/old.html | 87 +++++++++++++++++++++++++++ 5 files changed, 212 insertions(+), 82 deletions(-) create mode 100644 assets/images/icons/write.svg create mode 100644 layouts/adhesion/old.html diff --git a/assets/images/icons/write.svg b/assets/images/icons/write.svg new file mode 100644 index 0000000..7b31d32 --- /dev/null +++ b/assets/images/icons/write.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/sass/adhesion.scss b/assets/sass/adhesion.scss index d3071c8..3232f72 100644 --- a/assets/sass/adhesion.scss +++ b/assets/sass/adhesion.scss @@ -177,3 +177,41 @@ } } + +.adhesion-choice { + display: grid; + grid-template-columns: 1fr 1fr; + column-gap: .5rem; + + span { + font-size: 1.3rem; + } +} + +.adhesion-choice__item { + border: 1px solid gray; + text-align: center; +} + +.adhesion-choice__item { + &:hover, &:focus { + background: transparent !important; + box-shadow: inset 0 0 10px $accent-dark; + color: black !important; + svg { + filter: grayscale(100%); + } + } +} + +.adhesion-choice__item__icon { + margin-bottom: 1rem; + svg { + padding: .8rem; + width: 9rem; + height: 9rem; + } +} + +.adhesion-choice__item { +} diff --git a/content/adhesion/_index.md b/content/adhesion/_index.md index 0dead49..b446953 100644 --- a/content/adhesion/_index.md +++ b/content/adhesion/_index.md @@ -1,12 +1,16 @@ --- title: "Campagne d'adhésion 2023-2024" -with_header: false -with_footer: false -body_class: "adhesion-body" -with_normal_config: false -description: Découvrez la campagne d'adhésion 2023-2024 de l'association des Amis de la Chapelle de Bethléem à Aubevoye. +description: Campagne d'adhésion 2023-2024 de l'association des Amis de la Chapelle de Bethléem à Aubevoye. featured_image: src: ./images/default_logo.png --- -Découvrez la campagne d'adhésion 2023-2024 de l'association des Amis de la Chapelle de Bethléem à Aubevoye. +## Pourquoi adhérer ? + +à remplir depuis l'affiche adhérer de damien + +## Comment adhérer ? + +### Via Helloasso + +### Par bulletin papier diff --git a/layouts/adhesion/list.html b/layouts/adhesion/list.html index 503f864..69ab7bc 100644 --- a/layouts/adhesion/list.html +++ b/layouts/adhesion/list.html @@ -1,87 +1,45 @@ {{ define "main" }} -
-
-
-
- {{ partial "helpers/svg" (dict "path" "all_logos/square_notext_white_transparent" "class" "back-icon") }} - -
-
- -

Regarder le teaser

-
-
-