serve: add footer

This commit is contained in:
Astro 2020-10-30 17:01:03 +01:00
parent a6170fb01c
commit cd6cb485f2
2 changed files with 22 additions and 1 deletions

View File

@ -122,6 +122,14 @@ fn render_index(app_state: &AppState) -> String {
)) }
</div>)
}) }
<footer>
<p>
"Ein Projekt des "
<a href="https://www.c3d2.de/">"C3D2"</a>
" - "
<a href="https://gitea.c3d2.de/astro/ticker">"Code"</a>
</p>
</footer>
</body>
</html>
);

View File

@ -1,7 +1,7 @@
body {
font-family: sans-serif;
margin: 0 auto;
padding: 1rem 0;
padding: 1rem 0 0 0.5rem;
background-color: #373737;
color: #e7e7e7;
max-width: 40rem;
@ -78,3 +78,16 @@ h3 a {
line-height: 1.1em;
display: inline;
}
footer {
text-align: center;
}
footer p {
margin: 1rem 0 0;
}
footer a {
color: #F7F7F7;
text-decoration: none;
font-size: 85%;
font-weight: 500;
}