mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-09-27 04:51:45 +00:00
- https://github.com/cupcakearmy/cryptgeon/issues/198: Replace abandoned license-checker with license-checker-evergreen - https://github.com/cupcakearmy/cryptgeon/issues/188: Fix Polish locale number formatting by using {n} instead of # in ICU plural forms - https://github.com/cupcakearmy/cryptgeon/issues/190: Add THEME_HOME_LINK env var to conditionally hide the /home link (defaults to true) - Fix Rust 2024 never-type-fallback compatibility in store.rs
48 lines
958 B
Svelte
48 lines
958 B
Svelte
<script lang="ts">
|
|
import ThemeToggle from '$lib/ui/ThemeToggle.svelte'
|
|
import { status } from '$lib/stores/status'
|
|
</script>
|
|
|
|
<footer>
|
|
<ThemeToggle />
|
|
<nav>
|
|
{#if $status?.theme_home_link !== false}
|
|
<a href="/">/home</a>
|
|
{/if}
|
|
<a href="/about">/about</a>
|
|
{#if $status?.imprint_url}
|
|
<a href={$status.imprint_url} target="_blank" rel="noopener noreferrer">/imprint</a>
|
|
{:else if $status?.imprint_html}
|
|
<a href="/imprint">/imprint</a>
|
|
{/if}
|
|
<a href="https://github.com/cupcakearmy/cryptgeon" target="_blank" rel="noopener noreferrer">
|
|
code
|
|
</a>
|
|
</nav>
|
|
</footer>
|
|
|
|
<style>
|
|
footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 1rem;
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
background-color: var(--ui-bg-0-85);
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
a {
|
|
margin: 0 0.5rem;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
</style>
|