tangled
alpha
login
or
join now
vielle.dev
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atproto explorer
0
fork
atom
overview
issues
pulls
pipelines
remove custom title
handle.invalid
6 months ago
8ba9aac4
9407c193
+3
-7
2 changed files
expand all
collapse all
unified
split
index.html
src
layout.tsx
+1
index.html
···
9
9
<meta property="og:url" content="https://pdsls.dev" />
10
10
<meta property="og:description" content="Browse and manage atproto repositories" />
11
11
<meta property="description" content="Browse and manage atproto repositories" />
12
12
+
<title>PDSls</title>
12
13
<script>
13
14
if (
14
15
localStorage.theme === "dark" ||
+2
-7
src/layout.tsx
···
7
7
import { Search } from "./components/search.jsx";
8
8
import { AccountManager } from "./components/account.jsx";
9
9
import { resolveHandle } from "./utils/api.js";
10
10
-
import { Meta, MetaProvider, Title } from "@solidjs/meta";
10
10
+
import { Meta, MetaProvider } from "@solidjs/meta";
11
11
import { Settings } from "./components/settings.jsx";
12
12
import { Handle } from "@atcute/lexicons";
13
13
import { copyNotice } from "./utils/copy.js";
14
14
15
15
-
const customTitle: Record<string, string> = {
16
16
-
"did:plc:hx53snho72xoj7zqt5uice4u": "wrenls",
17
17
-
};
18
18
-
19
15
const Layout = (props: RouteSectionProps<unknown>) => {
20
16
const params = useParams();
21
17
const location = useLocation();
···
34
30
<Show when={location.pathname !== "/"}>
35
31
<Meta name="robots" content="noindex, nofollow" />
36
32
</Show>
37
37
-
<Title>{customTitle[params.repo] ?? "PDSls"}</Title>
38
33
</MetaProvider>
39
34
<div class="mb-2 flex w-[22rem] items-center sm:w-[24rem]">
40
35
<div class="flex basis-1/3 gap-x-2">
···
47
42
</div>
48
43
<div class="flex basis-1/3 items-center justify-center text-center">
49
44
<A href="/" class="font-mono font-bold hover:underline">
50
50
-
{customTitle[params.repo] ?? "PDSls"}
45
45
+
PDSls
51
46
</A>
52
47
</div>
53
48
<div class="justify-right flex basis-1/3 items-center gap-x-2">