index.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <script setup>
  2. const cosette = await $fetch('/api/cosette')
  3. </script>
  4. <template>
  5. <section class="bg-white py-8">
  6. <Upload />
  7. <Hero/>
  8. <div class="container mx-auto flex items-center flex-wrap pt-4 pb-12 px-2">
  9. <nav id="store" class="w-full z-30 top-0 px-6 py-1">
  10. <div class="w-full container mx-auto flex flex-wrap items-center justify-between mt-0 px-2 py-3">
  11. <a class="uppercase tracking-wide no-underline hover:no-underline font-bold text-yellow text-xl" href="https://it.hackmeeting.org">Hackmeeting 0x19</a>
  12. <div class="flex items-center" id="store-nav-content">
  13. <a class="pl-3 inline-block no-underline hover:text-black modal-button" href="#my-modal">
  14. <Icon-ic:baseline-add/>
  15. </a>
  16. <a class="pl-3 inline-block no-underline hover:text-black" href="#">
  17. <svg class="fill-current hover:text-black" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  18. <path d="M10,18c1.846,0,3.543-0.635,4.897-1.688l4.396,4.396l1.414-1.414l-4.396-4.396C17.365,13.543,18,11.846,18,10 c0-4.411-3.589-8-8-8s-8,3.589-8,8S5.589,18,10,18z M10,4c3.309,0,6,2.691,6,6s-2.691,6-6,6s-6-2.691-6-6S6.691,4,10,4z" />
  19. </svg>
  20. </a>
  21. </div>
  22. </div>
  23. </nav>
  24. <div class="p-10 grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 gap-5">
  25. <Cosetta v-for='cosetta in cosette' :key='cosetta.id' :cosetta='cosetta' />
  26. </div>
  27. </div>
  28. </section>
  29. </template>