File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 133133 eventGroupElement . innerHTML = elements . join ( '' ) ;
134134 }
135135
136- getEvent ( '2024' ) ;
136+ const currentDate = new Date ( ) ;
137+ const currentYear = currentDate . getFullYear ( ) ;
138+
139+ getEvent ( currentYear ) ;
137140 </ script >
138141 </ body >
139142</ html >
Original file line number Diff line number Diff line change 130130 tabindex ="-1 "
131131 >
132132 < div class ="py-1 " role ="none ">
133+ < a
134+ href ="./events.html "
135+ class ="block px-4 py-2 text-sm text-gray-700 "
136+ role ="menuitem "
137+ tabindex ="-1 "
138+ id ="menu-item-1 "
139+ > 2025热点事件</ a
140+ >
141+
133142 < a
134143 href ="./events2024.html "
135144 class ="block px-4 py-2 text-sm text-gray-700 "
172181 </ nav >
173182 < div class ="flex flex-1 items-center justify-end md:text-xs lg:text-base ">
174183 < span class ="lg:-m-2.5 lg:p-2.5 text-gray-600 hover:text-gray-500 ">
175- 24年12月4日更新
184+ 25年2月3日更新
176185 </ span >
177186 </ div >
178187 </ div >
You can’t perform that action at this time.
0 commit comments