Files
AgentCompany/landing/components/sections/hero.tsx
T
ZacharyZhang-NY c0f677ccc9 Rebuild navbar, hero, and feature sections in adaline style
- navbar: sticky, transparent to blur-on-scroll, wordmark + mono nav links +
  theme toggle + Download CTA, Reicon Menu/Xmark icons (components/layout)
- theme-toggle: Reicon Sun/Moon icons
- hero: meadow badge, tight Instrument Sans headline, Download + How-it-works
  CTAs, availability line, framed dashboard shot (components/sections)
- features: five stacked heading-over-panel sections mapping the org chart,
  office, messages, connectors and cost-control screens
- ui/media-frame: shared framed product-shot panel
- reveal: progressive enhancement — content is visible without JS and only
  hidden once the js class is present, then revealed on scroll
- remove the superseded flat navbar/hero/features components

Verified: next build green; desktop + mobile screenshots reviewed.
2026-07-07 22:08:31 -04:00

66 lines
2.3 KiB
TypeScript

import { Container } from "../ui/container";
import { Badge } from "../ui/badge";
import { Button } from "../ui/button";
import { MediaFrame } from "../ui/media-frame";
import { landingHeroNarrative } from "../../lib/product-narrative";
export function Hero() {
return (
<section className="relative overflow-hidden">
<div
aria-hidden="true"
className="pointer-events-none absolute inset-0"
style={{
background:
"radial-gradient(ellipse 70% 50% at 50% -5%, var(--glow-warm) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 50% 10%, var(--glow-accent) 0%, transparent 60%)",
}}
/>
<Container className="relative pb-16 pt-20 md:pb-24 md:pt-28 lg:pt-36">
<div className="flex flex-col items-center text-center">
<Badge className="enter-rise">{landingHeroNarrative.eyebrow}</Badge>
<h1
className="enter-rise mt-7 max-w-[17ch] text-balance text-[40px] font-medium leading-[1.04] tracking-[-0.03em] text-[var(--text)] md:text-[54px] lg:text-[64px]"
style={{ animationDelay: "0.06s" }}
>
{landingHeroNarrative.titleLine1} {landingHeroNarrative.titleLine2}
</h1>
<p
className="enter-rise mt-6 max-w-[60ch] text-lg leading-relaxed text-[var(--muted)] md:text-xl"
style={{ animationDelay: "0.12s" }}
>
{landingHeroNarrative.description}
</p>
<div
className="enter-rise mt-9 flex flex-wrap items-center justify-center gap-3"
style={{ animationDelay: "0.18s" }}
>
<Button href="#download">Download</Button>
<Button href="#how-it-works" variant="ghost">
How it works
</Button>
</div>
<p
className="eyebrow enter-rise mt-6 text-sm text-[var(--muted)]"
style={{ animationDelay: "0.24s" }}
>
{landingHeroNarrative.availability}
</p>
</div>
<div className="enter-rise mt-14 md:mt-20" style={{ animationDelay: "0.3s" }}>
<MediaFrame
src="/images/dashboard.webp"
alt="AgentCompany desktop dashboard showing the quarter goal, budget, agent workload, and recent runs"
priority
/>
</div>
</Container>
</section>
);
}