diff --git a/assets/images/icons/document.svg b/assets/images/icons/document.svg new file mode 100644 index 0000000..370519e --- /dev/null +++ b/assets/images/icons/document.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/icons/email.svg b/assets/images/icons/email.svg new file mode 100644 index 0000000..88918ea --- /dev/null +++ b/assets/images/icons/email.svg @@ -0,0 +1,38 @@ + + + + + + diff --git a/assets/images/icons/facebook.svg b/assets/images/icons/facebook.svg index f3b6a07..bdda72a 100644 --- a/assets/images/icons/facebook.svg +++ b/assets/images/icons/facebook.svg @@ -1,3 +1,38 @@ - - + + + + + diff --git a/assets/images/icons/peertube.svg b/assets/images/icons/peertube.svg new file mode 100644 index 0000000..b4a6099 --- /dev/null +++ b/assets/images/icons/peertube.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/assets/images/icons/youtube.svg b/assets/images/icons/youtube.svg new file mode 100644 index 0000000..5f1cab9 --- /dev/null +++ b/assets/images/icons/youtube.svg @@ -0,0 +1,5 @@ + + \ No newline at end of file diff --git a/assets/images/logo_small.png b/assets/images/logo_small.png new file mode 100644 index 0000000..7b20a54 Binary files /dev/null and b/assets/images/logo_small.png differ diff --git a/assets/sass/adhesion.scss b/assets/sass/adhesion.scss new file mode 100644 index 0000000..746a52d --- /dev/null +++ b/assets/sass/adhesion.scss @@ -0,0 +1,131 @@ + +.adhesion-body { + overflow: hidden !important; +} + +.root { + min-height: 100%; +} + +.adhesion-container { + background-color: black; + height: 100%; + width: 100%; + min-height: 100%; + height: 90vh; + + .video-presentation { + height: 100%; + iframe { + width: 100%; + height: 100%; + } + } + +} + +.adhesion { + +} + +.adhesion-footer { + background-color: $background; + width: 100%; + height: 10vh; + padding: 1rem 0; + + display: flex; + justify-content: center; + align-items: center; +} + +.adhesion-btns { + display: flex; + justify-content: space-between; +} + +.btn { + background-color: white; + opacity: 0.8; + transition: 0.2s all; + + .btn__icon { + margin-right: 1rem; + width: 2rem; + height: 2rem; + } + + &:hover { + opacity: 1; + } +} + +.subscribe-button { + text-transform: uppercase; + display: flex; + justify-content: center; + align-items: center; + border-radius: 35px; + color: black; + text-decoration: none; + padding: .7rem 2rem; +} + +.socials { + + display: flex; + list-style-type: none; + padding: 0; + margin: 0; + + li { + background-color: white; + border-radius: 50%; + + width: 3rem; + height: 3rem; + margin-right: 1rem; + a { + display: block; + width: 100%; + height: 100%; + text-transform: uppercase; + + svg { + display: block; + padding: .7rem; + fill: black; + width: 100%; + height: 100%; + } + } + + } +} + +@media (max-width: $md-breakpoint) { + .adhesion-container { + height: 85vh; + } + .adhesion-footer { + height: 15vh; + } +} + +@media (max-width: $xs-breakpoint) { + .adhesion-container { + height: 80vh; + } + .adhesion-footer { + height: 20vh; + .subscribe-button { + margin-bottom: 1rem; + } + .adhesion-btns { + flex-direction: column; + } + .socials { + justify-content: center; + } + } +} diff --git a/assets/sass/footer.scss b/assets/sass/footer.scss index 306cf9e..c3137c4 100644 --- a/assets/sass/footer.scss +++ b/assets/sass/footer.scss @@ -81,14 +81,34 @@ body { .site-footer-socials__logo { width: 2rem; + height: 2rem; fill: white; } } -@media (max-width: $md-breakpoint) { +@media (max-width: $sm-breakpoint) { .site-footer__content { display: flex; - justify-content: start; + justify-content: center; flex-direction: column; + align-items: center; + } + + .site-footer__title-recall { + text-align: center; + } + + .site-footer-socials { + justify-content: center; + margin-bottom: 2.5rem; + } + + .inline-menu-list { + display: block; + text-align: center; + + li { + margin-right: 0; + } } } diff --git a/assets/sass/main.scss b/assets/sass/main.scss index c44a449..e5f1c09 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -35,6 +35,7 @@ $accent-dark: #A56F09; @import 'sections.scss'; @import 'carousel.scss'; @import 'countdown.scss'; +@import 'adhesion.scss'; // components @import 'tags.scss'; diff --git a/config.toml b/config.toml index 8666b92..25ea408 100644 --- a/config.toml +++ b/config.toml @@ -13,9 +13,15 @@ changefreq = 'weekly' [params] dateFmt = "02.01.2006 15:04" + [params.contact] + email = "contact@etoiledebethleem.fr" + website = "https://etoiledebethleem.fr" + helloasso = "https://www.helloasso.com/associations/l-etoile-de-bethleem-association-des-amis-de-la-chapelle-de-bethleem-d-aubevoye/" + helloasso_adhesion = "https://www.helloasso.com/associations/l-etoile-de-bethleem-association-des-amis-de-la-chapelle-de-bethleem-d-aubevoye/adhesions/2023-2024" + paper_adhesion = "https://static.etoiledebethleem.fr/docs/adhesion_papier_2023-2024_v2.1.pdf" [params.socials] facebook = "https://www.facebook.com/groups/bethleemaubevoye" - twitter = "https://www.helloasso.com/associations/l-etoile-de-bethleem-association-des-amis-de-la-chapelle-de-bethleem-d-aubevoye/" + youtube = "https://www.youtube.com/@letoiledebethleem9895" [params.defaultLogoImage] local = true diff --git a/content/adhesion/_index.md b/content/adhesion/_index.md new file mode 100644 index 0000000..f2182d4 --- /dev/null +++ b/content/adhesion/_index.md @@ -0,0 +1,10 @@ +--- +title: "Campagne d'adhésion l'Étoile de Bethléem - 2023-2024" +with_header: false +with_footer: false +body_class: "adhesion-body" +with_normal_config: false +description: Adhérez et soutenez nous ! +featured_image: + src: ./images/default_logo.png +--- diff --git a/content/images/3/index.md b/content/images/3/index.md index 506e30a..0a0c991 100644 --- a/content/images/3/index.md +++ b/content/images/3/index.md @@ -5,6 +5,7 @@ mime_type: image/jpeg imtags: - crypte - etoile -#inception: 2000-10-08 +inception: 2010-09-21 --- +Vue rapproché de la dalle de la crypte avec l'étoile en marbre originellement publié sur [La roche aux loups](https://larocheauxloups.wordpress.com/balades-en-france/journees-du-patrimoine-2010-a-gaillon/). Tout droits réservés. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f021839..8238987 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,8 @@ {{- block "head" . -}}{{ end }} - + + {{ if or (not (isset .Params "with_normal_config")) .Params.with_normal_config }} {{ end }} + {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index dfaaaae..af68901 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -6,29 +6,35 @@