Added schedule animations

This commit is contained in:
James Dinh 2022-12-15 20:13:38 -08:00
parent 041d1512a2
commit 2701f8c0ef
2 changed files with 2 additions and 2 deletions

View File

@ -396,7 +396,7 @@
</div> </div>
<!-- Schedule --> <!-- Schedule -->
<div class="schedule-parent"> <div class="schedule-parent" id="schedule-pa">
<div class="schedule-element"> <div class="schedule-element">
<h3 class="time-column-header">Saturday</h3> <h3 class="time-column-header">Saturday</h3>
<div class="schedule-container"> <div class="schedule-container">

View File

@ -136,7 +136,7 @@ document.addEventListener('DOMContentLoaded', function(){
}); });
// Adding the class animations to these elements // Adding the class animations to these elements
let elements_id = ['#description-heading', '#event-main-box', '#timeline', '#signup-title', '#steps-card', '#sponsor-title', '#sponsor-container', '#workshops-description', '#second-podium', '#first-podium', '#third-podium', '#chart', '#prize-box', '#administration', '#logistics', '#outreach', '#tech', '#marketing']; let elements_id = ['#description-heading', '#event-main-box', '#timeline', '#signup-title', '#steps-card', '#sponsor-title', '#sponsor-container', '#schedule-pa', '#workshops-description', '#second-podium', '#first-podium', '#third-podium', '#chart', '#prize-box', '#administration', '#logistics', '#outreach', '#tech', '#marketing'];
elements_id.forEach(entry => { elements_id.forEach(entry => {
var thing = document.querySelector(entry) var thing = document.querySelector(entry)
observer.observe(document.querySelector(entry)); observer.observe(document.querySelector(entry));