Skip to content

Commit 18e264a

Browse files
committed
feat: add link to last commit directly
1 parent 8bae553 commit 18e264a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/routes/settings/(nav)/+page.svelte

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,16 @@
2020
<div class="flex flex-col items-start justify-between text-xl font-semibold text-gray-800">
2121
<h2>Application Settings</h2>
2222
{#if !!envPublic.PUBLIC_COMMIT_SHA}
23-
<span class="text-sm font-light text-gray-500">
23+
<a
24+
href={`https://github.com/huggingface/chat-ui/commit/${envPublic.PUBLIC_COMMIT_SHA}`}
25+
target="_blank"
26+
rel="noreferrer"
27+
class="text-sm font-light text-gray-500"
28+
>
2429
Latest deployment <span class="gap-2 font-mono"
2530
>{envPublic.PUBLIC_COMMIT_SHA.slice(0, 7)}</span
2631
>
27-
</span>
32+
</a>
2833
{/if}
2934
</div>
3035
<div class="flex h-full max-w-2xl flex-col gap-2 max-sm:pt-0">

0 commit comments

Comments
 (0)