diff --git a/src/components/Bars.tsx b/src/components/Bars.tsx index 514dc30..001dbd9 100644 --- a/src/components/Bars.tsx +++ b/src/components/Bars.tsx @@ -205,8 +205,14 @@ function SubdomainNavLink(props: { item: NavItem; onClick: () => void }) { /** The shared simplified nav list rendered by both subdomain bars. */ function SubdomainNavList(props: { onClick: () => void }) { const site = useSite(); + // Auth items intentionally omitted — subdomains don't use the web (freno.me) + // JWT auth (Nessa uses Clerk; Lineage uses its mobile JWT), so no subdomain + // nav item sets showLoggedIn/showLoggedOut today. filterNavByAuth is therefore + // a no-op right now but is kept so future admin items behave correctly + // without re-touching the renderer. Filtering here keeps LeftBar + RightBar + // consistent. return ( - + {(item) => } ); @@ -244,7 +250,6 @@ function BackToFrenoLink() { /** Inner content for the LeftBar on subdomain sites. */ function SubdomainLeftBarContent() { const { setLeftBarVisible } = useBars(); - const site = useSite(); const handleLinkClick = () => { if ( typeof window !== "undefined" && @@ -257,15 +262,8 @@ function SubdomainLeftBarContent() {
- {/* Auth items intentionally omitted — subdomains don't use web auth. - filterNavByAuth is a no-op today (no subdomain item sets - showLoggedIn/showLoggedOut) but kept so future admin items - behave correctly without re-touching the renderer. */} - - {(item) => ( - - )} - + {/* Auth items intentionally omitted — see SubdomainNavList. */} +
@@ -569,9 +567,17 @@ function MainLeftBarContent() { const navigate = useNavigate(); return ( -
-
- Recent Posts + <> + +

+ + {formatDomainName(env.VITE_DOMAIN)} + +

+
+
+
+ Recent Posts
+ ); } diff --git a/src/lib/nav-config.ts b/src/lib/nav-config.ts index 8aa3e57..3304c64 100644 --- a/src/lib/nav-config.ts +++ b/src/lib/nav-config.ts @@ -56,7 +56,7 @@ export interface NavItem { /** Apex/host link used as a "back to freno.me" affordance on subdomains. */ export const BACK_TO_FRENO: NavItem = { - label: "freno.me", + label: "back to freno.me", href: "https://freno.me", icon: "back", external: true