From c0536df9e2be70eebe20b14caec1d82dc4cacc26 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Sat, 23 May 2026 22:22:27 +0100 Subject: [PATCH] feat: logo banner in navbar, 45px hero gap, navbar sized to logo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move cohorta-banner.png into navbar left slot (height 42px, w-auto) - Navbar py-2/py-1.5 sized to logo — no left spacer needed - PublicLayout main: pt-20 → pt-[58px] to match new navbar height - Hero: mt/pt offsets updated to 58px; content starts 45px below navbar - Hero: banner block removed (now lives in navbar) Co-Authored-By: Claude Sonnet 4.6 --- src/components/landing/Hero.tsx | 20 ++------------------ src/components/layout/Header.tsx | 16 ++++++++++++---- src/components/layout/PublicLayout.tsx | 2 +- 3 files changed, 15 insertions(+), 23 deletions(-) diff --git a/src/components/landing/Hero.tsx b/src/components/landing/Hero.tsx index 81cf5c07..1f223966 100644 --- a/src/components/landing/Hero.tsx +++ b/src/components/landing/Hero.tsx @@ -119,7 +119,7 @@ export default function Hero() { const shouldAnimate = !shouldReduce; return ( -
+
{/* Background glow */}
-
- - {/* Banner — full hero width, 400px tall */} - - Cohorta — Synthetic Research. Real Insights. - +
diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index d61c92fe..4c4ef5b5 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -73,7 +73,7 @@ export default function Header() {
{!shouldReduce && ( @@ -86,14 +86,22 @@ export default function Header() {
- {/* Left spacer — same width as right auth buttons for centering */} -
+ {/* Left: Logo banner */} + + Cohorta + {/* Center: LimelightNav */}
diff --git a/src/components/layout/PublicLayout.tsx b/src/components/layout/PublicLayout.tsx index 1e02db30..c80df0f1 100644 --- a/src/components/layout/PublicLayout.tsx +++ b/src/components/layout/PublicLayout.tsx @@ -7,7 +7,7 @@ export default function PublicLayout() { return (
-
+