You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
892 B
29 lines
892 B
|
1 month ago
|
import React from "react";
|
||
|
|
import type { PartnersData } from "../types";
|
||
|
|
|
||
|
|
interface PartnersSectionProps {
|
||
|
|
data: PartnersData;
|
||
|
|
}
|
||
|
|
|
||
|
|
export function PartnersSection({ data }: PartnersSectionProps) {
|
||
|
|
|
||
|
|
return (
|
||
|
|
<section id="partners" className="py-10 md:py-14 border-t border-[rgba(255,255,255,0.02)]">
|
||
|
|
<div className="max-w-[1200px] mx-auto px-4 md:px-6">
|
||
|
|
<h2 className="text-lg md:text-xl mb-4 md:mb-[18px] text-white">{data.title}</h2>
|
||
|
|
<div className="flex flex-wrap gap-3 md:gap-[18px] items-center">
|
||
|
|
{data.partners.map((partner, idx) => (
|
||
|
|
<div
|
||
|
|
key={idx}
|
||
|
|
className="px-4 md:px-[22px] py-2 md:py-4 bg-[rgba(255,255,255,0.02)] rounded-md text-huilong-muted font-semibold text-sm md:text-base"
|
||
|
|
>
|
||
|
|
{partner}
|
||
|
|
</div>
|
||
|
|
))}
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|