Skip to content

Commit 1f50904

Browse files
authored
beta tag (#758)
1 parent 786115c commit 1f50904

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/lib/components/NavMenu.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
>
117117
Assistants
118118
<span
119-
class="ml-auto rounded-full border border-gray-300 bg-white px-2 py-0.5 text-xs text-gray-500 dark:border-gray-500 dark:bg-transparent dark:text-gray-400"
119+
class="ml-auto rounded-full border border-gray-300 px-2 py-0.5 text-xs text-gray-500 dark:border-gray-500 dark:text-gray-400"
120120
>New</span
121121
>
122122
</a>

src/routes/assistants/+page.svelte

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@
2424

2525
<div class="scrollbar-custom mr-1 h-full overflow-y-auto py-12 md:py-24">
2626
<div class="pt-42 mx-auto flex flex-col px-5 xl:w-[60rem] 2xl:w-[64rem]">
27-
<h1 class="text-2xl font-bold">Assistants</h1>
27+
<div class="flex items-center">
28+
<h1 class="text-2xl font-bold">Assistants</h1>
29+
<div class="5 ml-1.5 rounded-lg text-xxs uppercase text-gray-500 dark:text-gray-500">
30+
beta
31+
</div>
32+
</div>
2833
<h3 class="text-gray-500">Browse popular assistants made by the community</h3>
2934
<div class="mt-6 flex justify-between gap-2 max-sm:flex-col sm:items-center">
3035
<select
@@ -42,7 +47,7 @@
4247
href={`${base}/settings/assistants/new`}
4348
class="flex items-center gap-1 whitespace-nowrap rounded-lg border bg-white py-1 pl-1.5 pr-2.5 text-center shadow-sm hover:bg-gray-50 hover:shadow-none dark:border-gray-600 dark:bg-gray-700 dark:hover:bg-gray-700"
4449
>
45-
<CarbonAdd class="text-orange-600" />Create New assistant
50+
<CarbonAdd />Create New assistant
4651
</a>
4752
</div>
4853
<div class="mt-10 grid grid-cols-2 gap-4 sm:gap-5 md:grid-cols-3 lg:grid-cols-4">
@@ -70,7 +75,7 @@
7075
{assistant.name}
7176
</h3>
7277
<p
73-
class="line-clamp-4 text-xxs text-gray-700 sm:line-clamp-2 sm:text-xs dark:text-gray-500"
78+
class="line-clamp-4 text-balance text-xxs text-gray-700 sm:line-clamp-2 sm:text-xs dark:text-gray-400"
7479
>
7580
{assistant.description}
7681
</p>

src/routes/settings/assistants/[assistantId]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151

152152
<textarea
153153
disabled
154-
class="min-h-[8lh] w-full flex-1 rounded-lg border-2 border-gray-200 bg-gray-100 p-2 text-gray-600 disabled:cursor-not-allowed 2xl:min-h-[12lh]"
154+
class="min-h-[8lh] w-full flex-1 rounded-lg border-2 border-gray-200 bg-gray-100 p-2 disabled:cursor-not-allowed 2xl:min-h-[12lh]"
155155
>{assistant?.preprompt}</textarea
156156
>
157157
</div>

0 commit comments

Comments
 (0)