nsarrazin HF Staff commited on
Commit
c86de3d
·
unverified ·
1 Parent(s): a7fff37

fix(tools): fix content where it said assistant instead of tools

Browse files
src/routes/tools/+page.svelte CHANGED
@@ -97,7 +97,7 @@
97
  <meta
98
  property="og:image"
99
  content="{envPublic.PUBLIC_ORIGIN ||
100
- $page.url.origin}{base}/{envPublic.PUBLIC_APP_ASSETS}/assistants-thumbnail.png"
101
  />
102
  <meta property="og:url" content={$page.url.href} />
103
  {/if}
@@ -120,7 +120,7 @@
120
  </a>
121
  {/if}
122
  </div>
123
- <h3 class="text-gray-500">Popular assistants made by the community</h3>
124
  <div class="ml-auto mt-6 flex justify-between gap-2 max-sm:flex-col sm:items-center">
125
  <a
126
  href={`${base}/tools/new`}
@@ -135,7 +135,7 @@
135
  <div
136
  class="flex items-center gap-1.5 rounded-full border border-gray-300 bg-gray-50 px-3 py-1 dark:border-gray-600 dark:bg-gray-700 dark:text-white"
137
  >
138
- {toolsCreator}'s Assistants
139
  <a
140
  href={getHref($page.url, {
141
  existingKeys: { behaviour: "delete", keys: ["user", "modelId", "p", "q"] },
 
97
  <meta
98
  property="og:image"
99
  content="{envPublic.PUBLIC_ORIGIN ||
100
+ $page.url.origin}{base}/{envPublic.PUBLIC_APP_ASSETS}/tools-thumbnail.png"
101
  />
102
  <meta property="og:url" content={$page.url.href} />
103
  {/if}
 
120
  </a>
121
  {/if}
122
  </div>
123
+ <h3 class="text-gray-500">Popular tools made by the community</h3>
124
  <div class="ml-auto mt-6 flex justify-between gap-2 max-sm:flex-col sm:items-center">
125
  <a
126
  href={`${base}/tools/new`}
 
135
  <div
136
  class="flex items-center gap-1.5 rounded-full border border-gray-300 bg-gray-50 px-3 py-1 dark:border-gray-600 dark:bg-gray-700 dark:text-white"
137
  >
138
+ {toolsCreator}'s tools
139
  <a
140
  href={getHref($page.url, {
141
  existingKeys: { behaviour: "delete", keys: ["user", "modelId", "p", "q"] },
src/routes/tools/[toolId]/+page.svelte CHANGED
@@ -67,7 +67,7 @@
67
  {#if data.tool.type === "community"}
68
  <p class="text-sm text-gray-500">
69
  Added by
70
- <a class="underline" href="{base}/assistants?user={data.tool?.createdByName}">
71
  {data.tool?.createdByName}
72
  </a>
73
  <span class="text-gray-300">•</span>
@@ -168,7 +168,7 @@
168
  <div>
169
  <h2 class="text-lg font-semibold">Direct URL</h2>
170
 
171
- <p class="pb-2 text-sm text-gray-500">Share this link for people to use your assistant.</p>
172
 
173
  <div
174
  class="flex flex-row gap-2 rounded-lg border-2 border-gray-200 bg-gray-100 py-2 pl-3 pr-1.5"
 
67
  {#if data.tool.type === "community"}
68
  <p class="text-sm text-gray-500">
69
  Added by
70
+ <a class="underline" href="{base}/tools?user={data.tool?.createdByName}">
71
  {data.tool?.createdByName}
72
  </a>
73
  <span class="text-gray-300">•</span>
 
168
  <div>
169
  <h2 class="text-lg font-semibold">Direct URL</h2>
170
 
171
+ <p class="pb-2 text-sm text-gray-500">Share this link with people to use your tool.</p>
172
 
173
  <div
174
  class="flex flex-row gap-2 rounded-lg border-2 border-gray-200 bg-gray-100 py-2 pl-3 pr-1.5"