Moves the Next.js app's contents from new-site/ to the repository root and deletes the previous Hugo site (assets/, content/, themes/, hugo.toml, etc.). Also retires the AWS Amplify config and old Netlify _redirects file — the new site deploys to Vercel. Updates STRATEGY.md path references to drop the new-site/ prefix. LICENSE preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
51 lines
987 B
TypeScript
51 lines
987 B
TypeScript
import { cn } from "@/lib/cn";
|
|
import type { ReactNode } from "react";
|
|
|
|
export function Eyebrow({
|
|
children,
|
|
className,
|
|
}: {
|
|
children: ReactNode;
|
|
className?: string;
|
|
}) {
|
|
return (
|
|
<p
|
|
className={cn(
|
|
"text-xs font-medium uppercase tracking-[0.18em] text-accent",
|
|
className,
|
|
)}
|
|
>
|
|
{children}
|
|
</p>
|
|
);
|
|
}
|
|
|
|
export function SectionHeading({
|
|
eyebrow,
|
|
title,
|
|
subtitle,
|
|
align = "left",
|
|
}: {
|
|
eyebrow?: string;
|
|
title: ReactNode;
|
|
subtitle?: ReactNode;
|
|
align?: "left" | "center";
|
|
}) {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
"max-w-2xl space-y-4",
|
|
align === "center" && "mx-auto text-center",
|
|
)}
|
|
>
|
|
{eyebrow ? <Eyebrow>{eyebrow}</Eyebrow> : null}
|
|
<h2 className="font-serif text-3xl font-semibold tracking-tight text-ink sm:text-4xl">
|
|
{title}
|
|
</h2>
|
|
{subtitle ? (
|
|
<p className="text-lg leading-relaxed text-ink-soft">{subtitle}</p>
|
|
) : null}
|
|
</div>
|
|
);
|
|
}
|