mirror of
https://github.com/dialect-app/website.git
synced 2025-06-18 20:36:25 +00:00
Add footer menu
This commit is contained in:
parent
1ad0cc88b3
commit
5ba633d209
5 changed files with 33 additions and 5 deletions
|
@ -63,8 +63,6 @@
|
||||||
|
|
||||||
li {
|
li {
|
||||||
a {
|
a {
|
||||||
font-size: 1.2em;
|
|
||||||
font-weight: 700;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
.footer {
|
.footer {
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
align-items: center;
|
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 {
|
.circle img {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: white;
|
font-size: 1.2em;
|
||||||
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -20,6 +20,9 @@ disableKinds = ['taxonomy', 'term']
|
||||||
[[menus.main]]
|
[[menus.main]]
|
||||||
name = 'Github'
|
name = 'Github'
|
||||||
url = 'https://github.com/dialect-app'
|
url = 'https://github.com/dialect-app'
|
||||||
|
[[menus.footer]]
|
||||||
|
name = 'Website Stats'
|
||||||
|
url = 'https://analytics.odka.org/dialectapp.org'
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe= true
|
unsafe= true
|
||||||
|
|
|
@ -1,6 +1,18 @@
|
||||||
<footer class="section section-page footer">
|
<footer class="section section-page footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<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>
|
<p class="copy">© 2020–{{ dateFormat "2006" now }} The Dialect Authors</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<a href="https://circle.gnome.org" class="circle">
|
<a href="https://circle.gnome.org" class="circle">
|
||||||
<img src="https://circle.gnome.org/assets/button/circle-button-fullcolor.svg" alt="GNOME Circle">
|
<img src="https://circle.gnome.org/assets/button/circle-button-fullcolor.svg" alt="GNOME Circle">
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue