This commit is contained in:
2026-08-06 11:18:12 +02:00
parent 70ce1c3efa
commit abcc01f717
3 changed files with 27 additions and 3 deletions
+3 -1
View File
@@ -34,7 +34,8 @@ function startHeroTypewriter(nameEl, fullName, restEls) {
const fullName = nameEl.textContent.trim();
nameEl.textContent = '';
// Hide hero elements that reveal after typing
// Hide hero elements that reveal after typing. They're already hidden by the
// .js pre-reveal block in style.css; this just adds the transition.
restEls.forEach(el => el.classList.add('fade-up'));
startHeroTypewriter(nameEl, fullName, restEls);
@@ -194,6 +195,7 @@ function startHeroTypewriter(nameEl, fullName, restEls) {
// ── Scroll fade-in ─────────────────────────────────────────────
(function () {
// Keep this list in sync with the .js pre-reveal block in style.css
const targets = document.querySelectorAll(
'.section-header, .about-grid, .skill-card, .timeline-item, ' +
'.project-card, .edu-card'