From dc82b8b4c0438af4aa75e97ea1ef3749a6d84b93 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 10 Mar 2024 23:27:47 +0100 Subject: [PATCH] fix(association): sections menu --- assets/sass/article.scss | 7 ++- assets/sass/general.scss | 28 ++++++++++- content/association/_index.md | 18 ------- content/association/activites.md | 33 +++++++++++- content/association/assemblee-constitutive.md | 2 +- content/association/bureau.md | 9 +++- content/association/comissions.md | 5 -- content/association/commissions.md | 5 ++ content/association/statuts.md | 3 +- layouts/association/list.html | 19 ++++--- layouts/association/single.html | 50 +++++++++++++++++++ 11 files changed, 141 insertions(+), 38 deletions(-) delete mode 100644 content/association/comissions.md create mode 100644 content/association/commissions.md create mode 100644 layouts/association/single.html diff --git a/assets/sass/article.scss b/assets/sass/article.scss index 2f8eb86..2a8aeda 100644 --- a/assets/sass/article.scss +++ b/assets/sass/article.scss @@ -7,13 +7,16 @@ max-width: 100%; img { - object-fit: contain; + object-fit: fit; aspect-ratio: 1; - max-height: 60vh; + max-height: 50vh; max-width: 100%; } } +.article { +} + // card in list .article-card { display: flex; diff --git a/assets/sass/general.scss b/assets/sass/general.scss index 6a09876..0068c3c 100644 --- a/assets/sass/general.scss +++ b/assets/sass/general.scss @@ -216,7 +216,7 @@ figure { position: sticky; top: 7rem; background: white; - border: 1px solid black; + border: 1px solid $background-secondary; ul { display: flex; @@ -228,9 +228,33 @@ figure { height: 100%; li { width: 100%; + height: 100%; margin: 0; - padding: .5rem 1rem; + padding: 0; border: 1px solid $background-secondary; + display: flex; + align-items: center; + + a { + color: black; + text-decoration: none; + width: 100%; + height: 100%; + padding: .5rem 1rem; + + transition: 0.2s all; + } + a:hover { + background-color: rgba(0, 0, 0, 0.2); + } + } + } +} + +@media (max-width: $md-breakpoint) { + .sticky-nav { + ul { + flex-direction: column; } } } diff --git a/content/association/_index.md b/content/association/_index.md index 5e6b8b6..a749d1a 100644 --- a/content/association/_index.md +++ b/content/association/_index.md @@ -6,22 +6,4 @@ Formé en septembre 2022, suite aux efforts des propriétaires et des passionée L'association "L'Étoile de Bethléem - Association des amis de la chapelle de bethléem d'Aubevoye" est immatriculé au près de la préfecture de l'Eure sous le numéro RNA [W271006556](https://www.journal-officiel.gouv.fr/pages/associations-detail-annonce/?q.id=id:202300140629). -## Le Bureau - -Il est formé de 6 membres : - -- Damien Deplanque, Président -- Jean-Pierre Blondel, Vice-Président -- Bruno Edouard-Hagron, Secrétaire -- Matthieu Bessat, Trésorier -- Clara Blondel, Secrétaire-Adjointe -- Catherine Blondel, Trésorière Adjointe - -## Le conseil d'administration - -Il se réunit régulièrement pour diriger l'association et décider de son activité autour de la chapelle conformément aux statuts de l'association. - -Il est formé des membres du bureau et d'autres personnes volontaires. - -2/3 des membres sont nommés par la famille des propriétaires du domaine. diff --git a/content/association/activites.md b/content/association/activites.md index 85f07fc..ba7a1bf 100644 --- a/content/association/activites.md +++ b/content/association/activites.md @@ -1,5 +1,36 @@ --- title: Les activités de l'association -date: 2024-03-10 +short_title: Les activités --- +## Recherche de fonds privés + +Financer la restauration grâce à du mécénat. + +## Recherche de fonds publics + +Rechercher des subventions. + +## Partenariats de restauration + +Préparer la restauration avec des artistes. + +## Recherche des entreprises, de l'architecte + +En la qualité de maitre d'ouvrage + +## Partenariats producteurs locaux + +Nouer des liens nombreux avec des acteurs locaux producteurs. + +## Communication + +Se faire connaitre du public aussi bien au niveau local qu'au niveau régional ou national. + +## Recherche historique + +En connaitre d'avantage sur l'histoire de la chapelle. + +## Organisation évènementiel + +Ouvrir au public la chapelle, animer des manifestations et donner un nouvelle vie à la chapelle et sa crypte. diff --git a/content/association/assemblee-constitutive.md b/content/association/assemblee-constitutive.md index 37e5836..35ec868 100644 --- a/content/association/assemblee-constitutive.md +++ b/content/association/assemblee-constitutive.md @@ -1,6 +1,6 @@ --- title: L'assemblée générale constitutive -date: 2022-09-24 +short_title: L'AG constitutive --- L'Assemblée générale constitutive de l’Etoile de Bethléem – Association des amis de la Chapelle de Bethléem d’Aubevoye diff --git a/content/association/bureau.md b/content/association/bureau.md index a3cf9e4..6f717c1 100644 --- a/content/association/bureau.md +++ b/content/association/bureau.md @@ -1,5 +1,12 @@ --- title: Le bureau -date: 2024-03-10 --- +Il est formé de 6 membres : + +- Damien Deplanque, Président +- Jean-Pierre Blondel, Vice-Président +- Bruno Edouard-Hagron, Secrétaire +- Matthieu Bessat, Trésorier +- Clara Blondel, Secrétaire-Adjointe +- Catherine Blondel, Trésorière Adjointe diff --git a/content/association/comissions.md b/content/association/comissions.md deleted file mode 100644 index f9587db..0000000 --- a/content/association/comissions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Les comissions -date: 2024-03-10 ---- - diff --git a/content/association/commissions.md b/content/association/commissions.md new file mode 100644 index 0000000..5b1aa09 --- /dev/null +++ b/content/association/commissions.md @@ -0,0 +1,5 @@ +--- +title: Les commissions +--- + +(à venir) diff --git a/content/association/statuts.md b/content/association/statuts.md index c2f5099..178187a 100644 --- a/content/association/statuts.md +++ b/content/association/statuts.md @@ -1,5 +1,6 @@ --- -title: "Les statuts de l'association" +title: Les statuts de l'association +short_title: Les statuts --- Statuts approuvés lors de l’Assemblée générale constitutive du 24 septembre 2022. diff --git a/layouts/association/list.html b/layouts/association/list.html index dfc8c6c..dab5a41 100644 --- a/layouts/association/list.html +++ b/layouts/association/list.html @@ -5,15 +5,20 @@ {{ with .Title }}

{{ . }}

{{ end }} + {{ if .Content }}
{{ with .Content }}
{{ . }}
{{ end }} diff --git a/layouts/association/single.html b/layouts/association/single.html new file mode 100644 index 0000000..80999cd --- /dev/null +++ b/layouts/association/single.html @@ -0,0 +1,50 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+ + + + {{ if .Date }} + + {{ end }} + + + {{ if .Params.featured_image }} + {{ $featuredImage := .Resources.GetMatch (.Params.featured_image.src | safeURL) }} + {{ if $featuredImage }} + {{ $featuredImage = $featuredImage.Resize "600x" }} +
+ + {{ with .Params.featured_image.caption }} +
{{ . }}
+ {{ end }} +
+ {{ end }} + {{ end }} + + {{ range .Params.tags }} + {{ . }} + {{ end }} +
+ {{ .Content }} +
+
+
+{{ end }}