mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
32 lines
844 B
Svelte
32 lines
844 B
Svelte
<script lang="ts">
|
|
import { resolve } from '$app/paths';
|
|
</script>
|
|
|
|
<div
|
|
class="mb-5 max-h-10 w-full border-t border-neutral-800 pt-5 text-center text-sm text-neutral-500"
|
|
>
|
|
<a
|
|
href="https://github.com/whoswhip/Sharpbin"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
class="text-neutral-400 underline hover:text-neutral-200"
|
|
>
|
|
Source Code
|
|
</a>
|
|
<span class="mx-1">•</span>
|
|
<a href={resolve('/stats')} class="text-neutral-400 underline hover:text-neutral-200"
|
|
>Statistics</a
|
|
>
|
|
<span class="mx-1">•</span>
|
|
v{__APP_VERSION__}
|
|
<a
|
|
href="https://github.com/whoswhip/Sharpbin/commit/{COMMIT_HASH}"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
class="text-neutral-400 underline hover:text-neutral-200"
|
|
>{(COMMIT_HASH?.length ?? 0) >= 7 && COMMIT_HASH !== 'unknown'
|
|
? `(${COMMIT_HASH.slice(0, 7)})`
|
|
: ''}</a
|
|
>
|
|
</div>
|