<template>
  <section class="section">
    <h2 class="title">La semaine prochaine</h2>
    <MovieCardFull :film="nextFilm" />
  </section>
  <section class="section">
    <h2 class="title">Et après</h2>
  </section>
</template>

<script setup lang="ts">
import { Film } from "~/composables/types"

const nextFilm = ref<Film>()
nextFilm.value = (await apiGet(`films/1/`)).data.value
</script>
