-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschedule.html
More file actions
154 lines (146 loc) · 5.29 KB
/
schedule.html
File metadata and controls
154 lines (146 loc) · 5.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Schedule - Winter of Code</title>
<link rel="icon" href="./icons/WOC_LOGO_FINAL.png" type="image/x-icon">
<link rel="stylesheet" href="timelinestyle.css">
</head>
<body>
<header>
<div class="nav-container">
<div class="nav-socials">
<a href="wwwi.google.com" target="_blank" rel="noreferrer">
<img src="./icons/WOC_LOGO_FINAL.png" alt="WOC" width="200" height="200">
</a>
</div>
<nav id="navigation">
<ul class="nav-main">
<li><a href="./index.html" class="nav-link">Home</a></li>
<li><a href="#speaker" class="nav-link">Speakers</a></li>
<li><a href="#prizes" class="nav-link">Prizes</a></li>
<li><a href="./schedule.html" class="nav-link nav-current">Schedule</a></li>
<li><a href="./meet_the_team.html" class="nav-link">Team</a></li>
<li><a href="./rules.html" class="nav-link">Rules</a></li>
<li><a href="./faq.html" class="nav-link">FAQs</a></li>
</ul>
</nav>
</div>
</header>
<section class="timeline-section">
<div class="container">
<!-- Timeline Header -->
<div class="Timeline__header">
<h2>Timeline</h2>
<p class="heading--title">
Here is the breakdown of the time we anticipate <br />
using for the upcoming event.
</p>
</div>
<div class="Timeline__content">
<div class="Timeline__item">
<div class="Timeline__text">
<h3>Occasion 1</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Corporis, explicabo.
</p>
<span class="circle">1</span>
</div>
<h3 class="Timeline__date">12 Dec. 2023</h3>
</div>
<div class="Timeline__item">
<div class="Timeline__text">
<h3>Occasion 2</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Corporis, explicabo.
</p>
<span class="circle">2</span>
</div>
<h3 class="Timeline__date">12 Dec. 2023</h3>
</div>
<div class="Timeline__item">
<div class="Timeline__text">
<h3>Occasion 3</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Corporis, explicabo.
</p>
<span class="circle">3</span>
</div>
<h3 class="Timeline__date">12 Dec. 2023</h3>
</div>
<div class="Timeline__item">
<div class="Timeline__text">
<h3>Occasion 4</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Corporis, explicabo.
</p>
<span class="circle">4</span>
</div>
<h3 class="Timeline__date">12 Dec. 2023</h3>
</div>
<div class="Timeline__item">
<div class="Timeline__text">
<h3>Occasion 5</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Corporis, explicabo.
</p>
<span class="circle">5</span>
</div>
<h3 class="Timeline__date">12 Dec. 2023</h3>
</div>
<div class="Timeline__item">
<div class="Timeline__text">
<h3>Occasion 6</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Corporis, explicabo.
</p>
<span class="circle">6</span>
</div>
<h3 class="Timeline__date">12 Dec. 2023</h3>
</div>
</div>
</div>
</section>
<footer>
<p>© 2023 Tech Researchers Club VIT'C. Made with 🖤️ by Tech Researchers Club VIT'C. All rights reserved.</p>
</footer>
<script>
:wqdocument.addEventListener("DOMContentLoaded", () => {
// Select all timeline items
const timelineItems = document.querySelectorAll(".Timeline__item");
// Hide all timeline items initially
timelineItems.forEach((item) => {
item.style.opacity = 0;
item.style.transition = "opacity 0.6s ease-out";
});
// Intersection Observer Callback
const fadeInOnScroll = (entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.style.opacity = 1;
}
});
};
// Intersection Observer Options
const options = {
root: null, // uses the viewport as root
rootMargin: "0px",
threshold: 0.1, // 10% of the item should be visible
};
// Creating Intersection Observer
const observer = new IntersectionObserver(fadeInOnScroll, options);
// Observing each timeline item
timelineItems.forEach((item) => {
observer.observe(item);
});
});
</script>
</body>
</html>