This commit is contained in:
Dejvino 2026-05-20 09:29:08 +02:00
parent e7cb2ec37a
commit 319c01c59c

View File

@ -1,4 +1,5 @@
<?php <?php
/** /**
* Content config: * Content config:
*/ */
@ -65,6 +66,7 @@ $cv_skills = $cvData['skills'] ?? [];
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title><?= $site_title ?></title> <title><?= $site_title ?></title>
@ -86,6 +88,7 @@ $cv_skills = $cvData['skills'] ?? [];
</style> </style>
<link rel="shortcut icon" href="favicon.ico"> <link rel="shortcut icon" href="favicon.ico">
</head> </head>
<body class="preload"> <body class="preload">
<main class="bento-grid"> <main class="bento-grid">
@ -182,17 +185,14 @@ if ($firstJob):
$opacity = 0.6 + (($global_i * 2) % 4) * 0.1; $opacity = 0.6 + (($global_i * 2) % 4) * 0.1;
?> ?>
<span class="tag" style="transition-delay: <?= 0.6 + ($global_i * 0.05) ?>s; font-size: <?= $fontSize ?>rem; opacity: <?= $opacity ?>;"><?= $skill ?></span> <span class="tag" style="transition-delay: <?= 0.6 + ($global_i * 0.05) ?>s; font-size: <?= $fontSize ?>rem; opacity: <?= $opacity ?>;"><?= $skill ?></span>
<?php $global_i++; endforeach; ?> <?php $global_i++;
endforeach; ?>
</div> </div>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</section> </section>
<section class="cv-section experience hidden hidden-toggle"> <section class="cv-section experience hidden hidden-toggle">
<h2>Past Experience</h2> <h2>Past Experience</h2>
<?php foreach (array_slice($cv_experience, 1) as $job): ?> <?php foreach (array_slice($cv_experience, 1) as $job): ?>
@ -233,7 +233,8 @@ if ($firstJob):
$opacity = 0.6 + (($global_i * 2) % 4) * 0.1; $opacity = 0.6 + (($global_i * 2) % 4) * 0.1;
?> ?>
<span class="tag" style="transition-delay: <?= 0.6 + ($global_i * 0.05) ?>s; font-size: <?= $fontSize ?>rem; opacity: <?= $opacity ?>;"><?= $skill ?></span> <span class="tag" style="transition-delay: <?= 0.6 + ($global_i * 0.05) ?>s; font-size: <?= $fontSize ?>rem; opacity: <?= $opacity ?>;"><?= $skill ?></span>
<?php $global_i++; endforeach; ?> <?php $global_i++;
endforeach; ?>
</div> </div>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
@ -330,10 +331,15 @@ const cvPanels = Array.from(document.querySelectorAll('.hidden-toggle')).filter(
// Only scroll to top if we are collapsing the CV and the user is scrolled down // Only scroll to top if we are collapsing the CV and the user is scrolled down
if (!e.target.checked && window.scrollY > 200) { if (!e.target.checked && window.scrollY > 200) {
window.scrollTo({ top: document.querySelector('.cv-container').offsetTop - 20, behavior: 'smooth' }); window.scrollTo({
top: document.querySelector('.cv-container').offsetTop - 20,
behavior: 'smooth'
});
} }
}); });
</script> </script>
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "90827cb740cd4b1db611be059f64daa9"}'></script><!-- End Cloudflare Web Analytics --> <!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "90827cb740cd4b1db611be059f64daa9"}'></script><!-- End Cloudflare Web Analytics -->
</body> </body>
</html> </html>