mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 03:27:48 +01:00
Botsmann had no identity of its own: a generic 2021-era AI-SaaS skin with the brand fragmented across three disagreeing sources (config OpenAI-green, globals.css black/white, page blue/purple/cyan gradients). Derive Botsmann's OWN voice — serious, credible counsel: warm editorial ink + a single authoritative ochre accent, carried by a serif display face, not gradient tricks. - globals.css is now the single SSOT for design tokens (semantic colors for brand/action/surface/text + radii + shadows, two-tier primitive→semantic). - tailwind.config wired to the CSS vars; literal colors removed. Ripped out the OpenAI-borrowed tokens (openai-green #10a37f / openai-gray) and migrated every consumer to the semantic `action` / `brand` tokens. - Killed the generic "AI gradient" skin: removed the blue→purple→cyan gradient wordmark, the blurred gradient hero blobs, gradient buttons, and glassmorphism. Replaced with one confident ochre accent + ink, hairline editorial surfaces. - Real typeface via next/font: Fraunces (serif display, headings + wordmark) + Inter (UI/body), bound to --font-serif / --font-sans. Retires system-ui. - Replaced emoji professional avatars (⚖️🩺🔬🇨🇭🎨♛) with a ProfessionalAvatar monogram badge built on the existing accentColor SSOT. - One headline value prop: tab title, hero H1 and footer now all agree on "Your Private AI Professionals" (was a split tagline vs H1). Design only — all content and functionality preserved. Lint clean; no new tsc errors (the pre-existing embeddings.test.ts error is unchanged from main); production CSS resolves the full token chain. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
64 lines
2.2 KiB
TypeScript
64 lines
2.2 KiB
TypeScript
import { type FC } from 'react';
|
|
|
|
/**
|
|
* How It Works section for the homepage
|
|
* Visual step-by-step explanation of using AI Professionals
|
|
*/
|
|
export const HowItWorks: FC = () => {
|
|
const steps = [
|
|
{
|
|
number: 1,
|
|
title: 'Choose Your Professional',
|
|
description:
|
|
'Select the AI advisor that matches your needs — legal, health, research, language, creative, or business.',
|
|
},
|
|
{
|
|
number: 2,
|
|
title: 'Ask Your Question',
|
|
description:
|
|
'Chat naturally or upload documents for context. Get expert-level guidance tailored to your situation.',
|
|
},
|
|
{
|
|
number: 3,
|
|
title: 'Get Expert Guidance',
|
|
description:
|
|
'Receive clear, actionable insights instantly. Personalise with your documents for even better results.',
|
|
},
|
|
];
|
|
|
|
return (
|
|
<section className="py-20">
|
|
<div className="text-center mb-16">
|
|
<h2 className="font-serif text-4xl font-semibold mb-4 text-ink">How It Works</h2>
|
|
<p className="text-lg text-ink-muted max-w-2xl mx-auto">
|
|
Get expert guidance in three simple steps
|
|
</p>
|
|
</div>
|
|
|
|
<div className="grid md:grid-cols-3 gap-8 max-w-5xl mx-auto">
|
|
{steps.map((step) => (
|
|
<div key={step.number} className="text-center">
|
|
<div className="w-14 h-14 bg-action-tint border border-action/20 rounded-card flex items-center justify-center text-action font-serif text-2xl font-semibold mx-auto mb-6">
|
|
{step.number}
|
|
</div>
|
|
<h3 className="font-serif text-xl font-semibold text-ink mb-3">{step.title}</h3>
|
|
<p className="text-ink-muted leading-relaxed">{step.description}</p>
|
|
</div>
|
|
))}
|
|
</div>
|
|
|
|
{/* Visual connector line (hidden on mobile) */}
|
|
<div className="hidden md:block max-w-3xl mx-auto mt-[-160px] mb-[100px]">
|
|
<div className="flex justify-between px-8">
|
|
<div className="w-1/3 flex justify-end pr-8">
|
|
<div className="w-full h-px bg-edge mt-[1.6rem]" />
|
|
</div>
|
|
<div className="w-1/3 flex justify-start pl-8">
|
|
<div className="w-full h-px bg-edge mt-[1.6rem]" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|