+11
-1
src/components/search.tsx
+11
-1
src/components/search.tsx
···
175
175
<div>
176
176
<p class="font-semibold">{name}</p>
177
177
<div class="grid grid-cols-2 gap-x-4 text-neutral-600 dark:text-neutral-400">
178
-
<For each={urls[appView]}>{(url) => <span>{url}</span>}</For>
178
+
<For each={urls[appView]}>
179
+
{(url) => (
180
+
<a
181
+
href={`${url.startsWith("localhost:") ? "http://" : "https://"}${url}`}
182
+
target="_blank"
183
+
class="hover:underline active:underline"
184
+
>
185
+
{url}
186
+
</a>
187
+
)}
188
+
</For>
179
189
</div>
180
190
</div>
181
191
);