diff --git a/apps/sim/app/(auth)/components/auth-background-svg.tsx b/apps/sim/app/(auth)/components/auth-background-svg.tsx deleted file mode 100644 index aebbe483e15..00000000000 --- a/apps/sim/app/(auth)/components/auth-background-svg.tsx +++ /dev/null @@ -1,93 +0,0 @@ -export default function AuthBackgroundSVG() { - return ( - <> - {/* Top-left card outline */} - - - {/* Top-right card outline */} - - - {/* Bottom-left card outline (mirrored) */} - - - {/* Bottom-right card outline (mirrored) */} - - - ) -} diff --git a/apps/sim/app/(auth)/components/auth-background.tsx b/apps/sim/app/(auth)/components/auth-background.tsx deleted file mode 100644 index fedca77f536..00000000000 --- a/apps/sim/app/(auth)/components/auth-background.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { cn } from '@sim/emcn' -import AuthBackgroundSVG from '@/app/(auth)/components/auth-background-svg' - -type AuthBackgroundProps = { - className?: string - children?: React.ReactNode -} - -export default function AuthBackground({ className, children }: AuthBackgroundProps) { - return ( -
-
- -
{children}
-
- ) -} diff --git a/apps/sim/app/(auth)/components/auth-button-classes.ts b/apps/sim/app/(auth)/components/auth-button-classes.ts index 95a3592fe96..6b392632de6 100644 --- a/apps/sim/app/(auth)/components/auth-button-classes.ts +++ b/apps/sim/app/(auth)/components/auth-button-classes.ts @@ -1,10 +1,3 @@ -/** Shared className for primary auth/status CTA buttons on dark auth surfaces. */ -export const AUTH_PRIMARY_CTA_BASE = - 'inline-flex h-[32px] items-center justify-center gap-2 rounded-[5px] border border-[var(--auth-primary-btn-border)] bg-[var(--auth-primary-btn-bg)] px-2.5 font-[430] font-season text-[var(--auth-primary-btn-text)] text-sm transition-colors hover:border-[var(--auth-primary-btn-hover-border)] hover:bg-[var(--auth-primary-btn-hover-bg)] hover:text-[var(--auth-primary-btn-hover-text)] disabled:cursor-not-allowed disabled:opacity-50' as const - -/** Full-width variant used for primary auth form submit buttons. */ -export const AUTH_SUBMIT_BTN = `${AUTH_PRIMARY_CTA_BASE} w-full` as const - -/** Shared className for inline auth action links on dark auth surfaces. */ +/** Shared className for inline auth action links. */ export const AUTH_TEXT_LINK = 'font-medium text-[var(--brand-accent)] underline-offset-4 transition hover:text-[var(--brand-accent-hover)] hover:underline disabled:cursor-not-allowed disabled:opacity-50' as const diff --git a/apps/sim/app/(auth)/components/auth-submit-button.tsx b/apps/sim/app/(auth)/components/auth-submit-button.tsx index c08cb3249a9..ae9004b8188 100644 --- a/apps/sim/app/(auth)/components/auth-submit-button.tsx +++ b/apps/sim/app/(auth)/components/auth-submit-button.tsx @@ -14,9 +14,8 @@ interface AuthSubmitButtonProps { /** * The canonical full-width primary auth action — a `primary`-variant {@link Chip} - * with the shared in-flight spinner. Replaces the legacy dark - * `AUTH_SUBMIT_BTN` class string for every in-scope auth submit (login, signup, - * verify, reset), so the primary CTA chrome lives in exactly one place. + * with the shared in-flight spinner, so the primary CTA chrome lives in + * exactly one place. */ export function AuthSubmitButton({ children, diff --git a/apps/sim/app/(interfaces)/chat/[identifier]/chat.tsx b/apps/sim/app/(interfaces)/chat/[identifier]/chat.tsx index 6d4a9435a63..49f71d79272 100644 --- a/apps/sim/app/(interfaces)/chat/[identifier]/chat.tsx +++ b/apps/sim/app/(interfaces)/chat/[identifier]/chat.tsx @@ -426,7 +426,7 @@ export default function ChatClient({ identifier }: { identifier: string }) { } return ( -
+
{/* Header component */} diff --git a/apps/sim/app/(interfaces)/chat/[identifier]/loading.tsx b/apps/sim/app/(interfaces)/chat/[identifier]/loading.tsx index 9b032730a1c..8f55e4c5552 100644 --- a/apps/sim/app/(interfaces)/chat/[identifier]/loading.tsx +++ b/apps/sim/app/(interfaces)/chat/[identifier]/loading.tsx @@ -2,7 +2,7 @@ import { Skeleton } from '@sim/emcn' export default function ChatLoading() { return ( -
+
diff --git a/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx b/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx index 23cbd1789e9..8d14e3a1ee9 100644 --- a/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx +++ b/apps/sim/app/(interfaces)/chat/components/error-state/error-state.tsx @@ -1,5 +1,6 @@ 'use client' +import { Button } from '@sim/emcn' import { useRouter } from 'next/navigation' interface ChatErrorStateProps { @@ -16,12 +17,13 @@ export function ChatErrorState({ error }: ChatErrorStateProps) { Chat Unavailable

{error}

- +
) diff --git a/apps/sim/app/(interfaces)/chat/components/header/header.tsx b/apps/sim/app/(interfaces)/chat/components/header/header.tsx index cbe6e74c2f3..014c103ca6b 100644 --- a/apps/sim/app/(interfaces)/chat/components/header/header.tsx +++ b/apps/sim/app/(interfaces)/chat/components/header/header.tsx @@ -3,6 +3,7 @@ import Image from 'next/image' import Link from 'next/link' import { GithubIcon } from '@/components/icons' +import { SimWordmark } from '@/app/(landing)/components/navbar/components' import { useBrandConfig } from '@/ee/whitelabeling' interface ChatHeaderProps { @@ -20,13 +21,12 @@ interface ChatHeaderProps { export function ChatHeader({ chatConfig, starCount }: ChatHeaderProps) { const brand = useBrandConfig() - const primaryColor = chatConfig?.customizations?.primaryColor || 'var(--brand)' const customImage = chatConfig?.customizations?.imageUrl || chatConfig?.customizations?.logoUrl return (