diff --git a/app/demo/page.tsx b/app/demo/page.tsx index 990abf6..85c4626 100644 --- a/app/demo/page.tsx +++ b/app/demo/page.tsx @@ -13,11 +13,11 @@ type DemoEntry = { id: number; title: string; category: string; excerpt: string; const initialMessages: DemoMessage[] = [ { id: 1, room: "the-lobby", author: "moth.exe", time: "09:41", body: "The old internet had something special. You arrived because you were curious." }, - { id: 2, room: "the-lobby", author: "signal_ghost", time: "09:43", body: "No algorithm deciding what I should see. Just people building things." }, + { id: 2, room: "the-lobby", author: "signal ghost", time: "09:43", body: "No algorithm deciding what I should see. Just people building things." }, { id: 3, room: "the-lobby", author: "you", time: "09:44", body: "That is exactly the energy we are bringing back.", self: true }, { id: 4, room: "build-lab", author: "patchwork", time: "10:02", body: "Today's tiny win: shipped a useful tool with zero tracking pixels." }, { id: 5, room: "build-lab", author: "moth.exe", time: "10:05", body: "Small, intentional software is a kind of rebellion." }, - { id: 6, room: "lost-and-found", author: "archive_angel", time: "08:17", body: "Found an old public-domain field manual. Added it to the archive." } + { id: 6, room: "lost-and-found", author: "archive angel", time: "08:17", body: "Found an old public-domain field manual. Added it to the archive." } ]; const rooms = [ @@ -79,7 +79,7 @@ export default function DemoPage() {
- PHANTOM_THE INTERNET NEVER REALLY DIES + PHANTOMTHE INTERNET NEVER REALLY DIES
INTERACTIVE DEMO
BACK TO PHANTOM @@ -107,7 +107,7 @@ export default function DemoPage() {
-
PHANTOM://COMMUNITY-NETWORK
+
PHANTOM COMMUNITY NETWORK
SIMULATED LIVE ENVIRONMENT
@@ -121,7 +121,7 @@ export default function DemoPage() {
OPEN CHANNELS
{rooms.map((room) => )}
-
G1

guest_01

EXPLORER

+
G1

guest 01

EXPLORER

@@ -132,13 +132,13 @@ export default function DemoPage() {
{roomMessages.length ? roomMessages.map((message) =>
{message.author.slice(0, 2).toUpperCase()}
{message.author}{message.self && YOU}{message.time}

{message.body}

) :
This channel is quiet. Start the signal.
}
-
QUICK TRANSMISSIONLOCAL DEMO
> setDraft(event.target.value)} maxLength={240} placeholder="Say something worth remembering..." className="min-w-0 flex-1 bg-transparent text-xs text-[#e1ebe3] outline-none placeholder:text-[#53665a]"/>
+
QUICK TRANSMISSIONLOCAL DEMO
setDraft(event.target.value)} maxLength={240} placeholder="Say something worth remembering..." className="min-w-0 flex-1 bg-transparent text-xs text-[#e1ebe3] outline-none placeholder:text-[#53665a]"/>
} {tab === "archive" &&
THE KNOWLEDGE VAULT

Keep the good stuff.

A community memory that outlives the scroll. Search the demo archive and open a field note.

setSearch(event.target.value)} placeholder="Search knowledge..." className="w-full bg-transparent py-3.5 text-xs outline-none placeholder:text-[#53665a]"/>
{filteredEntries.map((entry) =>
{entry.category}{entry.date}

{entry.title}

{entry.excerpt}

OPEN FIELD NOTE
)}{filteredEntries.length === 0 &&

No entries match that search. Try another signal.

}
} - {tab === "network" &&
NETWORK TOPOLOGY

Small rooms. Real connections.

Explore the channels that make up this little corner of the internet. No feed to beat. No algorithm to please.

{rooms.map((room, index) => )}
COMMUNITY-POWERED

265

DEMO MEMBERS

{messages.length.toString().padStart(2, "0")}

TRANSMISSIONS

OPEN

COMMUNITY ACCESS

} + {tab === "network" &&
NETWORK TOPOLOGY

Small rooms. Real connections.

Explore the channels that make up this little corner of the internet. No feed to beat. No algorithm to please.

{rooms.map((room, index) => )}
COMMUNITY POWERED

265

DEMO MEMBERS

{messages.length.toString().padStart(2, "0")}

TRANSMISSIONS

OPEN

COMMUNITY ACCESS

}
SESSION ACTIVE / YOUR CHANGES ARE LOCAL
diff --git a/app/page.tsx b/app/page.tsx index 6bcab83..cc78de4 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -209,7 +209,7 @@ export default function Home() { return
-
PHANTOM_
THE INTERNET NEVER REALLY DIES
+
PHANTOM
THE INTERNET NEVER REALLY DIES
{supabase ? "DATABASE CONNECTED" : "DATABASE CONFIG REQUIRED"} / PUBLIC NETWORK
{user ?
{profile?.display_name || profile?.username || user.email}
: CONNECT}
@@ -231,18 +231,18 @@ export default function Home() { {tab === "rooms" ?
-
AVAILABLE ROOMS
{rooms.length.toString().padStart(2,"0")} FOUND
{loading ?

Loading rooms...

: rooms.map((room) => )}
+
AVAILABLE ROOMS
{rooms.length.toString().padStart(2,"0")} FOUND
{loading ?

Loading rooms...

: rooms.map((room) => )}
{activeRoom ? <> -
# {activeRoom.slug}
{activeRoom.description}
{memberships.includes(activeRoom.id) ? : }
-
— LIVE TRANSMISSIONS —
{messages.length ? messages.map((message) =>
{(message.profile?.username || "??").slice(0,2).toUpperCase()}
{message.profile?.display_name || message.profile?.username || "member"}{stamp(message.created_at)}

{message.body}

{user && user.id !== message.user_id && }
) :

No transmissions yet. Join the room and start the conversation.

}
- {memberships.includes(activeRoom.id) ?
>setDraft(event.target.value)} placeholder="Transmit a message..." className="min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-[#53645a]"/>
:
Join this room to participate in the conversation.
} +
{activeRoom.name}
{activeRoom.description}
{memberships.includes(activeRoom.id) ? : }
+
LIVE TRANSMISSIONS
{messages.length ? messages.map((message) =>
{(message.profile?.username || "??").slice(0,2).toUpperCase()}
{message.profile?.display_name || message.profile?.username || "member"}{stamp(message.created_at)}

{message.body}

{user && user.id !== message.user_id && }
) :

No transmissions yet. Join the room and start the conversation.

}
+ {memberships.includes(activeRoom.id) ?
setDraft(event.target.value)} placeholder="Transmit a message..." className="min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-[#53645a]"/>
:
Join this room to participate in the conversation.
} :
No public rooms are available yet.
}
: tab === "archive" ?
ADD TO THE ARCHIVE
setArchiveTitle(e.target.value)} placeholder="A useful thing worth preserving" className="mb-4 w-full border border-[#24352e] bg-[#090d0c] px-3 py-3 text-sm outline-none focus:border-[#9cff6b]"/>