114 lines
3.2 KiB
HTML
114 lines
3.2 KiB
HTML
<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>
|
|
</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 class="footer-description">
|
|
{{ .Site.Params.footer_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>
|
|
<div
|
|
id="h"
|
|
class="footer-locale">
|
|
{{ $sitelanguages := .Site.Languages }}
|
|
{{ $nextlang := (collections.Last (collections.Where $sitelanguages "Lang" .Language.Params.nextlang )) }}
|
|
{{ $nextlang_url := (printf "/%s/%s" $nextlang.Lang .Page.RelPermalink ) }}
|
|
<a
|
|
class="button button-primary"
|
|
href="{{ $nextlang_url }}"
|
|
>
|
|
<div class="button-icon">
|
|
<i class="fa fas fa-flag"></i>
|
|
</div>
|
|
<div
|
|
class="link button-text">
|
|
<span>
|
|
{{ $nextlang.Name }}
|
|
</span>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|