fix: initIntroAnimation을 DOM ready 이후 실행

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
이희원 2026-06-20 04:36:09 +09:00
parent dd15c77479
commit 1131c287f5
1 changed files with 1 additions and 2 deletions

View File

@ -5,9 +5,8 @@ import { initIntroAnimation } from "./introAnimation.js";
gsap.registerPlugin(ScrollTrigger); gsap.registerPlugin(ScrollTrigger);
initIntroAnimation();
$(function () { $(function () {
initIntroAnimation();
const $gnb = $("#gnb"); const $gnb = $("#gnb");
const $hamburger = $(".gnb__hamburger"); const $hamburger = $(".gnb__hamburger");
const $mobileNav = $(".gnb__mobileNav"); const $mobileNav = $(".gnb__mobileNav");