feat(footer): add instagram link

This commit is contained in:
Matthieu Bessat 2024-03-25 00:38:07 +01:00
parent 7b7e10408e
commit 909b57369f
4 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,5 @@
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z" fill="#0F0F0F"/>
<path d="M18 5C17.4477 5 17 5.44772 17 6C17 6.55228 17.4477 7 18 7C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Z" fill="#0F0F0F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.65396 4.27606C1 5.55953 1 7.23969 1 10.6V13.4C1 16.7603 1 18.4405 1.65396 19.7239C2.2292 20.8529 3.14708 21.7708 4.27606 22.346C5.55953 23 7.23969 23 10.6 23H13.4C16.7603 23 18.4405 23 19.7239 22.346C20.8529 21.7708 21.7708 20.8529 22.346 19.7239C23 18.4405 23 16.7603 23 13.4V10.6C23 7.23969 23 5.55953 22.346 4.27606C21.7708 3.14708 20.8529 2.2292 19.7239 1.65396C18.4405 1 16.7603 1 13.4 1H10.6C7.23969 1 5.55953 1 4.27606 1.65396C3.14708 2.2292 2.2292 3.14708 1.65396 4.27606ZM13.4 3H10.6C8.88684 3 7.72225 3.00156 6.82208 3.0751C5.94524 3.14674 5.49684 3.27659 5.18404 3.43597C4.43139 3.81947 3.81947 4.43139 3.43597 5.18404C3.27659 5.49684 3.14674 5.94524 3.0751 6.82208C3.00156 7.72225 3 8.88684 3 10.6V13.4C3 15.1132 3.00156 16.2777 3.0751 17.1779C3.14674 18.0548 3.27659 18.5032 3.43597 18.816C3.81947 19.5686 4.43139 20.1805 5.18404 20.564C5.49684 20.7234 5.94524 20.8533 6.82208 20.9249C7.72225 20.9984 8.88684 21 10.6 21H13.4C15.1132 21 16.2777 20.9984 17.1779 20.9249C18.0548 20.8533 18.5032 20.7234 18.816 20.564C19.5686 20.1805 20.1805 19.5686 20.564 18.816C20.7234 18.5032 20.8533 18.0548 20.9249 17.1779C20.9984 16.2777 21 15.1132 21 13.4V10.6C21 8.88684 20.9984 7.72225 20.9249 6.82208C20.8533 5.94524 20.7234 5.49684 20.564 5.18404C20.1805 4.43139 19.5686 3.81947 18.816 3.43597C18.5032 3.27659 18.0548 3.14674 17.1779 3.0751C16.2777 3.00156 15.1132 3 13.4 3Z" fill="#0F0F0F"/>
</svg>

After

Width:  |  Height:  |  Size: 2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 656 KiB

View file

@ -22,6 +22,7 @@ dateFmt = "02.01.2006 15:04"
paper_adhesion = "https://static.etoiledebethleem.fr/docs/adhesion_papier_2023-2024_v3.pdf" paper_adhesion = "https://static.etoiledebethleem.fr/docs/adhesion_papier_2023-2024_v3.pdf"
[params.socials] [params.socials]
facebook = "https://www.facebook.com/groups/bethleemaubevoye" facebook = "https://www.facebook.com/groups/bethleemaubevoye"
instagram = "https://www.instagram.com/etoiledebethleem/"
twitter = "https://twitter.com/etoilebethleem" twitter = "https://twitter.com/etoilebethleem"
youtube = "https://www.youtube.com/@letoiledebethleem27940" youtube = "https://www.youtube.com/@letoiledebethleem27940"
mastodon = "https://attreno.fr/@etoiledebethleem" mastodon = "https://attreno.fr/@etoiledebethleem"

View file

@ -15,6 +15,11 @@
{{ partial "helpers/svg" (dict "path" "icons/helloasso" "class" "site-footer-socials__logo") }} {{ partial "helpers/svg" (dict "path" "icons/helloasso" "class" "site-footer-socials__logo") }}
</a> </a>
</li> </li>
<li>
<a href="{{ .Site.Params.socials.instagram }}" title="Compte instagram">
{{ partial "helpers/svg" (dict "path" "icons/instagram_color" "class" "site-footer-socials__logo icon-instagram") }}
</a>
</li>
<li> <li>
<a href="{{ .Site.Params.socials.twitter }}" title="Fil Twitter/X"> <a href="{{ .Site.Params.socials.twitter }}" title="Fil Twitter/X">
{{ partial "helpers/svg" (dict "path" "icons/twitter" "class" "site-footer-socials__logo icon-twitter") }} {{ partial "helpers/svg" (dict "path" "icons/twitter" "class" "site-footer-socials__logo icon-twitter") }}