tangled
alpha
login
or
join now
psingletary.com
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atmosphere explorer
0
fork
atom
overview
issues
pulls
pipelines
change order of homepage items
handle.invalid
3 weeks ago
e268d932
ccdc9e65
verified
This commit was signed with the committer's
known signature
.
handle.invalid
SSH Key Fingerprint:
SHA256:mBrT4x0JdzLpbVR95g1hjI1aaErfC02kmLRkPXwsYCk=
+11
-11
1 changed file
expand all
collapse all
unified
split
src
views
home.tsx
+11
-11
src/views/home.tsx
···
6
import { JSONValue } from "../components/json";
7
import { SearchButton } from "../components/search";
8
9
-
const SLIDES = ["Record", "Repository", "PDS"] as const;
10
11
const slideLinks = [
12
-
"/at://did:plc:ia76kvnndjutgedggx2ibrem/app.bsky.feed.post/3kenlltlvus2u",
13
"/at://did:plc:vwzwgnygau7ed7b7wt5ux7y2",
0
14
"/npmx.social",
15
] as const;
16
···
49
href={slideLinks[slide()]}
50
class="relative block h-42 overflow-hidden rounded-lg border border-neutral-200 bg-neutral-50 transition-colors hover:border-neutral-300 dark:border-neutral-700 dark:bg-neutral-800 dark:hover:border-neutral-600"
51
>
52
-
{/* Record slide */}
53
-
<div
54
-
class="pointer-events-none absolute inset-0 overflow-hidden px-3 py-2 font-mono text-xs wrap-anywhere whitespace-pre-wrap transition-opacity duration-700 sm:text-sm"
55
-
classList={{ "opacity-0": slide() !== 0 }}
56
-
>
57
-
<JSONValue data={exampleRecord as any} repo="did:plc:ia76kvnndjutgedggx2ibrem" />
58
-
</div>
59
-
60
{/* Collections slide */}
61
<div
62
class="pointer-events-none absolute inset-0 flex flex-col gap-1 overflow-hidden px-3 py-2 text-sm wrap-anywhere transition-opacity duration-700"
63
-
classList={{ "opacity-0": slide() !== 1 }}
64
>
65
<For each={exampleCollections}>
66
{({ authority, nsids }) => (
···
79
</div>
80
)}
81
</For>
0
0
0
0
0
0
0
0
82
</div>
83
84
{/* Repos slide */}
···
6
import { JSONValue } from "../components/json";
7
import { SearchButton } from "../components/search";
8
9
+
const SLIDES = ["Repository", "Record", "PDS"] as const;
10
11
const slideLinks = [
0
12
"/at://did:plc:vwzwgnygau7ed7b7wt5ux7y2",
13
+
"/at://did:plc:ia76kvnndjutgedggx2ibrem/app.bsky.feed.post/3kenlltlvus2u",
14
"/npmx.social",
15
] as const;
16
···
49
href={slideLinks[slide()]}
50
class="relative block h-42 overflow-hidden rounded-lg border border-neutral-200 bg-neutral-50 transition-colors hover:border-neutral-300 dark:border-neutral-700 dark:bg-neutral-800 dark:hover:border-neutral-600"
51
>
0
0
0
0
0
0
0
0
52
{/* Collections slide */}
53
<div
54
class="pointer-events-none absolute inset-0 flex flex-col gap-1 overflow-hidden px-3 py-2 text-sm wrap-anywhere transition-opacity duration-700"
55
+
classList={{ "opacity-0": slide() !== 0 }}
56
>
57
<For each={exampleCollections}>
58
{({ authority, nsids }) => (
···
71
</div>
72
)}
73
</For>
74
+
</div>
75
+
76
+
{/* Record slide */}
77
+
<div
78
+
class="pointer-events-none absolute inset-0 overflow-hidden px-3 py-2 font-mono text-xs wrap-anywhere whitespace-pre-wrap transition-opacity duration-700 sm:text-sm"
79
+
classList={{ "opacity-0": slide() !== 1 }}
80
+
>
81
+
<JSONValue data={exampleRecord as any} repo="did:plc:ia76kvnndjutgedggx2ibrem" />
82
</div>
83
84
{/* Repos slide */}