This commit is contained in:
2026-01-30 00:23:38 +01:00
parent 28d99abf39
commit 5587317e9f
3 changed files with 272 additions and 137 deletions

View File

@@ -10,7 +10,6 @@ interface SectionProps {
variant?: 'white' | 'gray';
borderTop?: boolean;
connector?: React.ReactNode;
illustration?: React.ReactNode;
}
export const Section: React.FC<SectionProps> = ({
@@ -22,7 +21,6 @@ export const Section: React.FC<SectionProps> = ({
variant = 'white',
borderTop = false,
connector,
illustration,
}) => {
const bgClass = variant === 'gray' ? 'bg-slate-50' : 'bg-white';
const borderClass = borderTop ? 'border-t border-slate-100' : '';
@@ -58,13 +56,6 @@ export const Section: React.FC<SectionProps> = ({
</div>
</Reveal>
)}
{illustration && (
<Reveal delay={delay + 0.2}>
<div className="pt-12 opacity-20 group-hover:opacity-100 transition-opacity duration-700">
{illustration}
</div>
</Reveal>
)}
</div>
</div>