Logo 6
standard3 ColumnsText Align CenterLogosAward Logos List SectionClient Logos List SectionPartner Logos List Section

Code
relume-logo6.tsx
type ImageProps = {
src: string;
alt?: string;
};
type Props = {
heading: string;
logos: ImageProps[];
};
export type Logo6Props = React.ComponentPropsWithoutRef<"section"> & Partial<Props>;
export const Logo6 = (props: Logo6Props) => {
const { heading, logos } = {
...Logo6Defaults,
...props,
};
return (
<section className="px-[5%] py-12 md:py-16 lg:py-20">
<div className="container">
<h1 className="mx-auto mb-8 w-full max-w-lg text-center text-h6 font-bold md:mb-10">
{heading}
</h1>
<div className="grid grid-cols-2 gap-2 md:grid-cols-3">
{logos.map((logo, index) => (
<div
key={index}
className="flex w-full items-start justify-center justify-self-center rounded-card bg-scheme-foreground px-4 pt-3.5 pb-4 md:p-3.5"
>
<img src={logo.src} className="max-h-12 md:max-h-14" alt={logo.alt} />
</div>
))}
</div>
</div>
</section>
);
};
export const Logo6Defaults: Props = {
heading: "Used by the world's leading companies",
logos: [
{ src: "https://d22po4pjz3o32e.cloudfront.net/webflow-logo.svg", alt: "Webflow logo 1" },
{ src: "https://d22po4pjz3o32e.cloudfront.net/relume-logo.svg", alt: "Relume logo 1" },
{ src: "https://d22po4pjz3o32e.cloudfront.net/webflow-logo.svg", alt: "Webflow logo 2" },
{ src: "https://d22po4pjz3o32e.cloudfront.net/relume-logo.svg", alt: "Relume logo 2" },
{ src: "https://d22po4pjz3o32e.cloudfront.net/webflow-logo.svg", alt: "Webflow logo 3" },
{ src: "https://d22po4pjz3o32e.cloudfront.net/relume-logo.svg", alt: "Relume logo 3" },
],
};npm i @radix-ui/react-accordion @radix-ui/react-dialog @radix-ui/react-slot @radix-ui/react-tabs class-variance-authority@0.7.1 clsx@^2.1.1 embla-carousel-react@^8.5.2 motion@^12.15.0 relume-icons@1.3.0 tailwind-merge@^2.2.2


