Remove unused persona marketplace and discover page files.
CI / check (22) (push) Failing after 16m32s
CI / check (24) (push) Failing after 15m50s

This commit is contained in:
2026-10-07 23:41:27 +02:00
parent 10ec76d437
commit 5ca611c113
34 changed files with 368 additions and 1216 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ const escapeHtml = (value) => String(value).replace(/[&<>"']/g, (character) => (
export function renderSiteHeader({user, pathname}) {
const destinations = user
? [["/app", "Home"], ["/app/chats", "Chats"], ["/app/personas", "My personas"], ["/market", "Discover"], ["/app/settings", "Settings"]]
: [["/market", "Discover"]];
? [["/app", "Home"], ["/app/chats", "Chats"], ["/app/personas", "Personalities"], ["/app/settings", "Settings"]]
: [];
const navigation = destinations.map(([href, label]) => {
const active = pathname === href || (href === "/app/chats" && pathname.startsWith("/app/chats/"));
return `<a href="${href}"${active ? ' aria-current="page"' : ""}>${label}</a>`;