"use client"; import { HTMLAttributes, ReactNode } from "react"; interface BackgroundSectionProps extends HTMLAttributes { children: ReactNode; backgroundImage: string; overlay?: boolean; } export default function BackgroundSection({ children, backgroundImage, overlay = true, className = "", ...props }: BackgroundSectionProps) { return (
{/* Background Image */}
{/* Dark overlay for readability */} {overlay && (
)}
{/* Content */}
{children}
); }