eh
This commit is contained in:
parent
79c70e8d3b
commit
687175e859
2 changed files with 97 additions and 85 deletions
30
config.toml
30
config.toml
|
@ -146,6 +146,36 @@ loading = "Chargement..."
|
|||
page-not-supported = "Cette page n'est pas disponible dans votre langue actuellement."
|
||||
|
||||
|
||||
[[params.social]]
|
||||
id="facebook"
|
||||
weight=1
|
||||
title="Facebook"
|
||||
url="https://facebook.com/werobot"
|
||||
|
||||
[[params.social]]
|
||||
id="instagram"
|
||||
weight=2
|
||||
title="Instagram"
|
||||
url="https://instagram.com/werobot"
|
||||
|
||||
[[params.social]]
|
||||
id="x"
|
||||
weight=3
|
||||
title="X"
|
||||
url="https://x.com/werobot"
|
||||
|
||||
#[[params.social]]
|
||||
#id="youtube"
|
||||
#weight=4
|
||||
#title="Youtube"
|
||||
#url="https://facebook.com/werobot"
|
||||
|
||||
[[params.social]]
|
||||
id="github"
|
||||
weight=5
|
||||
title="GitHub"
|
||||
url="https://github.com/werobot-france"
|
||||
|
||||
[[params.errors]]
|
||||
id="unknown"
|
||||
title="Erreur inconnue"
|
||||
|
|
|
@ -1,94 +1,76 @@
|
|||
<footer
|
||||
id="footer"
|
||||
class="footer">
|
||||
<footer
|
||||
id="footer"
|
||||
class="footer">
|
||||
<div class="footer-cover-back"></div>
|
||||
<div class="footer-cover"></div>
|
||||
<div class="footer-border">
|
||||
<span class="footer-border-item"></span>
|
||||
<span class="footer-border-item"></span>
|
||||
<span class="footer-border-item"></span>
|
||||
<span class="footer-border-item"></span>
|
||||
<span class="footer-border-item"></span>
|
||||
<span class="footer-border-item"></span>
|
||||
</div>
|
||||
<div class="footer-container container mx-auto">
|
||||
<div>
|
||||
<div class="flex flex-wrap">
|
||||
<div class="w-full md:w-1/2">
|
||||
<div class="footer-title-container">
|
||||
<a
|
||||
class="link footer-logo"
|
||||
href="/"
|
||||
>
|
||||
{{ $image := resources.Get "images/logo.png" }}
|
||||
<img
|
||||
src="{{ $image.RelPermalink }}"
|
||||
class="logo">
|
||||
</a>
|
||||
<div>
|
||||
<div class="footer-title">
|
||||
We Robot
|
||||
</div>
|
||||
<div>
|
||||
<div class="flex flex-wrap">
|
||||
<div class="w-full md:w-1/2">
|
||||
<div class="footer-title-container">
|
||||
<a
|
||||
class="link footer-logo"
|
||||
href="/"
|
||||
>
|
||||
{{ $image := resources.Get "images/logo.png" }}
|
||||
<img
|
||||
src="{{ $image.RelPermalink }}"
|
||||
class="logo">
|
||||
</a>
|
||||
<div>
|
||||
<div class="footer-title">
|
||||
We Robot
|
||||
</div>
|
||||
|
||||
<div class="footer-description">
|
||||
{{ .Site.Params.description }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full md:w-1/4">
|
||||
<div class="footer-links">
|
||||
{{ range .Site.Menus.footer_left }}
|
||||
<a
|
||||
href="{{ .URL }}"
|
||||
class="link">
|
||||
{{ .Name}}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full md:w-1/4">
|
||||
<div class="footer-links">
|
||||
{{ range .Site.Menus.footer_right }}
|
||||
<a
|
||||
href="{{ .URL }}"
|
||||
class="link">
|
||||
{{ .Name }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-description">
|
||||
{{ .Site.Params.description }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full md:w-1/4">
|
||||
<div class="footer-links">
|
||||
{{ range .Site.Menus.footer_left }}
|
||||
<a
|
||||
href="{{ .URL }}"
|
||||
class="link">
|
||||
{{ .Name}}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full md:w-1/4">
|
||||
<div class="footer-links">
|
||||
{{ range .Site.Menus.footer_right }}
|
||||
<a
|
||||
href="{{ .URL }}"
|
||||
class="link">
|
||||
{{ .Name }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex justify-between footer-footer">
|
||||
<div class="footer-socials">
|
||||
<a
|
||||
href=""
|
||||
class="footer-socials-item link">
|
||||
{{ partial "svg" "facebook" }}
|
||||
</a>
|
||||
<a
|
||||
href=""
|
||||
class="footer-socials-item link">
|
||||
{{ partial "svg" "instagram" }}
|
||||
</a>
|
||||
<a
|
||||
href=""
|
||||
class="footer-socials-item link">
|
||||
{{ partial "svg" "twitter" }}
|
||||
</a>
|
||||
<!--
|
||||
<a
|
||||
:href="$env.socials.youtube"
|
||||
class="footer-socials-item link">
|
||||
<img src="~/assets/img/youtube.svg">
|
||||
</a> -->
|
||||
<a
|
||||
href=""
|
||||
class="footer-socials-item link">
|
||||
{{ partial "svg" "github" }}
|
||||
</a>
|
||||
</div>
|
||||
{{ partial "locales-list.html" }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between footer-footer">
|
||||
<div class="footer-socials">
|
||||
{{ range .Site.Params.social }}
|
||||
<a
|
||||
href="{{ .URL }}"
|
||||
title="{{ .Title }}"
|
||||
class="footer-socials-item link">
|
||||
{{ partial "svg" .id }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partial "locales-list.html" }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue