Skip to content

Commit

Permalink
Add source code link to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
otomir23 committed Jul 17, 2024
1 parent f3af077 commit 2553193
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions internal/public/templates/sites.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,12 @@ <h1>
{{end}}
</ul>
</main>
<footer>
<a href="https://github.com/Alexander-D-Karpov/webring">
<i class="ri-github-fill"></i>
Source Code
<i class="ri-arrow-right-up-line"></i>
</a>
</footer>
</body>
</html>
7 changes: 6 additions & 1 deletion static/public.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ body {
padding: 1rem;
}

header, main {
header, main, footer {
padding: 1rem 1.5rem;
width: 100%;
max-width: 48rem;
Expand All @@ -18,6 +18,11 @@ header {
border-radius: 6px;
}

footer {
color: var(--color-gray-400);
padding-top: 0;
}

.join-link {
color: var(--color-gray-400);
}
Expand Down

0 comments on commit 2553193

Please sign in to comment.