
import { Button } from '@/components/Button'
import { Container } from '@/components/Container'
import { H2 } from '@/components/text'


export function Logos() {
  return (
    <Container>
      <div className="relative z-10 py-12 items-center justify-center">
        <H2 className="">
          As seen and featured on
        </H2>
        <ul
          role="list"
          className="mt-8 flex items-center flex-wrap justify-center gap-x-8 sm:flex-col sm:gap-x-0 sm:gap-y-10 xl:flex-row xl:gap-x-12 xl:gap-y-0"
        >
          {[
            [
              { name: 'CNN', logo: '/images/logos/1.svg' },
              { name: 'HLS', logo: '/images/logos/2.svg' },
              { name: 'Bookretreats', logo: '/images/logos/3.svg' },
            ],
            [
              { name: 'Beaviajera', logo: '/images/logos/4.svg' },
              { name: 'Egytalloyd', logo: '/images/logos/5.svg' },
              { name: 'AST', logo: '/images/logos/6.svg' },
            ],
          ].map((group, groupIndex) => (
            <li key={groupIndex}>
              <ul
                role="list"
                className="flex flex-col items-center gap-y-8 sm:flex-row sm:gap-x-12 sm:gap-y-0"
              >
                {group.map((company) => (
                  <li key={company.name} className="flex">
                    <img src={company.logo} alt={company.name} width={120} height={40} />
                  </li>
                ))}
              </ul>
            </li>
          ))}
        </ul>
      </div>
    </Container>
  )
}
