import React from 'react'; import { clsx } from 'clsx'; /** * A component meant to be used in the landing page. * A fullscreen, brand-colored section that displays a title, description and some product logos. * * It should be used to 'break' page flow & highlight content such as the product's tech features or an important selling point. */ export const LandingBandSection = ({ children, className, title, titleComponent, description, descriptionComponent, supportingComponent, withBackground = true, variant = 'primary', }: { children?: React.ReactNode; className?: string; title?: string | React.ReactNode; titleComponent?: React.ReactNode; description?: string | React.ReactNode; descriptionComponent?: React.ReactNode; supportingComponent?: React.ReactNode; withBackground?: boolean; variant?: 'primary' | 'secondary'; }) => { return (
{title ? (

{title}

) : ( titleComponent )} {description ? (

{description}

) : ( descriptionComponent )} {children}
{supportingComponent}
); };