tangled
alpha
login
or
join now
citizen428.net
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atproto explorer
0
fork
atom
overview
issues
pulls
pipelines
make supported urls examples into links
juli.ee
5 months ago
1fd48998
e526bde9
verified
This commit was signed with the committer's
known signature
.
juli.ee
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+11
-1
1 changed file
expand all
collapse all
unified
split
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
178
-
<For each={urls[appView]}>{(url) => <span>{url}</span>}</For>
178
178
+
<For each={urls[appView]}>
179
179
+
{(url) => (
180
180
+
<a
181
181
+
href={`${url.startsWith("localhost:") ? "http://" : "https://"}${url}`}
182
182
+
target="_blank"
183
183
+
class="hover:underline active:underline"
184
184
+
>
185
185
+
{url}
186
186
+
</a>
187
187
+
)}
188
188
+
</For>
179
189
</div>
180
190
</div>
181
191
);