Add credits + hosting relay in the footer
This commit is contained in:
parent
9872f33185
commit
1b31695d27
1 changed files with 26 additions and 2 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
SECONDARY_COLOR,
|
SECONDARY_COLOR,
|
||||||
SEARCH_ENABLED,
|
SEARCH_ENABLED,
|
||||||
FAVICON,
|
FAVICON,
|
||||||
|
RELAY_URL,
|
||||||
} from "$lib/config";
|
} from "$lib/config";
|
||||||
|
|
||||||
let { children } = $props();
|
let { children } = $props();
|
||||||
|
|
@ -210,10 +211,33 @@
|
||||||
it first and it reappears once the top is reached. Desktop only. -->
|
it first and it reappears once the top is reached. Desktop only. -->
|
||||||
<div class="hidden md:block md:h-6" aria-hidden="true"></div>
|
<div class="hidden md:block md:h-6" aria-hidden="true"></div>
|
||||||
<div
|
<div
|
||||||
class="min-h-[calc(100dvh_-_4rem)] bg-white px-6 pt-4 pb-20 shadow-lg md:min-h-full md:rounded-t-xl md:px-10 md:pt-6 md:pt-8 dark:bg-neutral-900"
|
class="flex min-h-[calc(100dvh_-_4rem)] flex-col bg-white px-6 pt-4 pb-20 shadow-lg md:min-h-[calc(100%_-_1.5rem)] md:rounded-t-xl md:px-10 md:pt-6 md:pt-8 md:pb-6 dark:bg-neutral-900"
|
||||||
>
|
>
|
||||||
|
<div class="flex-1">
|
||||||
{@render children()}
|
{@render children()}
|
||||||
</div>
|
</div>
|
||||||
|
<footer
|
||||||
|
class="mt-auto pt-16 pb-4 text-center text-[90%] text-neutral-500/70 dark:text-neutral-400/70"
|
||||||
|
>
|
||||||
|
This forum is built on
|
||||||
|
<a
|
||||||
|
href="https://njump.me"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="underline hover:text-neutral-700 dark:hover:text-neutral-200"
|
||||||
|
>Nostr</a
|
||||||
|
>
|
||||||
|
with
|
||||||
|
<a
|
||||||
|
href="https://github.com/dtonon/squalk"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
class="underline hover:text-neutral-700 dark:hover:text-neutral-200"
|
||||||
|
>Squalk</a
|
||||||
|
>
|
||||||
|
- Hosting relay is {RELAY_URL.replace(/^wss?:\/\//, "")}
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{#if showChat}
|
{#if showChat}
|
||||||
<div class="hidden w-80 shrink-0 md:block" aria-hidden="true"></div>
|
<div class="hidden w-80 shrink-0 md:block" aria-hidden="true"></div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue