tangled
alpha
login
or
join now
pds.ls
/
pdsls
398
fork
atom
atmosphere explorer
pds.ls
tool
typescript
atproto
398
fork
atom
overview
issues
1
pulls
pipelines
add red dwarf shortcut
handle.invalid
2 days ago
1d13b663
38f70ce4
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+12
-4
1 changed file
expand all
collapse all
unified
split
src
views
record.tsx
+12
-4
src/views/record.tsx
···
51
transform: (url: string) => url.replace("https://bsky.app", "https://witchsky.app"),
52
},
53
{
0
0
0
0
0
54
label: "Anartia",
55
hostname: "kelinci.net",
56
icon: "https://kelinci.net/rabbit.svg",
···
483
classList={{
484
"rounded-sm hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600":
485
!bskyAlts().length,
486
-
"bg-neutral-50 rounded-t dark:bg-dark-200 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600":
487
showAlternates() && bskyAlts().length > 0,
488
}}
489
>
···
492
wrapper={faviconWrapper}
493
/>
494
</a>
495
-
<Show when={showAlternates() && bskyAlts().length > 0}>
496
-
<div class="dark:bg-dark-200 absolute top-full left-0 z-10 flex flex-col overflow-hidden rounded-b bg-neutral-50 shadow-xs">
0
0
0
497
<For each={bskyAlts()}>
498
{(alt) => (
499
<a
500
href={alt.link}
501
target="_blank"
502
title={`Open on ${alt.label}`}
503
-
class="flex p-1.5 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
504
>
505
{alt.icon ?
506
<img src={alt.icon} class="size-4" />
···
51
transform: (url: string) => url.replace("https://bsky.app", "https://witchsky.app"),
52
},
53
{
54
+
label: "Red Dwarf",
55
+
hostname: "reddwarf.app",
56
+
transform: (url: string) => url.replace("https://bsky.app", "https://reddwarf.app"),
57
+
},
58
+
{
59
label: "Anartia",
60
hostname: "kelinci.net",
61
icon: "https://kelinci.net/rabbit.svg",
···
488
classList={{
489
"rounded-sm hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600":
490
!bskyAlts().length,
491
+
"bg-neutral-50 rounded-t dark:bg-dark-200 hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600":
492
showAlternates() && bskyAlts().length > 0,
493
}}
494
>
···
497
wrapper={faviconWrapper}
498
/>
499
</a>
500
+
<Show when={bskyAlts().length > 0}>
501
+
<div
502
+
class="dark:bg-dark-200 absolute top-full left-0 z-10 flex flex-col overflow-hidden rounded-b bg-neutral-50 shadow-xs"
503
+
classList={{ invisible: !showAlternates() }}
504
+
>
505
<For each={bskyAlts()}>
506
{(alt) => (
507
<a
508
href={alt.link}
509
target="_blank"
510
title={`Open on ${alt.label}`}
511
+
class="flex p-1.5 hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
512
>
513
{alt.icon ?
514
<img src={alt.icon} class="size-4" />