diff --git a/public/images/secret.png b/public/images/secret.png new file mode 100644 index 0000000000000000000000000000000000000000..be2804415ac56e4d72ae10bac750cdf678cd5878 Binary files /dev/null and b/public/images/secret.png differ diff --git a/src/components/HomeView.vue b/src/components/HomeView.vue index 02ad6addf14fe5ba0509f0eacc31a4856c19c502..97c420c56143adf99e2df01325ae761c2b81ea17 100644 --- a/src/components/HomeView.vue +++ b/src/components/HomeView.vue @@ -4,7 +4,7 @@ <img :src="secretActif ? '/clement.franckelemon.etu/portfolio-2025/spa/images/secret.png' : src " style="border-radius: 50%; width: 100%; height: 100%; object-fit: cover;" class="full-height full-width shadow-6" - @dblclick="secretActif = !secretActif" + @dblclick="secretActif = !secretActif && isMain" > </div> <div class="col-6 column items-center text-h2 text-bold text-secondary" :class="$q.screen.lt.md ? 'text-h4' : 'text-h2' "> @@ -25,6 +25,10 @@ defineProps({ src: { type: String, required: true + }, + isMain: { + type: Boolean, + default: false } }) diff --git a/src/pages/IndexPage.vue b/src/pages/IndexPage.vue index 2282192d5c9001849f8aff7a645ef6d5b3d73b3d..85dd3389d241f1e423f8c46d7e5d2ab277a771f3 100644 --- a/src/pages/IndexPage.vue +++ b/src/pages/IndexPage.vue @@ -6,6 +6,7 @@ second="FRANCKELEMON" accent="Alternant en 3ème année de BUT Informatique chez Nextoo" src="/clement.franckelemon.etu/portfolio-2025/spa/images/profil.png" + :is-main="true" class="q-mb-xl" /> <div id="presentation" class="col-12" /> <PresentationView class="q-mb-xl" />