Files
sweet/www/components/homepage/SectionHeading.tsx
T
Josh CollinsworthandMarvin Hagemeister e8d1a68b58 www: refresh home page (#2418)
Overhauls the Fresh homepage with a new design, new demos, and new
sections highlighting Fresh's capabilities.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-05-17 16:08:55 +02:00

12 lines
262 B
TypeScript

import { ComponentChildren } from "preact";
export function SectionHeading(
{ children }: { children: ComponentChildren },
) {
return (
<h2 class="text-3xl lg:text-4xl xl:text-5xl text-gray-600 font-bold text-balance">
{children}
</h2>
);
}