import { PartnerLogoPlaceholder } from "@/components/brand/PartnerLogoPlaceholder";

export function PartnerMarquee() {
  const slots = Array.from({ length: 8 }, (_, i) => i);

  return (
    <section className="relative overflow-hidden border-y border-border bg-white py-8">
      <p className="mb-6 text-center text-xs font-semibold uppercase tracking-widest text-muted-foreground">
        With the support of
      </p>
      <div className="overflow-hidden">
        <div className="marquee flex shrink-0 items-center gap-8">
          {[...slots, ...slots].map((i) => (
            <PartnerLogoPlaceholder key={i} size="sm" className="shrink-0" />
          ))}
        </div>
      </div>
    </section>
  );
}
