4d5f58f0c3
app/_components/landing-page.tsx: 832 LOC -> 33-LOC composition shell. Each section becomes a focused, named component under components/landing/sections/: - hero.tsx: terminal headline + install command + primary CTA - ultrawork.tsx: ultrawork mode pitch - sisyphus.tsx: Sisyphus orchestrator showcase - prometheus-atlas.tsx: planner + executor pair (was amber+indigo, now violet — single secondary accent) - hephaestus.tsx: code surgeon (was orange, now cyan) - team-mode.tsx: parallel team coordination (was fuchsia/purple/cyan gradient, now solid cyan headline + violet skills accent) - sub-agents.tsx: explore/librarian/oracle/multimodal etc. - architecture.tsx: 4-tier diagram - reviews.tsx: testimonials (Star kept text-cyan-500 / fill-cyan-500, on-brand) - cta.tsx: final call-to-action components/landing/constants.ts (new): - SUB_AGENT_KEYS, AGENT_STYLES, PRINCIPLE_KEYS, PRINCIPLE_ICONS, REVIEW_KEYS, CATEGORY_ROUTING, SKILL_INJECTIONS - Single source of truth for agent/principle/review metadata used across sections components/icons/github-icon.tsx (new): - Extracted inline SVG into a typed component with default aria-hidden and overridable size/className Color consolidation: 9-color rainbow per-section -> cyan (primary) + violet (secondary, agent identity) + neutral grays + status colors only. 'Evolution not revolution': dark + cyan brand soul intact.
37 lines
1.5 KiB
TypeScript
37 lines
1.5 KiB
TypeScript
import type { Metadata } from "next"
|
|
import type { JSX } from "react"
|
|
import { ArchitectureSection } from "@/components/landing/sections/architecture"
|
|
import { CtaSection } from "@/components/landing/sections/cta"
|
|
import { HephaestusSection } from "@/components/landing/sections/hephaestus"
|
|
import { HeroSection } from "@/components/landing/sections/hero"
|
|
import { PrometheusAtlasSection } from "@/components/landing/sections/prometheus-atlas"
|
|
import { ReviewsSection } from "@/components/landing/sections/reviews"
|
|
import { SisyphusSection } from "@/components/landing/sections/sisyphus"
|
|
import { SubAgentsSection } from "@/components/landing/sections/sub-agents"
|
|
import { TeamModeSection } from "@/components/landing/sections/team-mode"
|
|
import { UltraworkSection } from "@/components/landing/sections/ultrawork"
|
|
|
|
export const landingMetadata: Metadata = {
|
|
title: "Oh My OpenAgent — The Best Agent Harness",
|
|
description:
|
|
"Meet Sisyphus: The batteries-included agent that codes like you. Multi-model orchestration, Team Mode, background agents, 54+ lifecycle hooks.",
|
|
}
|
|
|
|
export async function LandingPage(): Promise<JSX.Element> {
|
|
return (
|
|
<div className="flex min-h-screen flex-col overflow-x-hidden">
|
|
<link rel="preload" as="image" href="/images/hero.webp" fetchPriority="low" />
|
|
<HeroSection />
|
|
<UltraworkSection />
|
|
<SisyphusSection />
|
|
<PrometheusAtlasSection />
|
|
<HephaestusSection />
|
|
<TeamModeSection />
|
|
<SubAgentsSection />
|
|
<ArchitectureSection />
|
|
<ReviewsSection />
|
|
<CtaSection />
|
|
</div>
|
|
)
|
|
}
|