mirror of
https://git.v0l.io/Kieran/dtan.git
synced 2025-01-18 04:41:32 +00:00
chore: formatting
This commit is contained in:
parent
5a38ea284a
commit
f5784534d6
36
index.html
36
index.html
@ -1,22 +1,20 @@
|
||||
<!doctype html>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -5,7 +5,11 @@ import { TorrentList } from "./torrent-list";
|
||||
|
||||
export function LatestTorrents({ author }: { author?: string }) {
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user