Initial commit: fristy.net personal site
Build & Push / Lint & Build (push) Successful in 1m14s
Build & Push / Build & Push Image (push) Canceled after 1m36s

This commit is contained in:
fristy committed 2026-09-10 04:54:34 +03:00
commit eb20d470e0
51 files changed
+6052

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import type { ReactNode } from "react";
export function SectionHeading({
kicker,
title,
subtitle,
action,
}: {
kicker: string;
title: string;
subtitle?: string;
action?: ReactNode;
}) {
return (
<div className="mb-8">
<p className="font-mono text-sm text-blurple-soft">
{"// "}
{kicker}
</p>
<div className="mt-1 flex flex-wrap items-end justify-between gap-3">
<h2 className="text-3xl font-bold tracking-tight">{title}</h2>
{action}
</div>
{subtitle ? <p className="mt-2 max-w-xl text-zinc-400">{subtitle}</p> : null}
</div>
);
}