---
import TestimonialsSection from '@/sections/testimonials/testimonials-section.astro';
import type { Testimonial } from '@/types/testimonials-section';

const testimonials: Testimonial[] = [
  {
    image: import('@/assets/testimonials/testimonial-1.jpeg'),
    author: 'Howard Stewart',
    relation: 'We work together as front-end developers at Google',
    content:
      'In nec mattis sem. Morbi purus lorem, euismod ac varius at, aliquet vitae augue. Pellentesque ut facilisis felis. In sed dui blandit, aliquet odio eu, elementum leo. In facilisis dapibus tortor ac volutpat. Cras cursus nec odio maximus elementum.',
    socials: [
      { name: 'GitHub', icon: 'fa6-brands:github', url: '#' },
      { name: 'LinkedIn', icon: 'fa6-brands:linkedin-in', url: '#' },
    ],
  },
  {
    image: import('@/assets/testimonials/testimonial-2.jpeg'),
    author: 'Jean Richards',
    relation: 'My project manager at GitLab',
    content:
      'Praesent nec congue elit. Vestibulum lobortis congue ipsum, a gravida mi tempus ac. Mauris aliquet purus nibh, vel varius turpis tempus non. Nullam eget ultricies orci. Quisque nulla ante, auctor eget varius ac, imperdiet nec magna.',
    socials: [{ name: 'LinkedIn', icon: 'fa6-brands:linkedin-in', url: '#' }],
  },
  {
    image: import('@/assets/testimonials/testimonial-3.jpeg'),
    author: 'Jason Fisher',
    relation: 'My customer for sidewing.com website',
    content:
      'Mauris tincidunt at purus vehicula porta. Mauris eget mollis turpis. Sed iaculis rutrum pharetra. Vivamus risus quam, suscipit et semper ut, aliquet ut tellus. Donec quis auctor nunc.',
    socials: [
      { name: 'GitHub', icon: 'fa6-brands:github', url: '#' },
      { name: 'Website', icon: 'fa6-solid:globe', url: '#' },
    ],
  },
];
---

<body class="flex justify-center bg-gray-50">
  <div class="flex w-full max-w-6xl gap-8 px-2 py-3 sm:px-8 sm:py-12 lg:ml-22 lg:px-16 lg:py-20">
    <main class="w-full space-y-4 sm:space-y-6 lg:space-y-8">
      <TestimonialsSection testimonials={testimonials} config={{ title: 'Testimonials', icon: 'fa6-solid:comment' }} />
    </main>
  </div>
</body>
