diff --git a/index.php b/index.php index a29ff19..daff932 100644 --- a/index.php +++ b/index.php @@ -211,7 +211,7 @@ $cv_skills = $cvData['cv']['skills'] ?? [];
$href): ?> - +
@@ -222,42 +222,6 @@ $cv_skills = $cvData['cv']['skills'] ?? []; - - -
- -
- $item): ?> -
- - <?= htmlspecialchars($item['name']) ?> - -

-
- -
-
- -
@@ -364,34 +328,6 @@ $cv_skills = $cvData['cv']['skills'] ?? []; const el = document.getElementById("contact-mail"); if (el) el.innerHTML = `${addr}`; })('', 'dejvino', 'cz'); - - // Interests Showcase Logic - (() => { - const slides = document.querySelectorAll('.interest-slide'); - const labels = document.querySelectorAll('.interests-nav li'); - if (!slides.length) return; - - let currentIndex = 0; - let interval = setInterval(next, 5000); - - function show(index) { - slides.forEach(s => s.classList.remove('active')); - labels.forEach(l => l.classList.remove('active')); - slides[index].classList.add('active'); - labels[index].classList.add('active'); - currentIndex = index; - } - - function next() { show((currentIndex + 1) % slides.length); } - - labels.forEach((label, i) => { - label.addEventListener('click', () => { - show(i); - clearInterval(interval); - interval = setInterval(next, 8000); // Slower auto-switch after manual interaction - }); - }); - })(); diff --git a/style.css b/style.css index 055acb5..835815b 100644 --- a/style.css +++ b/style.css @@ -431,7 +431,7 @@ body { display: none; } -.pill-cv-only-print { +.cv-container .pill-cv { display: none; } @@ -1219,7 +1219,7 @@ body.cv-mode { margin-left: 2px !important; } - .pill-cv-only-print { + .pill-cv { display: inline-flex !important; }