Skip to content

Commit 9574269

Browse files
gary149nsarrazin
andauthored
assistants: add hint (#767)
* add hint * Update src/routes/assistants/+page.svelte Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
1 parent 5e2108d commit 9574269

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

src/routes/assistants/+page.svelte

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import { page } from "$app/stores";
1010
1111
import CarbonAdd from "~icons/carbon/add";
12+
import CarbonHelpFilled from "~icons/carbon/help-filled";
1213
1314
export let data: PageData;
1415
@@ -47,11 +48,20 @@
4748
<div class="pt-42 mx-auto flex flex-col px-5 xl:w-[60rem] 2xl:w-[64rem]">
4849
<div class="flex items-center">
4950
<h1 class="text-2xl font-bold">Assistants</h1>
50-
<div class="5 ml-1.5 rounded-lg text-xxs uppercase text-gray-500 dark:text-gray-500">
51-
beta
52-
</div>
51+
{#if isHuggingChat}
52+
<div class="5 ml-1.5 rounded-lg text-xxs uppercase text-gray-500 dark:text-gray-500">
53+
beta
54+
</div>
55+
<a
56+
href="https://huggingface.co/spaces/huggingchat/chat-ui/discussions/357"
57+
class="ml-auto dark:text-gray-400 dark:hover:text-gray-300"
58+
target="_blank"
59+
>
60+
<CarbonHelpFilled />
61+
</a>
62+
{/if}
5363
</div>
54-
<h3 class="text-gray-500">Browse popular assistants made by the community</h3>
64+
<h3 class="text-gray-500">Popular assistants made by the community</h3>
5565
<div class="mt-6 flex justify-between gap-2 max-sm:flex-col sm:items-center">
5666
<select
5767
class="mt-1 h-[34px] rounded-lg border border-gray-300 bg-gray-50 px-2 text-sm text-gray-900 focus:border-blue-700 focus:ring-blue-700 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400"

0 commit comments

Comments
 (0)