mirror of
https://github.com/VSCodium/vscodium.github.io.git
synced 2025-12-17 20:14:03 -06:00
20 lines
563 B
TypeScript
Executable File
20 lines
563 B
TypeScript
Executable File
type SectionHeaderProperties = {
|
|
title: string;
|
|
description?: string;
|
|
};
|
|
|
|
export function SectionHeader({ title, description }: SectionHeaderProperties) {
|
|
return (
|
|
<div className='flex flex-col items-center justify-center space-y-4 text-center'>
|
|
<div className='space-y-2'>
|
|
<h2 className='text-3xl font-bold tracking-tighter sm:text-5xl'>{title}</h2>
|
|
{description && (
|
|
<p className='max-w-[900px] text-muted-foreground md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed'>
|
|
{description}
|
|
</p>
|
|
)}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|