From 39356f3d740c0e08bfd7184a70faa286f1a9bee1 Mon Sep 17 00:00:00 2001 From: Waleed Date: Sat, 27 Sep 2025 14:03:24 -0700 Subject: [PATCH] fix(ui): standardized 404, chat, and invite pages (#1472) * improvement(chat): deployed chat no longer uses subdomains, uses sim.ai/chat/[identifier] * fix(ui): standardized 404, chat, and invite pages * Revert "improvement(chat): deployed chat no longer uses subdomains, uses sim.ai/chat/[identifier]" * fixed ui for 404 page --- apps/sim/app/(landing)/components/nav/nav.tsx | 4 +- .../components/error-state/error-state.tsx | 15 +++- apps/sim/app/invite/components/layout.tsx | 38 ++-------- apps/sim/app/not-found.tsx | 70 ++++++++++--------- 4 files changed, 59 insertions(+), 68 deletions(-) diff --git a/apps/sim/app/(landing)/components/nav/nav.tsx b/apps/sim/app/(landing)/components/nav/nav.tsx index 5196825776..ed05a58736 100644 --- a/apps/sim/app/(landing)/components/nav/nav.tsx +++ b/apps/sim/app/(landing)/components/nav/nav.tsx @@ -148,8 +148,8 @@ export default function Nav({ hideAuthButtons = false, variant = 'landing' }: Na )} - {/* Auth Buttons - respect hideAuthButtons prop and only show on hosted instances for landing pages */} - {!hideAuthButtons && (variant === 'auth' || isHosted) && ( + {/* Auth Buttons - show only when hosted, regardless of variant */} + {!hideAuthButtons && isHosted && (
-
+
Need help?{' '} Contact support
- - + + ) }