From 7b2c2118a7804433e4e12113b9c4e2ddc29e051a Mon Sep 17 00:00:00 2001 From: chihlasm Date: Tue, 3 Mar 2026 08:08:02 -0500 Subject: [PATCH] feat: recolor BrandLogo to cyan gradient, split BrandWordmark for gradient Flow text Co-Authored-By: Claude Opus 4.6 --- frontend/src/components/common/BrandLogo.tsx | 43 ++++++++----------- .../src/components/common/BrandWordmark.tsx | 9 ++-- 2 files changed, 22 insertions(+), 30 deletions(-) diff --git a/frontend/src/components/common/BrandLogo.tsx b/frontend/src/components/common/BrandLogo.tsx index 278be087..9b952c9b 100644 --- a/frontend/src/components/common/BrandLogo.tsx +++ b/frontend/src/components/common/BrandLogo.tsx @@ -5,42 +5,37 @@ interface BrandLogoProps { className?: string } -/** - * ResolutionFlow brand logo icon — white monochrome. - * sm (32x32) for header/navbar, lg (80x80) for login/register pages. - */ export function BrandLogo({ size = 'sm', className }: BrandLogoProps) { const sizeClasses = size === 'sm' ? 'h-8 w-8' : 'h-20 w-20' - const strokeBase = size === 'sm' ? 1 : 2 const strokeThick = size === 'sm' ? 1.25 : 2.5 const dashArray = size === 'sm' ? '1 1.5' : '2 3' const nodeR = size === 'sm' ? { outer: 2.5, inner: 2.75 } : { outer: 5, inner: 5.5 } const hubR = size === 'sm' ? { glow: 5, solid: 3.5 } : { glow: 10, solid: 7 } - const vb = size === 'sm' ? '0 0 40 40' : '0 0 80 80' const s = size === 'sm' ? 1 : 2 + const gradId = size === 'sm' ? 'logoGradSm' : 'logoGradLg' + const gradEnd = String(40 * (size === 'sm' ? 1 : 2)) return ( - {/* Input nodes */} - - - - - - {/* Connecting lines */} - - - - - - {/* Central hub */} - - - - {/* Output arrow */} - + + + + + + + + + + + + + + + + + ) } diff --git a/frontend/src/components/common/BrandWordmark.tsx b/frontend/src/components/common/BrandWordmark.tsx index e93f8e72..bd0e9318 100644 --- a/frontend/src/components/common/BrandWordmark.tsx +++ b/frontend/src/components/common/BrandWordmark.tsx @@ -5,20 +5,17 @@ interface BrandWordmarkProps { className?: string } -/** - * ResolutionFlow wordmark — clean white text. - * sm for header/navbar, lg for login/register pages. - */ export function BrandWordmark({ size = 'sm', className }: BrandWordmarkProps) { return ( - ResolutionFlow + Resolution + Flow ) }