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

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

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

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