Add footer menu

This commit is contained in:
Rafael Mardojai CM 2023-12-17 11:12:09 -05:00
parent 1ad0cc88b3
commit 5ba633d209
No known key found for this signature in database
GPG key ID: 2B2DAB2A58566C84
5 changed files with 33 additions and 5 deletions

View file

@ -63,8 +63,6 @@
li {
a {
font-size: 1.2em;
font-weight: 700;
text-decoration: none;
&:hover {

View file

@ -1,5 +1,4 @@
.footer {
text-align: center;
.container {
align-items: center;
@ -11,6 +10,21 @@
}
}
.menu {
margin-bottom: 1em;
@media (max-width: 768px) {
ul {
align-items: center;
flex-direction: column;
}
}
a:hover {
text-decoration: underline;
}
}
.circle img {
width: 200px;
}

View file

@ -48,7 +48,8 @@
}
a {
color: white;
font-size: 1.2em;
font-weight: 700;
}
}
}

View file

@ -20,6 +20,9 @@ disableKinds = ['taxonomy', 'term']
[[menus.main]]
name = 'Github'
url = 'https://github.com/dialect-app'
[[menus.footer]]
name = 'Website Stats'
url = 'https://analytics.odka.org/dialectapp.org'
[markup.goldmark.renderer]
unsafe= true

View file

@ -1,6 +1,18 @@
<footer class="section section-page footer">
<div class="container">
<p class="copy">© 2020{{ dateFormat "2006" now }} The Dialect Authors</p>
<div>
<nav class="menu">
<ul>
{{- range site.Menus.footer }}
<li>
<a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{- end }}
</ul>
</nav>
<p class="copy">© 2020{{ dateFormat "2006" now }} The Dialect Authors</p>
</div>
<a href="https://circle.gnome.org" class="circle">
<img src="https://circle.gnome.org/assets/button/circle-button-fullcolor.svg" alt="GNOME Circle">
</a>