- {auth.user &&
}
-
{headerElement}
+ <>
+ {showOfflineBar &&
}
{children}
+ >
+ )
+ }
+
+ // Authenticated non-site pages (sites list, onboarding, etc.): static header
+ if (isAuthenticated) {
+ return (
+
+ {showOfflineBar && }
+ router.push('/onboarding')}
+ allowPersonalOrganization={false}
+ showFaq={false}
+ showSecurity={false}
+ showPricing={false}
+ rightSideActions={}
+ apps={CIPHERA_APPS}
+ currentAppId="pulse"
+ onOpenSettings={openSettings}
+ />
+
+ {children}
+
+
)
}
- // Public/marketing layout: floating header, scrollable page, footer
+ // Public/marketing: floating header + footer
return (