From f357fb16d45aa510d3e248059263680f8f679844 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 22:06:43 +0300 Subject: [PATCH] Redesign auth screens: split-screen layout, no boxy card Replace the centered bordered card with a two-column auth layout shared by login/signup/onboarding (and the rest): a branded left panel (gradient glow, subtle grid, product pitch + feature list) and a clean, card-less form on the right. Collapses to a single centered column with a soft glow on mobile. Co-Authored-By: Claude Opus 4.8 --- frontend/components/auth/auth-ui.tsx | 125 ++++++++++++++++++++++----- 1 file changed, 103 insertions(+), 22 deletions(-) diff --git a/frontend/components/auth/auth-ui.tsx b/frontend/components/auth/auth-ui.tsx index 350e5e4..d55b6eb 100644 --- a/frontend/components/auth/auth-ui.tsx +++ b/frontend/components/auth/auth-ui.tsx @@ -1,9 +1,82 @@ +import { Check } from "lucide-react"; import Image from "next/image"; import type { ReactNode } from "react"; import { cn } from "@/lib/utils"; -// Centered, branded shell shared by every auth page. +const FEATURES = [ + "Look up any patient just by asking", + "Rich record cards — vitals, labs, meds, history", + "Open-source, built around patient-owned data", +]; + +// Left brand panel (desktop only): gradient glow, product pitch, feature list. +function BrandPanel() { + return ( +
+
+
+
+ +
+ temetro + temetro +
+ +
+

+ Patient records, organized by conversation. +

+

+ The AI middleman between you and patient data — retrieve, review and + update charts from a simple chat, so you spend less time clicking. +

+
    + {FEATURES.map((feature) => ( +
  • + + + + {feature} +
  • + ))} +
+
+ +
+ © temetro — open-source clinical tooling +
+
+ ); +} + +// Centered, branded shell shared by every auth page (split layout on desktop). export function AuthShell({ title, subtitle, @@ -16,32 +89,40 @@ export function AuthShell({ footer?: ReactNode; }) { return ( -
-
-
- temetro -
-

{title}

+
+ + +
+ {/* soft glow behind the form on small screens (no brand panel) */} +
+
+
+ +
+
+ temetro +

{title}

{subtitle && ( -

{subtitle}

+

{subtitle}

)}
-
-
+ {children} + + {footer && ( +
{footer}
+ )}
- {footer && ( -
- {footer} -
- )}
);