From e9f56295de571aabc13f0106be3ded84540ec53b Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 26 Feb 2026 10:38:07 -0800 Subject: [PATCH] Add PLATFORM_NAME --- frontend/.env.template | 3 +++ frontend/src/components/Navbar.tsx | 3 ++- frontend/src/global.d.ts | 1 + frontend/src/lib/nostr.ts | 1 + frontend/src/pages/Login.tsx | 3 ++- 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend/.env.template b/frontend/.env.template index 062ede1..e28b13e 100644 --- a/frontend/.env.template +++ b/frontend/.env.template @@ -1,2 +1,5 @@ # Backend API base URL VITE_API_URL=http://127.0.0.1:3000 + +# Platform display name shown in UI +VITE_PLATFORM_NAME=Caravel diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index 916e9f1..f6f9dc2 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -1,11 +1,12 @@ import { A } from "@solidjs/router" +import { PLATFORM_NAME } from "../lib/nostr" export default function Navbar() { return (