1+ < div
2+ x-bind:class ="{'bg-blue-normal shadow duration-100': !at_top || is_open_mobile_nav} "
3+ class ="md:hidden fixed top-0 left-0 right-0 z-30 w-full h-fit px-6 py-2.5 transition-all duration-300 "
4+ >
5+ < div
6+ @click ="is_open_mobile_nav = true "
7+ x-bind:class ="(at_top && !is_open_mobile_nav) ? 'hidden' : 'flex justify-center w-full' "
8+ class ="absolute top-0 left-0 pt-2.5 flex justify-center "
9+ >
10+ < span class ="w-10 h-10 "> {% include images/topBgMobile.svg %}</ span >
11+ </ div >
12+ < button
13+ @click ="is_open_mobile_nav = !is_open_mobile_nav "
14+ type ="button "
15+ class ="rounded-md p-1 text-white text-2xl hover:bg-white/10 transition-colors w-10 h-10 "
16+ >
17+ < span class ="w-10 h-10 text-white "
18+ > {% include icons/navBarIcon.svg %}</ span
19+ >
20+ </ button >
21+
22+ <!-- mobile menu -->
23+ < div
24+ x-show ="is_open_mobile_nav "
25+ x-transition:enter ="transition ease-out duration-100 "
26+ x-transition:enter-start ="transform opacity-0 scale-95 "
27+ x-transition:enter-end ="transform opacity-100 scale-100 "
28+ x-transition:leave ="transition ease-in duration-75 "
29+ x-transition:leave-start ="transform opacity-100 scale-100 "
30+ x-transition:leave-end ="transform opacity-0 scale-95 "
31+ class ="mt-6 flow-root "
32+ @click.away ="is_open_mobile_nav = false "
33+ >
34+ < div class ="-my-6 divide-y divide-white/10 ">
35+ < div class ="space-y-2 py-6 ">
36+ < a
37+ href ="#speakers "
38+ @click.prevent ="scrollToSection('speakers') "
39+ class ="-mx-3 block px-3 py-2 font-semibold leading-7 text-white hover:text-red-light transition-colors "
40+ >
41+ SPEAKERS
42+ </ a >
43+ < a
44+ href ="#schedule "
45+ @click.prevent ="scrollToSection('schedule') "
46+ class ="-mx-3 block px-3 py-2 font-semibold leading-7 text-white hover:text-red-light transition-colors "
47+ >
48+ SCHEDULE
49+ </ a >
50+ < a
51+ href ="#venue "
52+ @click.prevent ="scrollToSection('venue') "
53+ class ="-mx-3 block px-3 py-2 font-semibold leading-7 text-white hover:text-red-light transition-colors "
54+ >
55+ VENUE
56+ </ a >
57+ < a
58+ href ="#party "
59+ @click.prevent ="scrollToSection('party') "
60+ class ="-mx-3 block px-3 py-2 font-semibold leading-7 text-white hover:text-red-light transition-colors "
61+ >
62+ PARTY
63+ </ a >
64+ < a
65+ href ="#coscup "
66+ @click.prevent ="scrollToSection('coscup') "
67+ class ="-mx-3 block px-3 py-2 font-semibold leading-7 text-white hover:text-red-light transition-colors "
68+ >
69+ COSCUP
70+ </ a >
71+ </ div >
72+ </ div >
73+ </ div >
74+ </ div >
75+
76+ < div
77+ class ="lg:pl-57.5 md:pl-40 w-full h-full flex justify-end-safe items-start md:items-center overflow-hidden "
78+ >
79+ < span class ="grow hidden md:block w-screen max-w-[1240px] h-fit "
80+ > {% include images/topBg.svg %}</ span
81+ >
82+ < span class ="block md:hidden w-screen h-auto "
83+ > {% include images/topBgMobile.svg %}</ span
84+ >
85+ </ div >
86+ < section
87+ id ="top "
88+ class ="relative w-fit h-fit py-10 md:absolute z-10 top-0 md:left-16 left-5 md:pr-32 flex flex-col items-center md:gap-7 xl:gap-20 gap-4 md:items-start justify-between overflow-hidden "
89+ data-aos ="fade-up "
90+ data-aos-duration ="1000 "
91+ data-aos-easing ="ease-in-out "
92+ data-aos-once ="true "
93+ >
94+ < div
95+ class ="hidden md:flex flex-col space-y-2 w-fit font-extrabold text-xl "
96+ data-aos ="fade-right "
97+ >
98+ < a
99+ href ="#speakers "
100+ class ="nav-link transition-colors cursor-pointer text-red-light-active hover:text-red-light-hover "
101+ @click.prevent ="scrollToSection('speakers') "
102+ > SPEAKERS</ a
103+ >
104+ < a
105+ href ="#schedule "
106+ class ="nav-link transition-colors cursor-pointer text-red-light-active hover:text-red-light-hover "
107+ @click.prevent ="scrollToSection('schedule') "
108+ > SCHEDULE</ a
109+ >
110+ < a
111+ href ="#venue "
112+ class ="nav-link transition-colors cursor-pointer text-red-light-active hover:text-red-light-hover "
113+ @click.prevent ="scrollToSection('venue') "
114+ > VENUE</ a
115+ >
116+ < a
117+ href ="#party "
118+ class ="nav-link transition-colors cursor-pointer text-red-light-active hover:text-red-light-hover "
119+ @click.prevent ="scrollToSection('party') "
120+ > PARTY</ a
121+ >
122+ < a
123+ href ="#coscup "
124+ class ="nav-link transition-colors cursor-pointer text-red-light-active hover:text-red-light-hover "
125+ @click.prevent ="scrollToSection('coscup') "
126+ > COSCUP</ a
127+ >
128+ </ div >
129+ < div class ="text-start font-extrabold text-green-darker md:max-w-md ">
130+ < p class ="lg:text-4xl sm:text-3xl text-xl "> 2025/08/09-10</ p >
131+ < p class ="mt-2 md:mt-4 lg:text-4xl sm:text-3xl text-xl ">
132+ National Taiwan University < br />
133+ of < br />
134+ Science and Technology
135+ </ p >
136+ < p class ="mt-2 text-green-normal font-bold "> Free Entry</ p >
137+ </ div >
138+ < a
139+ href ="#speakers "
140+ aria-label ="scroll down "
141+ @click.prevent ="scrollToSection('speakers') "
142+ class ="hidden md:block md:w-9 md:h-19 w-6 h-14 animate-bounce cursor-pointer "
143+ data-aos ="fade-up "
144+ data-aos-duration ="1000 "
145+ data-aos-easing ="ease-in "
146+ data-aos-delay ="1000 "
147+ >
148+ {% include icons/arrowDown.svg %}
149+ </ a >
150+ </ section >
0 commit comments