victor HF staff commited on
Commit
1f50904
1 Parent(s): 786115c

beta tag (#758)

Browse files
src/lib/components/NavMenu.svelte CHANGED
@@ -116,7 +116,7 @@
116
  >
117
  Assistants
118
  <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"
120
  >New</span
121
  >
122
  </a>
 
116
  >
117
  Assistants
118
  <span
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"
120
  >New</span
121
  >
122
  </a>
src/routes/assistants/+page.svelte CHANGED
@@ -24,7 +24,12 @@
24
 
25
  <div class="scrollbar-custom mr-1 h-full overflow-y-auto py-12 md:py-24">
26
  <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>
 
 
 
 
 
28
  <h3 class="text-gray-500">Browse popular assistants made by the community</h3>
29
  <div class="mt-6 flex justify-between gap-2 max-sm:flex-col sm:items-center">
30
  <select
@@ -42,7 +47,7 @@
42
  href={`${base}/settings/assistants/new`}
43
  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"
44
  >
45
- <CarbonAdd class="text-orange-600" />Create New assistant
46
  </a>
47
  </div>
48
  <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 @@
70
  {assistant.name}
71
  </h3>
72
  <p
73
- class="line-clamp-4 text-xxs text-gray-700 sm:line-clamp-2 sm:text-xs dark:text-gray-500"
74
  >
75
  {assistant.description}
76
  </p>
 
24
 
25
  <div class="scrollbar-custom mr-1 h-full overflow-y-auto py-12 md:py-24">
26
  <div class="pt-42 mx-auto flex flex-col px-5 xl:w-[60rem] 2xl:w-[64rem]">
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>
33
  <h3 class="text-gray-500">Browse popular assistants made by the community</h3>
34
  <div class="mt-6 flex justify-between gap-2 max-sm:flex-col sm:items-center">
35
  <select
 
47
  href={`${base}/settings/assistants/new`}
48
  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"
49
  >
50
+ <CarbonAdd />Create New assistant
51
  </a>
52
  </div>
53
  <div class="mt-10 grid grid-cols-2 gap-4 sm:gap-5 md:grid-cols-3 lg:grid-cols-4">
 
75
  {assistant.name}
76
  </h3>
77
  <p
78
+ class="line-clamp-4 text-balance text-xxs text-gray-700 sm:line-clamp-2 sm:text-xs dark:text-gray-400"
79
  >
80
  {assistant.description}
81
  </p>
src/routes/settings/assistants/[assistantId]/+page.svelte CHANGED
@@ -151,7 +151,7 @@
151
 
152
  <textarea
153
  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]"
155
  >{assistant?.preprompt}</textarea
156
  >
157
  </div>
 
151
 
152
  <textarea
153
  disabled
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]"
155
  >{assistant?.preprompt}</textarea
156
  >
157
  </div>