feat(legal): credits page

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-10 00:58:29 +01:00
parent 6a177e4663
commit 7d6f278ebf
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
4 changed files with 53 additions and 3 deletions

View file

@ -14,6 +14,7 @@
<div class="credits">
<p>Crafted by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a></p>
<p><a href="{{ .Data.Legal.LegalInformationLink }}">Legal information</a></p>
<p><a href="/credits">Credits</a></p>
</div>
<script type="module" src="{{getAssetPath "index.js"}}" defer></script>
</body>

View file

@ -0,0 +1,14 @@
{{define "body"}}
<div class="credits-legal">
<h2>Credits</h2>
<p>
The software behind this website was made by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a>.
It is available on <a href="https://github.com/anhgelus/now">GitHub</a> for free and licensed under the
<a href="https://github.com/anhgelus/now/blob/main/LICENSE" target="_blank">AGPL</a> license.
</p>
<h3>Image credits</h3>
{{ range $s := .Legal.ImagesSource }}
<p>{{ . }}</p>
{{ end }}
</div>
{{end}}