From 146c7041f82030e8d4446fb347a9a4b54d44e1df Mon Sep 17 00:00:00 2001 From: colinislit Date: Mon, 17 Nov 2025 19:48:54 +0100 Subject: [PATCH] UX refinements: Color strategy + Hero Section 2 implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Color Strategy: "Dark Elegance with Innovation Sparks" Reduced teal usage from ~30% to ~5% as strategic AI/innovation accent. Introduced amber for speed/performance metrics. Slate foundation for professional, calm aesthetic suitable for healthcare EPD application. ### Login Page (app/login/page.tsx) - Bento grid: Color variety (teal=AI, amber=speed, blue/indigo=general) - Stats footer: Amber for time metrics (90%+, <5 sec), slate for build time - Focus rings: teal-500 → slate-400 (subtle, professional) - Clock icon for time savings feature ### Homepage (app/(marketing)/page.tsx) - CTA background: teal-50 → slate-50 (calm, elegant) - Teal CTA button remains (strategic conversion accent) - NEW: Hero Section 2 implementation with: - Split-screen layout (60% content, 40% background image) - Framer Motion animations (staggered reveal + clip-path) - Logo, slogan, title with teal accent, CTA, contact footer - Tech-themed Unsplash background image ### EPD Sidebar (app/epd/components/epd-sidebar.tsx) - Kept LIGHT theme (white/slate-50) - suitable for long EPD sessions - Active states: teal-50 → slate-100 (professional, not distracting) - Navigation: Subtle slate colors, not teal - Teal AI logo only (innovation marker) - Slate avatar (neutral, professional) ### New Files - app/(marketing)/components/hero-section-client.tsx Client wrapper for HeroSection (framer-motion compatibility) ## Result - Teal is now meaningful AI/innovation signal (not decorative) - Amber signals speed ("aispeedrun.nl" brand alignment) - Slate provides professional foundation for EPD context - Build succeeds ✅ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../components/hero-section-client.tsx | 28 ++++++++++++++++ app/(marketing)/page.tsx | 33 ++++++++++++++++--- app/epd/components/epd-sidebar.tsx | 14 ++++---- app/login/page.tsx | 16 ++++----- 4 files changed, 72 insertions(+), 19 deletions(-) create mode 100644 app/(marketing)/components/hero-section-client.tsx diff --git a/app/(marketing)/components/hero-section-client.tsx b/app/(marketing)/components/hero-section-client.tsx new file mode 100644 index 0000000..17e5f4f --- /dev/null +++ b/app/(marketing)/components/hero-section-client.tsx @@ -0,0 +1,28 @@ +'use client' + +import { HeroSection } from '@/components/ui/hero-section-2' + +interface HeroSectionClientProps { + logo: { + url: string + alt: string + text?: string + } + slogan?: string + title: React.ReactNode + subtitle: string + callToAction: { + text: string + href: string + } + backgroundImage: string + contactInfo: { + website: string + phone: string + address: string + } +} + +export function HeroSectionClient(props: HeroSectionClientProps) { + return +} diff --git a/app/(marketing)/page.tsx b/app/(marketing)/page.tsx index 67f729a..53e86f4 100644 --- a/app/(marketing)/page.tsx +++ b/app/(marketing)/page.tsx @@ -15,7 +15,7 @@ import type { Metadata } from 'next' import { getContent } from '@/lib/content/loader' import type { MetadataContent } from '@/content/schemas/manifesto' -import { HeroQuote } from './components/hero-quote' +import { HeroSectionClient } from './components/hero-section-client' import { BuildTimeline } from './components/build-timeline' // Generate metadata for SEO @@ -114,8 +114,33 @@ export default async function HomePage() { return ( <> - {/* Hero Quote Section */} - + {/* Hero Section */} + + Software on Demand +
+ Van €100k naar €200 + + } + subtitle="Enterprise software hoeft niet meer €100.000+ per jaar te kosten. AI-powered development verkort dit naar 4 weken en €200 totale kosten. Dit EPD prototype is het levende bewijs." + callToAction={{ + text: "PROBEER HET PROTOTYPE →", + href: "/login" + }} + backgroundImage="https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop" + contactInfo={{ + website: "aispeedrun.nl", + phone: "Demo Project", + address: "Build in Public" + }} + /> {/* Statement Section - Software on Demand */}
@@ -157,7 +182,7 @@ export default async function HomePage() {
{/* CTA Section */} -
+

Klaar om het prototype te proberen? diff --git a/app/epd/components/epd-sidebar.tsx b/app/epd/components/epd-sidebar.tsx index d38111c..fd90a99 100644 --- a/app/epd/components/epd-sidebar.tsx +++ b/app/epd/components/epd-sidebar.tsx @@ -105,7 +105,7 @@ export function EPDSidebar({ className = "", userEmail, userName }: EPDSidebarPr `} > {/* Header with logo and collapse button */} -
+
{!isCollapsed && (
@@ -127,7 +127,7 @@ export function EPDSidebar({ className = "", userEmail, userName }: EPDSidebarPr {/* Desktop collapse button */}