import { GlowBg } from '@/components/shared/ui/glow-bg'; import clsx from 'clsx'; /** * A component meant to be used in the landing page. * It displays text and a grid of logos/images, optionally showcasing the companies that use the product, integrations etc. */ export const LandingShowcase = ({ children, className, innerClassName, title, titleComponent, description, descriptionComponent, textPosition = 'left', withBackground = false, withBackgroundGlow = false, variant = 'primary', backgroundGlowVariant = 'primary', }: { children?: React.ReactNode; className?: string; innerClassName?: string; title?: string | React.ReactNode; titleComponent?: React.ReactNode; description?: string | React.ReactNode; descriptionComponent?: React.ReactNode; textPosition?: 'left' | 'right'; withBackground?: boolean; withBackgroundGlow?: boolean; variant?: 'primary' | 'secondary'; backgroundGlowVariant?: 'primary' | 'secondary'; }) => { return (
{title ? (

{title}

) : ( titleComponent )} {description ? (

{description}

) : ( descriptionComponent )}
{withBackgroundGlow ? (
) : null} {children ? (
{children}
) : null}
); };