upload
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 4m7s

This commit is contained in:
Tom Chien (IQ-AS)
2026-11-18 18:41:41 +08:00
parent b554c90e03
commit 5fe2ecd757
6 changed files with 100 additions and 103 deletions
+7 -1
View File
@@ -5,16 +5,22 @@ export function Section({
eyebrow,
title,
lead,
compactTop = false,
children,
}: {
id: string;
eyebrow: string;
title: string;
lead?: ReactNode;
/** Trim the top padding when the section follows another one, so the gap between them isn't doubled. */
compactTop?: boolean;
children: ReactNode;
}) {
return (
<section id={id} className="scroll-mt-16 py-16 sm:py-24">
<section
id={id}
className={`scroll-mt-16 pb-16 sm:pb-24 ${compactTop ? "pt-2 sm:pt-4" : "pt-16 sm:pt-24"}`}
>
<div className="mx-auto w-full max-w-6xl px-6">
<p className="text-sm font-semibold tracking-widest text-sky-400 uppercase">
{eyebrow}