mv codebase to parent directory

This commit is contained in:
mr0x50
2025-02-07 19:36:13 +01:00
parent d462c4e36b
commit aed5520313
240 changed files with 9 additions and 48 deletions

View File

@@ -0,0 +1,13 @@
import { Button } from "@/components/ui/button";
import { SizeIcon } from "@radix-ui/react-icons";
import Link from "next/link";
import { nip19 } from "nostr-tools";
export default function ViewNoteButton({ event }: { event: any }) {
const encodedNoteId = nip19.noteEncode(event.id);
return (
<Link href={'/note/' + encodedNoteId} passHref>
<Button variant="secondary"><SizeIcon /></Button>
</Link>
);
}