Alleen confetti op eerste pagina

This commit is contained in:
Romein van Buren 2025-01-08 19:37:27 +01:00
parent 9d34381680
commit ed3a243616
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,7 @@ const showFooter = computed(
) )
function showConfetti(event) { function showConfetti(event) {
if (!frontmatter.value.confetti) return
confetti({ confetti({
particleCount: 100, particleCount: 100,
spread: 100, spread: 100,

View File

@ -1,3 +1,7 @@
---
confetti: true
---
# Hallo # Hallo
Welkom bij mijn HPG-portfolio! Welkom bij mijn HPG-portfolio!