diff --git a/app/(app)/(profile)/layout.tsx b/app/(app)/(profile)/[npub]/layout.tsx
similarity index 100%
rename from app/(app)/(profile)/layout.tsx
rename to app/(app)/(profile)/[npub]/layout.tsx
diff --git a/app/(app)/(profile)/[npub]/page.tsx b/app/(app)/(profile)/[npub]/page.tsx
index cced53c..f1288fc 100644
--- a/app/(app)/(profile)/[npub]/page.tsx
+++ b/app/(app)/(profile)/[npub]/page.tsx
@@ -19,8 +19,11 @@ export default function ProfilePage({
}) {
const [activeTab, setActiveTab] = useState("feed");
console.log("calling with ", npub);
+ if (npub === "service-worker.js") {
+ throw new Error("Invalid list");
+ }
const { type, data } = nip19.decode(npub);
- console.log("RES", data);
+
if (type !== "npub") {
throw new Error("Invalid list");
}
diff --git a/app/(app)/list/[naddr]/page.tsx b/app/(app)/list/[naddr]/page.tsx
index 95bb3a4..99b2a42 100644
--- a/app/(app)/list/[naddr]/page.tsx
+++ b/app/(app)/list/[naddr]/page.tsx
@@ -59,7 +59,7 @@ export default function ListPage({
);
}
const noteIds = getTagsValues("e", event.tags).filter(Boolean);
-
+ console.log("notes", event.tags);
const title =
getTagValues("title", event.tags) ??
getTagValues("name", event.tags) ??
diff --git a/app/(landing)/_page.tsx b/app/(landing)/_page.tsx
new file mode 100644
index 0000000..8604f53
--- /dev/null
+++ b/app/(landing)/_page.tsx
@@ -0,0 +1,213 @@
+import { Button } from "@/components/ui/button";
+import Image from "next/image";
+import Link from "next/link";
+
+export default function LandingPage() {
+ return (
+
+
+
+
+
+ Your Community, Where ever you are.
+
+
+ Nostr allows you to truly own your community with a fully
+ decentralized social graph. Never get locked into a platform
+ again.
+
+
+
+
+
+
+
+
+
+
+ About nostr
+
+
+
+ Nostr is a simple, open protocol for decentralizing how
+ infomration is stored and retreived on the web.
+
+
+ Rather that your user data being siloed by the big tech
+ companies whose platforms dominate our culture, nostr
+ distributes data across hundreds of relays that anyone can spin
+ up.
+
+
+ This means that no single entity is ever in control of your
+ data. In other words:
+
+ No more lock-in, Way more choices.
+
+
+
+
+
+ {/*
+
+
+
+ About nostr
+
+
+
+ Nostr is a simple, open protocol for decentralizing how
+ infomration is stored and retreived on the web.
+
+
+ Rather that your user data being siloed by the big tech
+ companies whose platforms dominate our culture, nostr
+ distributes data across hundreds of relays that anyone can
+ spin up.
+
+
+ This means that no single entity is ever in control of your
+ data. In other words:
+
+ No more lock-in, Way more choices.
+
+
+
+
+
+
+
+
+
+
+
+ Why Bitcoin?
+
+
+
+ Nostr is a simple, open protocol for decentralizing how
+ infomration is stored and retreived on the web.
+
+
+ Rather that your user data being siloed by the big tech
+ companies whose platforms dominate our culture, nostr
+ distributes data across hundreds of relays that anyone can
+ spin up.
+
+
+ This means that no single entity is ever in control of your
+ data. In other words:
+
+ No more lock-in, Way more choices.
+
+
+
+
+
+
+
+
+
+
+
+
+ Find out if you're the right fit.
+
+
+ Nostr allows you to truly own your community with a fully
+ decentralized social graph. Never get locked into a platform
+ again.
+
- Nostr allows you to truly own your community with a fully
- decentralized social graph. Never get locked into a platform
- again.
-
-
-
-
-
-
-
-
-
-
- About nostr
-
-
-
- Nostr is a simple, open protocol for decentralizing how
- infomration is stored and retreived on the web.
-
-
- Rather that your user data being siloed by the big tech
- companies whose platforms dominate our culture, nostr
- distributes data across hundreds of relays that anyone can spin
- up.
-
-
- This means that no single entity is ever in control of your
- data. In other words:
-
- No more lock-in, Way more choices.
-
-
-
-
+
+
+
+
+
- {/*
-
-
-
- About nostr
-
-
-
- Nostr is a simple, open protocol for decentralizing how
- infomration is stored and retreived on the web.
+
+
+
+
+
+ Monatized, Curated content on Nostr.
+
+
+ Cupidatat minim id magna ipsum sint dolor qui. Sunt sit in
+ quis cupidatat mollit aute velit. Et labore commodo nulla
+ aliqua proident mollit ullamco exercitation tempor. Sint
+ aliqua anim nulla sunt mollit id pariatur in voluptate cillum.
-
- Rather that your user data being siloed by the big tech
- companies whose platforms dominate our culture, nostr
- distributes data across hundreds of relays that anyone can
- spin up.
-
-
- This means that no single entity is ever in control of your
- data. In other words:
-
- No more lock-in, Way more choices.
-
-
-
-
-
-
-
-
-
-
-
- Why Bitcoin?
-
-
-
- Nostr is a simple, open protocol for decentralizing how
- infomration is stored and retreived on the web.
-
-
- Rather that your user data being siloed by the big tech
- companies whose platforms dominate our culture, nostr
- distributes data across hundreds of relays that anyone can
- spin up.
-
-
- This means that no single entity is ever in control of your
- data. In other words:
-
- No more lock-in, Way more choices.
-
-
-
-
-
-
-
-
-
-
-
-
- Find out if you're the right fit.
-
-
- Nostr allows you to truly own your community with a fully
- decentralized social graph. Never get locked into a platform
- again.
-