feat: Add version to footer
This commit is contained in:
1 parent
eccbcb02e4
commit
8eb1e46d30
6 files changed
+23
-14
No files matched your search
Vendored
+9
-7
@@ -1,12 +1,14 @@
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
// interface PageData {}
|
||||
// interface Platform {}
|
||||
}
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
// interface PageData {}
|
||||
// interface Platform {}
|
||||
}
|
||||
declare const __VERSION__: string
|
||||
}
|
||||
|
||||
export {};
|
||||
export {}
|
||||
declare const __VERSION__: string
|
||||
@@ -51,5 +51,6 @@
|
||||
<FormattedNumber number={site.counts.communities} />
|
||||
</span>
|
||||
</div>
|
||||
<Markdown source={site.site.description} />
|
||||
<p class="text-sm">{site.site.description}</p>
|
||||
<Markdown source={site.site.sidebar} />
|
||||
</StickyCard>
|
||||
@@ -16,7 +16,6 @@
|
||||
ArrowLeftOnRectangle,
|
||||
ArrowRightOnRectangle,
|
||||
Beaker,
|
||||
Cog6Tooth,
|
||||
GlobeAlt,
|
||||
Icon,
|
||||
Inbox,
|
||||
@@ -28,10 +27,10 @@
|
||||
|
||||
<nav
|
||||
class="sticky top-0 bg-slate-50/80 dark:bg-zinc-950/80 backdrop-blur-3xl flex
|
||||
flex-row gap-4 items-center w-full py-1 z-20 px-4"
|
||||
flex-row gap-4 items-center w-full py-1 z-50 px-4"
|
||||
>
|
||||
<div
|
||||
class="flex flex-row gap-4 items-center max-w-5xl w-full mx-auto px-4 my-1"
|
||||
class="flex flex-row gap-4 items-center max-w-5xl w-full mx-auto px-4 my-1 z-50"
|
||||
>
|
||||
<div class="flex flex-row gap-2 items-center mr-auto">
|
||||
<a href="/" class="flex flex-row items-center gap-2">
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
if ($navigating) {
|
||||
nProgress.start()
|
||||
if (typeof document != 'undefined') {
|
||||
document.body.classList.toggle('wait', true)
|
||||
document.documentElement.classList.toggle('wait', true)
|
||||
}
|
||||
}
|
||||
if (!$navigating) {
|
||||
nProgress.done()
|
||||
if (typeof document != 'undefined') {
|
||||
document.body.classList.toggle('wait', false)
|
||||
document.documentElement.classList.toggle('wait', false)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -33,3 +33,6 @@
|
||||
<div class="mx-auto max-w-5xl p-4 h-full">
|
||||
<slot />
|
||||
</div>
|
||||
<footer>
|
||||
<p>{__VERSION__}</p>
|
||||
</footer>
|
||||
Reference in new issue
Block a user