'use client'; import React from 'react'; import { Panel } from '@/ui/Panel'; import { Glow } from '@/ui/Glow'; import { Stack } from '@/ui/Stack'; import { Grid } from '@/ui/Grid'; import { Container } from '@/ui/Container'; import { Heading } from '@/ui/Heading'; import { Section } from '@/ui/Section'; interface HomeFeatureSectionProps { heading: string; description: React.ReactNode; mockup: React.ReactNode; layout: 'text-left' | 'text-right'; accentColor?: 'primary' | 'aqua' | 'amber'; } /** * HomeFeatureSection - A semantic section highlighting a feature. */ export function HomeFeatureSection({ heading, description, mockup, layout, accentColor = 'primary', }: HomeFeatureSectionProps) { const glowColor = ({ primary: 'primary', aqua: 'aqua', amber: 'amber', }[accentColor] || 'primary') as 'primary' | 'aqua' | 'amber' | 'purple'; return (
{/* Text Content */} {heading} {description} {/* Mockup Panel */} {mockup}
); }