SectionHero.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <script setup>
  2. useHead({
  3. link: [
  4. {
  5. rel: 'preload',
  6. as: 'image',
  7. href: '/img/hero_bg_mobile.webp',
  8. media: '(max-width: 1023px)',
  9. },
  10. {
  11. rel: 'preload',
  12. as: 'image',
  13. href: '/img/hero_bg.webp',
  14. media: '(min-width: 1024px)',
  15. },
  16. ],
  17. })
  18. </script>
  19. <template>
  20. <section class="relative bg-[url('/img/hero_bg_mobile.webp')] lg:bg-[url('/img/hero_bg.webp')] bg-black bg-cover bg-top bg-no-repeat md:bg-center h-svh flex justify-center">
  21. <AppHeader />
  22. <div class="md:hidden absolute inset-0 bg-linear-to-t from-black to-transparent z-0 pointer-events-none" />
  23. <div class="w-full lg:max-w-7xl flex flex-col md:flex-row justify-between items-center absolute bottom-7 md:bottom-20 lg:bottom-10 xl:bottom-20 px-4">
  24. <div class="flex flex-col gap-5 md:w-1/2">
  25. <NuxtImg src="/img/logo_2.png" class="hidden md:block w-[308px]" />
  26. <h1 class="text-3xl md:text-4xl lg:text-[46px] font-bold text-gradient">
  27. Não apenas planeje. Execute sua expansão internacional com segurança.
  28. </h1>
  29. </div>
  30. <div class="flex flex-col gap-5 md:w-1/2 md:max-w-[516px]">
  31. <p class="text-white text-lg md:text-xl lg:text-2xl font-medium leading-9">
  32. A Iguassu Alliance conecta sua empresa ao ecossistema de negócios do Paraguai através da 3ª edição de programa estratégico.
  33. </p>
  34. <CtaButton class="md:self-start" />
  35. </div>
  36. </div>
  37. </section>
  38. </template>