Spaces:
Runtime error
Runtime error
feat: add link to last commit directly
Browse files
src/routes/settings/(nav)/+page.svelte
CHANGED
|
@@ -20,11 +20,16 @@
|
|
| 20 |
<div class="flex flex-col items-start justify-between text-xl font-semibold text-gray-800">
|
| 21 |
<h2>Application Settings</h2>
|
| 22 |
{#if !!envPublic.PUBLIC_COMMIT_SHA}
|
| 23 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
Latest deployment <span class="gap-2 font-mono"
|
| 25 |
>{envPublic.PUBLIC_COMMIT_SHA.slice(0, 7)}</span
|
| 26 |
>
|
| 27 |
-
</
|
| 28 |
{/if}
|
| 29 |
</div>
|
| 30 |
<div class="flex h-full max-w-2xl flex-col gap-2 max-sm:pt-0">
|
|
|
|
| 20 |
<div class="flex flex-col items-start justify-between text-xl font-semibold text-gray-800">
|
| 21 |
<h2>Application Settings</h2>
|
| 22 |
{#if !!envPublic.PUBLIC_COMMIT_SHA}
|
| 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 |
+
>
|
| 29 |
Latest deployment <span class="gap-2 font-mono"
|
| 30 |
>{envPublic.PUBLIC_COMMIT_SHA.slice(0, 7)}</span
|
| 31 |
>
|
| 32 |
+
</a>
|
| 33 |
{/if}
|
| 34 |
</div>
|
| 35 |
<div class="flex h-full max-w-2xl flex-col gap-2 max-sm:pt-0">
|