website refactor

This commit is contained in:
2026-01-16 01:00:03 +01:00
parent ce7be39155
commit a98e3e3166
286 changed files with 5522 additions and 5261 deletions

View File

@@ -13,6 +13,7 @@ interface SectionProps {
variant?: 'default' | 'card' | 'highlight' | 'dark' | 'light';
id?: string;
py?: number;
minHeight?: string;
}
export function Section({
@@ -22,7 +23,8 @@ export function Section({
description,
variant = 'default',
id,
py = 16
py = 16,
minHeight
}: SectionProps) {
const variantClasses = {
default: '',
@@ -38,7 +40,7 @@ export function Section({
].filter(Boolean).join(' ');
return (
<Box as="section" id={id} className={classes} py={py as 0} px={4}>
<Box as="section" id={id} className={classes} py={py as 0} px={4} minHeight={minHeight}>
<Box className="mx-auto max-w-7xl">
{(title || description) && (
<Box mb={8}>