Including Version number on about page

This commit is contained in:
Neshura 2024-01-04 00:53:28 +01:00
parent d2f44db428
commit eb44208419
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 20 additions and 1 deletions
src/routes/about

View file

@ -1,8 +1,20 @@
<script lang="ts">
import { version } from '$app/environment'
</script>
<svelte:head>
<title>About</title>
<meta name="description" content="Information about this Website" />
</svelte:head>
<p>
Version:
<a href="https://forgejo.neshweb.net/Neshweb-Sites/main-site/releases/tag/{version}" class="hover:underline">
{version}
</a>
</p>
<p class="text-background">Background</p>
<p class="text-foreground">Foreground</p>
<p class="text-muted">Muted</p>