chore: formatting
This commit is contained in:
parent
5a38ea284a
commit
f5784534d6
34
index.html
34
index.html
@ -1,22 +1,20 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta property="og:url" content="https://dtan.xyz" />
|
||||||
|
<meta name="og:title" content="DTAN.XYZ" />
|
||||||
|
<meta name="og:description" content="Torrents on Nostr" />
|
||||||
|
<meta name="og:type" content="website" />
|
||||||
|
<meta name="og:image" content="/banner.jpg" />
|
||||||
|
<meta name="description" content="Torrents on Nostr" />
|
||||||
|
<link rel="icon" href="/logo_32.png" />
|
||||||
|
<title>DTAN.XYZ</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
<head>
|
<body>
|
||||||
<meta charset="UTF-8" />
|
<div id="root"></div>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<script type="module" src="/src/main.tsx"></script>
|
||||||
<meta property="og:url" content="https://dtan.xyz">
|
</body>
|
||||||
<meta name="og:title" content="DTAN.XYZ" />
|
|
||||||
<meta name="og:description" content="Torrents on Nostr" />
|
|
||||||
<meta name="og:type" content="website" />
|
|
||||||
<meta name="og:image" content="/banner.jpg" />
|
|
||||||
<meta name="description" content="Torrents on Nostr">
|
|
||||||
<link rel="icon" href="/logo_32.png" />
|
|
||||||
<title>DTAN.XYZ</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="root"></div>
|
|
||||||
<script type="module" src="/src/main.tsx"></script>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
</html>
|
@ -5,7 +5,11 @@ import { TorrentList } from "./torrent-list";
|
|||||||
|
|
||||||
export function LatestTorrents({ author }: { author?: string }) {
|
export function LatestTorrents({ author }: { author?: string }) {
|
||||||
const sub = new RequestBuilder(`torrents:latest:${author}`);
|
const sub = new RequestBuilder(`torrents:latest:${author}`);
|
||||||
sub.withFilter().kinds([TorrentKind]).authors(author ? [author] : undefined).limit(100);
|
sub
|
||||||
|
.withFilter()
|
||||||
|
.kinds([TorrentKind])
|
||||||
|
.authors(author ? [author] : undefined)
|
||||||
|
.limit(100);
|
||||||
|
|
||||||
const latest = useRequestBuilder(NoteCollection, sub);
|
const latest = useRequestBuilder(NoteCollection, sub);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user