mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 21:05:06 +03:00
23 lines
679 B
TypeScript
23 lines
679 B
TypeScript
const SectionHeader = (props: any) => {
|
|
return (
|
|
<div className={props.className}>
|
|
<div className="space-y-4">
|
|
<span className="text-foreground-lighter block font-mono text-xs uppercase tracking-widest">
|
|
{props.subtitle}
|
|
</span>
|
|
<h3 className="h2 lg:max-w-xl">
|
|
<span>{props.title}</span>
|
|
{props.title_alt && (
|
|
<span className="text-foreground-light inline">{props.title_alt}</span>
|
|
)}
|
|
</h3>
|
|
</div>
|
|
{props.paragraph && (
|
|
<p className="text-foreground-lighter max-w-3xl text-lg sm:mt-4">{props.paragraph}</p>
|
|
)}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default SectionHeader
|