<template>
  <div class="cv-container">
    <h1 class="cv-title">{{ content.cv.title }}</h1>
    <iframe
      :src="content.cv.file"
      class="cv-iframe"
      @load="isLoading = false"
    ></iframe>
    <div v-if="isLoading" class="cv-loading">Chargement du CV...</div>
  </div>
</template>

<script setup>
import { content } from "~/config/content";
const isLoading = ref(true);

definePageMeta({
  layout: "default",
});
</script>

<style scoped>
@import '~/assets/css/pages/cv';
</style>
