Files
storfwirt-reutte-2026-02-23-v1/website/src/components/Section.tsx
1elle1 c36bc49cdd feat: add restaurant and about us pages with animated sections
- Implemented RestaurantPage with features, atmosphere, gallery, and contact CTA.
- Created UeberUnsPage detailing the history, values, and team of Storfwirt.
- Added AnimatedSection component for smooth animations on scroll.
- Introduced ContactCTA component for event inquiries.
- Developed ContactForm component for user inquiries with validation.
- Created Footer and Header components for site navigation and branding.
- Added PlaceholderImage and Section components for consistent layout.
- Configured TypeScript settings in tsconfig.json for improved development experience.
2026-02-23 17:29:53 +01:00

14 lines
353 B
TypeScript

interface SectionProps {
children: React.ReactNode;
className?: string;
id?: string;
}
export function Section({ children, className = "", id }: SectionProps) {
return (
<section id={id} className={`py-16 sm:py-20 lg:py-24 ${className}`}>
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">{children}</div>
</section>
);
}