🐐
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user