Update Footer layout
This commit is contained in:
parent
9103486aae
commit
ce5fc7fd98
|
|
@ -1,8 +1,13 @@
|
||||||
#footer {
|
#footer {
|
||||||
& > .container {
|
.container.bottom {
|
||||||
border-radius: $border-radius $border-radius 0 0;
|
border-radius: $border-radius $border-radius 0 0;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
margin-bottom: $gutter-width;
|
||||||
|
border-radius: $border-radius;
|
||||||
|
}
|
||||||
#footer-menu {
|
#footer-menu {
|
||||||
@include menu-list(row);
|
@include menu-list(row);
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,7 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</section>
|
</section>
|
||||||
<section id="footer">
|
<section id="footer">
|
||||||
<div class="container">
|
|
||||||
{{- partial "footer.html" . -}}
|
{{- partial "footer.html" . -}}
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<section id="lightbox-section">
|
<section id="lightbox-section">
|
||||||
|
|
|
||||||
|
|
@ -34,10 +34,10 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<section id="index-hero">
|
<section id="index-about">
|
||||||
<a class="anchor" id="{{ i18n "about-us" }}"><h1 class="padding">{{ (replace (replace (i18n "about-us") "-" " ") "ue" "ü") | title}}</h1></a>
|
<a class="anchor" id="{{ i18n "about-us" }}"><h1 class="padding">{{ (replace (replace (i18n "about-us") "-" " ") "ue" "ü") | title}}</h1></a>
|
||||||
<div class="flex row">
|
<div class="flex row">
|
||||||
{{- range (first 3 (where .Site.Pages.ByWeight ".Params.type" "hero")) -}}
|
{{- range (first 3 (where .Site.Pages.ByWeight ".Params.type" "ueber-uns")) -}}
|
||||||
<div>
|
<div>
|
||||||
{{- partial "hero.html" . -}}
|
{{- partial "hero.html" . -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,30 @@
|
||||||
<div class="flex column">
|
{{- if (ne .Kind "home") -}}
|
||||||
|
<div class="container">
|
||||||
|
<section id="index-contact">
|
||||||
|
<div>
|
||||||
|
<a class="anchor" id="{{ i18n "contact" }}"><h1 class="padding">Kontakt</h1></a>
|
||||||
|
<div class="call-to-action flex row text-center">
|
||||||
|
<div class="padding">
|
||||||
|
<a class="btn btn-primary" href="mailto:{{ .Site.Author.email }}">{{ i18n "send-mail" }}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="flex row">
|
||||||
|
{{- $site := . }}
|
||||||
|
{{- range .Site.Data.contact.contact -}}
|
||||||
|
{{- partial "address.html" (dict "address" . "ctx" $site) -}}
|
||||||
|
{{- end -}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
<div class="container bottom">
|
||||||
|
<div class="flex column">
|
||||||
<div id="footer-social" class="padding">
|
<div id="footer-social" class="padding">
|
||||||
{{- partial "social.html" . -}}
|
{{- partial "social.html" . -}}
|
||||||
</div>
|
</div>
|
||||||
<ul id="footer-menu">
|
<ul id="footer-menu">
|
||||||
{{ partial "menu.html" (dict "menu" .Site.Menus.footer "ctx" .) }}
|
{{ partial "menu.html" (dict "menu" .Site.Menus.footer "ctx" .) }}
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
{{- range $.Resources.ByType "image" -}}
|
{{- range $.Resources.ByType "image" -}}
|
||||||
{{- if .Params.featured -}}
|
{{- if .Params.featured -}}
|
||||||
{{- $orig := . -}}
|
{{- $orig := . -}}
|
||||||
{{ partial "figure.html" (dict "ctx" . "image" . "lightbox" true "class" "featured left")}}
|
{{ partial "figure.html" (dict "ctx" . "image" . "lightbox" true "class" "featured left" "showTitle" true "showDescription" true)}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ . }}
|
{{ . }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue