export const Gallery = ({ logos }: { logos: Array<number> }) => {
  return (
    <section id="gallery" className="w-full py-16">
      <div className="mx-auto bg-amber-500/10 border border-amber-500/15 text-amber-500 px-3 py-1.5 rounded-full flex items-center gap-1 justify-center max-w-max text-xs mb-4">
        <span className="text-xs">⚡</span>
        Increase your creativity
      </div>
      <h3 className="max-w-4xl text-3xl text-[#aaaaaa] font-semibold mb-12 text-center mx-auto">
        See our <span className="text-white">last designs</span>.
      </h3>
      <div className="flex items-start justify-center gap-6 flex-wrap">
        {logos.map((index) => (
          <img
            key={index}
            src={`/api/images/${index}`}
            alt="Generated logo"
            className="rounded-2xl w-72 h-52 object-cover"
          />
        ))}
      </div>
    </section>
  );
};
