feat(adhesion): tmp adhesion

This commit is contained in:
Matthieu Bessat 2023-07-14 11:57:56 +02:00
parent 16aa9bd4bb
commit be64ca4110
16 changed files with 348 additions and 20 deletions

View file

@ -5,7 +5,8 @@
{{- block "head" . -}}{{ end }}
</head>
<body>
<body class="{{ with .Params.body_class }}{{ . }}{{ end }}">
{{ if or (not (isset .Params "with_normal_config")) .Params.with_normal_config }}
<div class="footer-push">
{{ if or (not (isset .Params "with_header")) .Params.with_header }}
{{ partial "header" . }}
@ -15,5 +16,8 @@
{{ if or (not (isset .Params "with_footer")) .Params.with_footer }}
{{ partial "footer" . }}
{{ end }}
{{ else }}
{{ block "main" . }}{{ end }}
{{ end }}
</body>
</html>

View file

@ -0,0 +1,61 @@
{{ define "main" }}
<div class="root">
<div class="adhesion-container">
<div class="video-presentation">
<!-- <!-1- <iframe -1-> -->
<!-- <!-1- title="Campagne d'adhésion 2023-2024 - L'étoile de Bethléem" -1-> -->
<!-- <!-1- width="100%" height="950" -1-> -->
<!-- <!-1- src="https://peertube.iriseden.eu/videos/embed/575e83c9-2dd5-464c-a31e-c2aae1bfd48b?p2p=0" -1-> -->
<!-- <!-1- frameborder="0" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups"> -1-> -->
<!-- <!-1- </iframe> -1-> -->
<iframe
width="100%"
src="https://www.youtube.com/embed/vJeEqDfz_4c"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>
</div>
</div>
<div class="adhesion-footer">
<div class="page-container adhesion-btns">
<a
class="btn subscribe-button"
href="{{ .Site.Params.contact.helloasso_adhesion }}"
title="Adhérer sur Helloasso"
>
{{ partial "helpers/svg" (dict "path" "icons/helloasso" "class" "btn__icon") }}
Adhérer
</a>
<ul class="socials">
<li class="btn" title="Télécharger le bulletin d'adhésion papier">
<a href="{{ .Site.Params.contact.paper_adhesion }}">
{{ partial "helpers/svg" (dict "path" "icons/document" "class" "site-footer-socials__logo") }}
</a>
</li>
<li class="btn" title="Envoyer nous un e-mail">
<a href="mailto:{{ .Site.Params.contact.email }}">
{{ partial "helpers/svg" (dict "path" "icons/email" "class" "site-footer-socials__logo") }}
</a>
</li>
<li class="btn" title="Notre chaîne YouTube">
<a href="{{ .Site.Params.socials.youtube }}">
{{ partial "helpers/svg" (dict "path" "icons/youtube" "class" "site-footer-socials__logo") }}
</a>
</li>
<li class="btn" title="Notre groupe facebook">
<a href="{{ .Site.Params.socials.facebook }}">
{{ partial "helpers/svg" (dict "path" "icons/facebook" "class" "site-footer-socials__logo") }}
</a>
</li>
</ul>
</div>
</div>
</div>
{{ end }}

View file

@ -1,4 +1,10 @@
{{ define "main" }}
<div class="team-presentation">
<div class="team-item">
</div>
</div>
<main class="page-container">
{{ $listtitle := .Title }}
@ -23,5 +29,6 @@
</div>
{{ end }}
</main>
{{ end }}

View file

@ -6,29 +6,35 @@
<div class="site-footer__links">
<ul class="site-footer-socials">
<li>
<a href="https://example.org">
<a href="{{ .Site.Params.socials.peertube }}">
{{ partial "helpers/svg" (dict "path" "icons/peertube" "class" "site-footer-socials__logo") }}
</a>
</li>
<li>
<a href="{{ .Site.Params.socials.mastodon }}">
{{ partial "helpers/svg" (dict "path" "icons/mastodon" "class" "site-footer-socials__logo") }}
</a>
</li>
<li>
<a href="{{ .Site.Params.socials.facebook }}">
{{ partial "helpers/svg" (dict "path" "icons/facebook" "class" "site-footer-socials__logo") }}
</a>
</li>
<li>
<a>
{{ partial "helpers/svg" (dict "path" "icons/twitter" "class" "site-footer-socials__logo") }}
</a>
<a href="{{ .Site.Params.socials.youtube }}">
{{ partial "helpers/svg" (dict "path" "icons/youtube" "class" "site-footer-socials__logo") }}
</a>
</li>
<li>
<a>
{{ partial "helpers/svg" (dict "path" "icons/mastodon" "class" "site-footer-socials__logo") }}
</a>
</li>
<li>
<a>
{{ partial "helpers/svg" (dict "path" "icons/helloasso" "class" "site-footer-socials__logo") }}
</a>
<a href="{{ .Site.Params.contact.helloasso }}">
{{ partial "helpers/svg" (dict "path" "icons/helloasso" "class" "site-footer-socials__logo") }}
</a>
</li>
</ul>
<ul class="inline-menu-list">
<li><a href="/a-propos-du-site">A propos de ce site</a></li>
<li><a href="/association">Notre association</a></li>
<li><a href="/contact">Nous contacter</a></li>
<li><a href="/a-propos-du-site">A propos de ce site</a></li>
</ul>
</div>
</div>