Files
YeonGyu-Kim 4d5f58f0c3 refactor(web): decompose 832-LOC landing into 10 section components
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.
2026-05-20 14:27:02 +09:00

41 lines
1.5 KiB
TypeScript

import type { JSX } from "react"
import { getTranslations } from "next-intl/server"
import { Card, CardContent } from "@/components/ui/card"
import { Star } from "lucide-react"
import { REVIEW_KEYS } from "@/components/landing/constants"
export async function ReviewsSection(): Promise<JSX.Element> {
const t = await getTranslations("landing")
return (
<section className="border-t border-white/5 bg-[#0a0a0a] py-24" data-section="reviews">
<div className="reveal-on-enter container mx-auto px-4 md:px-6">
<div>
<h2 className="mb-16 text-center text-4xl font-bold text-white md:text-5xl">
{t("reviews.title")}
</h2>
</div>
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
{REVIEW_KEYS.map((key) => (
<div key={key}>
<Card className="h-full border-zinc-800 bg-zinc-900/30">
<CardContent className="pt-6">
<div className="mb-4 text-cyan-500">
<Star className="h-5 w-5 fill-cyan-500" />
</div>
<p className="mb-6 leading-relaxed text-zinc-300 italic">
&ldquo;{t(`reviews.${key}.text`)}&rdquo;
</p>
<p className="text-sm font-medium text-zinc-400">
{t(`reviews.${key}.author`)}
</p>
</CardContent>
</Card>
</div>
))}
</div>
</div>
</section>
)
}