feat(links): legal info and credits in card

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-13 13:50:19 +01:00
parent d9d7ab50c5
commit 498a4ef4ca
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
3 changed files with 14 additions and 3 deletions

View file

@ -15,8 +15,6 @@
</div>
<footer 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>
</footer>
<script type="module" src="{{getAssetPath "index.js"}}" defer></script>
</body>

View file

@ -18,9 +18,17 @@
<a href="{{ .Link }}" style="{{ .GetLinkColor }}">{{ .Content }}</a>
</div>
{{ end }}
<div class="link" style="{{ .Color.Button.GetBackground }}">
<a href="{{ .Legal.LegalInformationLink }}" target="_blank" style="{{ .Color.Button.GetTextColor }}">
Legal information
</a>
</div>
<div class="link" style="{{ .Color.Button.GetBackground }}">
<a href="/tags" style="{{ .Color.Button.GetTextColor }}">Tags</a>
</div>
<div class="link" style="{{ .Color.Button.GetBackground }}">
<a href="/credits" style="{{ .Color.Button.GetTextColor }}">Credits</a>
</div>
</div>
</main>
{{end}}