This commit is contained in:
parent
81e76ce173
commit
e3e67ebad8
@ -23,13 +23,6 @@
|
|||||||
<section class="hero is-fullheight">
|
<section class="hero is-fullheight">
|
||||||
{{- block "content" . }}{{- end }}
|
{{- block "content" . }}{{- end }}
|
||||||
{{ if not .IsHome}}
|
{{ if not .IsHome}}
|
||||||
<div class="is-flex is-flex-direction-column is-justify-content-flex-end" style="position: fixed; bottom: 1%; right: 5%; z-index: 100;">
|
|
||||||
<a href="#" aria-label="Lien vers le haut de page" class="{{$bg}}" style="position: sticky; bottom: 0; border-radius: 50%;">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fas fa-arrow-up"></i>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,7 +6,16 @@
|
|||||||
{{ $logoBottomResized := $logoBottom.Fill "52x24 webp drawing" }}
|
{{ $logoBottomResized := $logoBottom.Fill "52x24 webp drawing" }}
|
||||||
<img src="{{ $logoBottomResized.Permalink }}" alt="Logo de la Compagnie le temps qu'il faut" height="24" width="52">
|
<img src="{{ $logoBottomResized.Permalink }}" alt="Logo de la Compagnie le temps qu'il faut" height="24" width="52">
|
||||||
</a>
|
</a>
|
||||||
|
{{ $bg := cond .IsHome "has-background-black has-text-white" "has-background-warning-light has-text-black" }}
|
||||||
|
{{ if not .IsHome}}
|
||||||
|
<div class="is-flex is-flex-direction-column is-justify-content-flex-end" style="position: fixed; bottom: 2.5%; right: 12%; z-index: 100;">
|
||||||
|
<a href="#" aria-label="Lien vers le haut de page" class="{{$bg}}" style="position: sticky; bottom: 0; border-radius: 50%;">
|
||||||
|
<span class="icon">
|
||||||
|
<i class="fas fa-arrow-up"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="mynavbar">
|
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="mynavbar">
|
||||||
<span aria-hidden="true"></span>
|
<span aria-hidden="true"></span>
|
||||||
<span aria-hidden="true"></span>
|
<span aria-hidden="true"></span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user