From f08e86d444477875d0ec140c1022487f0572592b Mon Sep 17 00:00:00 2001 From: NiclasDev63 Date: Wed, 19 Aug 2026 16:56:07 +0200 Subject: [PATCH] feat(web): add navbar GitHub link and move the demo CTA to the founders Two landing page changes. The navbar gains a GitHub link immediately left of the language switcher, pointing at `routes.external.github.repo`. It borrows the switcher's own treatment -- 15px icon, 75% opacity, the same hover pill -- so the two read as one cluster rather than a button parked next to an icon. It is icon-only, so the accessible name comes from a new `navbar.github` key; the mobile drawer gets the same pairing above the fold of its footer row. The "request a demo" button moves out of the security section and into the founder quote. Asking to talk to the founders is a natural next beat after reading what they have to say, whereas the security section is a list of claims people scan rather than a place they decide from. Both buttons anchor to `#cta-section`, so this relocates the same call to action instead of adding one -- the `cta` key moves from `ComplianceDictionary` to `FounderDictionary` along with it. Co-Authored-By: Claude Opus 5 --- .../compliance/compliance.tsx | 17 ------------- .../compliance/i18n/compliance.i18n.de.json | 1 - .../compliance/i18n/compliance.i18n.en.json | 1 - .../compliance/i18n/compliance.types.ts | 1 - .../home-page-section/founder/founder.tsx | 16 +++++++++++- .../founder/i18n/founder.i18n.de.json | 1 + .../founder/i18n/founder.i18n.en.json | 1 + .../founder/i18n/founder.types.ts | 1 + apps/web/src/app/[lang]/components/navbar.tsx | 25 ++++++++++++++++--- .../web/src/app/[lang]/i18n/home.i18n.de.json | 1 + .../web/src/app/[lang]/i18n/home.i18n.en.json | 1 + apps/web/src/app/[lang]/i18n/home.types.ts | 1 + 12 files changed, 43 insertions(+), 24 deletions(-) diff --git a/apps/web/src/app/[lang]/components/home-page-section/compliance/compliance.tsx b/apps/web/src/app/[lang]/components/home-page-section/compliance/compliance.tsx index 05d3f41..8dccfa0 100644 --- a/apps/web/src/app/[lang]/components/home-page-section/compliance/compliance.tsx +++ b/apps/web/src/app/[lang]/components/home-page-section/compliance/compliance.tsx @@ -1,7 +1,3 @@ -import { actionClass, primaryActionClass } from "@scibly/ui/design-language"; -import { cn } from "@scibly/ui/utils"; -import { ArrowRight } from "lucide-react"; - import { MarketingSection, MarketingSectionHeader, @@ -29,19 +25,6 @@ export function ComplianceSection({ t }: ComplianceSectionProps) { eyebrow={t.eyebrow} title={`${t.title} ${t.titleEmphasis}`} description={t.subtitle} - action={ - - {t.cta} - - - } />