Bruno Predot

Ajout navigation vers le détail.

@@ -70,6 +70,7 @@ onMounted(() => { @@ -70,6 +70,7 @@ onMounted(() => {
70 v-for="movie in movies" 70 v-for="movie in movies"
71 :key="movie.id" 71 :key="movie.id"
72 class="bg-gray-800 rounded-lg overflow-hidden shadow-lg transition-transform duration-300 hover:scale-105 cursor-pointer" 72 class="bg-gray-800 rounded-lg overflow-hidden shadow-lg transition-transform duration-300 hover:scale-105 cursor-pointer"
  73 + @click="navigateTo(`/movies/${movie.id}`)"
73 > 74 >
74 <div class="relative pb-[150%]"> 75 <div class="relative pb-[150%]">
75 <img 76 <img
@@ -49,4 +49,4 @@ const searchQuery = ref(""); @@ -49,4 +49,4 @@ const searchQuery = ref("");
49 </section> 49 </section>
50 </template> 50 </template>
51 51
52 -<style scoped></style> 52 +<style scoped></style>