From 8f32126a4e7ef0c63f9080c1ef1b1b41ad8ad474 Mon Sep 17 00:00:00 2001 From: Emir Karabeg Date: Fri, 26 Dec 2025 21:02:41 -0800 Subject: [PATCH] fix: bg styling outside workspace --- .../app/(auth)/components/auth-background.tsx | 1 + .../components/background/background-svg.tsx | 46 +++++++++---------- .../components/background/background.tsx | 1 + apps/sim/app/_styles/globals.css | 12 ++--- apps/sim/app/changelog/layout.tsx | 3 +- apps/sim/app/chat/[identifier]/chat.tsx | 2 +- apps/sim/app/invite/components/layout.tsx | 3 +- apps/sim/app/not-found.tsx | 3 +- .../[executionId]/resume-page-client.tsx | 6 ++- apps/sim/app/templates/layout-client.tsx | 5 +- apps/sim/app/unsubscribe/unsubscribe.tsx | 12 ++--- 11 files changed, 52 insertions(+), 42 deletions(-) diff --git a/apps/sim/app/(auth)/components/auth-background.tsx b/apps/sim/app/(auth)/components/auth-background.tsx index a06ec0cdbf..47d2d0b8b3 100644 --- a/apps/sim/app/(auth)/components/auth-background.tsx +++ b/apps/sim/app/(auth)/components/auth-background.tsx @@ -9,6 +9,7 @@ type AuthBackgroundProps = { export default function AuthBackground({ className, children }: AuthBackgroundProps) { return (
+
{children}
diff --git a/apps/sim/app/(landing)/components/background/background-svg.tsx b/apps/sim/app/(landing)/components/background/background-svg.tsx index 7d3129c529..98bea428c5 100644 --- a/apps/sim/app/(landing)/components/background/background-svg.tsx +++ b/apps/sim/app/(landing)/components/background/background-svg.tsx @@ -5,39 +5,39 @@ export default function BackgroundSVG() { focusable='false' className='-translate-x-1/2 pointer-events-none absolute top-0 left-1/2 z-10 hidden h-full min-h-full w-[1308px] sm:block' width='1308' - height='4942' - viewBox='0 18 1308 4066' + height='4970' + viewBox='0 18 1308 4094' fill='none' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMin slice' > - {/* Pricing section (original height ~380 units) */} + {/* Pricing section (extended by ~28 units) */} - - + + - {/* Integrations section (original height ~412 units) */} - - - - - + {/* Integrations section (shifted down by 28 units) */} + + + + + - {/* Testimonials section (original short height ~149 units) */} - - - - - + {/* Testimonials section (shifted down by 28 units) */} + + + + + - {/* Footer section line */} - - - - - + {/* Footer section line (shifted down by 28 units) */} + + + + + +
{children}
diff --git a/apps/sim/app/_styles/globals.css b/apps/sim/app/_styles/globals.css index 8915151130..013e6b1d45 100644 --- a/apps/sim/app/_styles/globals.css +++ b/apps/sim/app/_styles/globals.css @@ -538,25 +538,25 @@ input[type="search"]::-ms-clear { } .auth-button-gradient { - background: linear-gradient(to bottom, var(--brand-500), var(--brand-400)) !important; + background: linear-gradient(to bottom, var(--brand-primary-hex), var(--brand-400)) !important; border-color: var(--brand-400) !important; box-shadow: inset 0 2px 4px 0 var(--brand-400) !important; } .auth-button-gradient:hover { - background: linear-gradient(to bottom, var(--brand-500), var(--brand-400)) !important; + background: linear-gradient(to bottom, var(--brand-primary-hex), var(--brand-400)) !important; opacity: 0.9; } .auth-button-custom { - background: var(--brand-500) !important; - border-color: var(--brand-500) !important; + background: var(--brand-primary-hex) !important; + border-color: var(--brand-primary-hex) !important; box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.1) !important; } .auth-button-custom:hover { - background: var(--brand-500) !important; - border-color: var(--brand-500) !important; + background: var(--brand-primary-hover-hex) !important; + border-color: var(--brand-primary-hover-hex) !important; opacity: 1; } diff --git a/apps/sim/app/changelog/layout.tsx b/apps/sim/app/changelog/layout.tsx index 3ce5dbdfa6..f3237c0ca4 100644 --- a/apps/sim/app/changelog/layout.tsx +++ b/apps/sim/app/changelog/layout.tsx @@ -2,7 +2,8 @@ import Nav from '@/app/(landing)/components/nav/nav' export default function ChangelogLayout({ children }: { children: React.ReactNode }) { return ( -
+
+
diff --git a/apps/sim/app/chat/[identifier]/chat.tsx b/apps/sim/app/chat/[identifier]/chat.tsx index 9625ada59a..7c6c8f273c 100644 --- a/apps/sim/app/chat/[identifier]/chat.tsx +++ b/apps/sim/app/chat/[identifier]/chat.tsx @@ -553,7 +553,7 @@ export default function ChatClient({ identifier }: { identifier: string }) { // Standard text-based chat interface return ( -
+
{/* Header component */} diff --git a/apps/sim/app/invite/components/layout.tsx b/apps/sim/app/invite/components/layout.tsx index 653a3276cd..b5481c8371 100644 --- a/apps/sim/app/invite/components/layout.tsx +++ b/apps/sim/app/invite/components/layout.tsx @@ -8,7 +8,8 @@ interface InviteLayoutProps { export default function InviteLayout({ children }: InviteLayoutProps) { return ( -
+
+