import clsx from 'clsx'; import Image from '@/components/shared/Image'; import { GlowBg } from '@/components/shared/ui/glow-bg'; /** * A component for the About Us section of the landing page. * Displays heading, description, and an image. */ export function LandingAboutSection({ className, innerClassName, title = 'About Us', titleComponent, description, descriptionComponent, imageSrc = '/static/images/about-image.webp', imageAlt = 'About us image', textPosition = 'left', withBackground = false, withBackgroundGlow = false, variant = 'primary', backgroundGlowVariant = 'primary', }: { className?: string; innerClassName?: string; title?: string; titleComponent?: React.ReactNode; description?: string | React.ReactNode; descriptionComponent?: React.ReactNode; imageSrc?: string; imageAlt?: string; textPosition?: 'center' | 'left'; withBackground?: boolean; withBackgroundGlow?: boolean; variant?: 'primary' | 'secondary'; backgroundGlowVariant?: 'primary' | 'secondary'; }) { return (
{withBackgroundGlow ? (
) : null}
{title ? (

{title}

) : ( titleComponent )} {description ? (

{description}

) : ( descriptionComponent )}
{imageAlt}
); }