|
1 | | -import { ArrowUpRight, BadgeCheck } from "lucide-react"; |
| 1 | +import { ArrowUpRight, BadgeCheck } from "lucide-react"; |
2 | 2 |
|
3 | | -import { BenchmarkMatrix } from "@/components/BenchmarkMatrix"; |
| 3 | +import { MultimodalMatrix } from "@/components/MultimodalMatrix"; |
4 | 4 | import { StatsStrip } from "@/components/StatsStrip"; |
5 | 5 | import { Button } from "@/components/ui/button"; |
| 6 | +import { multimodalMatrix } from "@/data/multimodalMatrix"; |
6 | 7 | import type { HeroMetric, LinkItem } from "@/lib/types"; |
7 | 8 |
|
8 | 9 | type HeroSectionProps = { |
@@ -32,40 +33,44 @@ export function HeroSection({ |
32 | 33 | <div className="absolute left-1/2 top-[-240px] h-[560px] w-[760px] -translate-x-1/2 rounded-full bg-[radial-gradient(circle_at_center,rgba(56,189,248,0.22),rgba(59,130,246,0.08),transparent_72%)]" /> |
33 | 34 | <div className="absolute inset-0 bg-[linear-gradient(to_bottom,rgba(255,255,255,0),rgba(255,255,255,1)_78%)]" /> |
34 | 35 | </div> |
| 36 | + |
35 | 37 | <div className="container pb-16"> |
36 | | - <div className="grid items-start gap-8 lg:grid-cols-[1.25fr_1fr]"> |
37 | | - <div className="max-w-4xl"> |
38 | | - <p className="text-sm font-medium tracking-wide text-primary">Official Project Page</p> |
39 | | - <h1 className="mt-4 text-balance text-4xl font-semibold tracking-tight text-foreground md:text-6xl">{title}</h1> |
40 | | - <p className="mt-4 max-w-3xl text-balance text-lg text-muted-foreground md:text-2xl">{subtitle}</p> |
41 | | - <p className="mt-4 text-pretty text-base font-medium text-foreground md:text-lg"> |
42 | | - Benchmarking Web Coding Agents Across Multimodal Inputs and Full Development Lifecycle |
43 | | - </p> |
44 | | - <p className="mt-4 max-w-3xl text-pretty leading-relaxed text-muted-foreground">{tagline}</p> |
45 | | - <div className="mt-6 space-y-1 text-sm text-muted-foreground"> |
46 | | - <p>{authors}</p> |
47 | | - <p>{affiliations}</p> |
48 | | - </div> |
49 | | - <div className="mt-8 flex flex-wrap items-center gap-3"> |
50 | | - {links.map((link, index) => ( |
51 | | - <Button key={link.label} asChild variant={index === 0 ? "default" : "outline"}> |
52 | | - <a href={link.href} target={link.href.startsWith("#") ? "_self" : "_blank"} rel="noreferrer"> |
53 | | - {link.label} |
54 | | - <ArrowUpRight className="h-4 w-4" /> |
55 | | - </a> |
56 | | - </Button> |
57 | | - ))} |
58 | | - <Button asChild variant="secondary"> |
59 | | - <a href={arxivBadge} target="_blank" rel="noreferrer"> |
60 | | - <BadgeCheck className="h-4 w-4" /> |
61 | | - arXiv Badge (Placeholder) |
| 38 | + <div className="mx-auto max-w-4xl text-center"> |
| 39 | + <p className="text-sm font-medium tracking-wide text-primary">Official Project Page</p> |
| 40 | + <h1 className="mt-4 text-balance text-4xl font-semibold tracking-tight text-foreground md:text-6xl">{title}</h1> |
| 41 | + <p className="mt-4 text-balance text-lg text-muted-foreground md:text-2xl">{subtitle}</p> |
| 42 | + <p className="mt-4 text-pretty text-base font-medium text-foreground md:text-lg"> |
| 43 | + Benchmarking Web Coding Agents Across Multimodal Inputs and Full Development Lifecycle |
| 44 | + </p> |
| 45 | + <p className="mt-4 text-pretty leading-relaxed text-muted-foreground">{tagline}</p> |
| 46 | + <div className="mt-6 space-y-1 text-sm text-muted-foreground"> |
| 47 | + <p>{authors}</p> |
| 48 | + <p>{affiliations}</p> |
| 49 | + </div> |
| 50 | + |
| 51 | + <div className="mt-8 flex flex-wrap items-center justify-center gap-3"> |
| 52 | + {links.map((link, index) => ( |
| 53 | + <Button key={link.label} asChild variant={index === 0 ? "default" : "outline"}> |
| 54 | + <a href={link.href} target={link.href.startsWith("#") ? "_self" : "_blank"} rel="noreferrer"> |
| 55 | + {link.label} |
| 56 | + <ArrowUpRight className="h-4 w-4" /> |
62 | 57 | </a> |
63 | 58 | </Button> |
64 | | - </div> |
| 59 | + ))} |
| 60 | + <Button asChild variant="secondary"> |
| 61 | + <a href={arxivBadge} target="_blank" rel="noreferrer"> |
| 62 | + <BadgeCheck className="h-4 w-4" /> |
| 63 | + arXiv Badge (Placeholder) |
| 64 | + </a> |
| 65 | + </Button> |
65 | 66 | </div> |
66 | | - <BenchmarkMatrix compact /> |
67 | 67 | </div> |
68 | | - <div className="mx-auto mt-12 max-w-5xl"> |
| 68 | + |
| 69 | + <div className="mx-auto mt-10 w-full max-w-7xl"> |
| 70 | + <MultimodalMatrix data={multimodalMatrix} /> |
| 71 | + </div> |
| 72 | + |
| 73 | + <div className="mx-auto mt-10 max-w-6xl"> |
69 | 74 | <StatsStrip metrics={metrics} /> |
70 | 75 | </div> |
71 | 76 | </div> |
|
0 commit comments