-
Notifications
You must be signed in to change notification settings - Fork 64
/
events.html
227 lines (211 loc) · 8.27 KB
/
events.html
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Events</title>
<link
href="https://fonts.googleapis.com/css2?family=Delius+Unicase:wght@700&family=Lobster&family=Lora:ital@0;1&family=Noto+Serif:ital@1&family=Roboto+Serif:ital,opsz,wght@1,8..144,100&family=Roboto+Slab&family=Source+Sans+Pro:ital,wght@0,600;1,600&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/57b10b301b.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"
/>
<link
href="https://fonts.googleapis.com/css2?family=Delius+Unicase:wght@700&family=Lobster&family=Lora:ital@0;1&family=Noto+Serif:ital@1&family=Roboto+Serif:ital,opsz,wght@1,8..144,100&family=Roboto+Slab&family=Source+Sans+Pro:ital,wght@0,600;1,600&display=swap"
rel="stylesheet"
/>
<style>
.container h1{
text-align: center;
font-family: inherit;
background-color: #058da8;
padding: 15px;
margin-top: 0;
}
.container{
background-color: lightskyblue;
padding: 20px;
}
.event {
border: 2px solid #ccc;
padding: 10px;
margin: 10px;
background-color: #fff;
border-radius: 5px;
}
.event h2 {
color: #058da8;
}
.event p {
margin: 0;
}
.event a {
color: #058da8;
text-decoration: none;
font-weight: bold;
}
.upcoming-events {
margin-top: 20px;
border: 2px solid #ccc;
max-height: 70ch;
overflow-y: scroll;
}
.PastEvents {
background-color: white;
font-size: 20px;
border: 1px solid lightgray;
padding: 17px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
max-height: 30ch;
overflow-y: scroll;
border: 2px solid #ccc;
padding: 10px;
margin: 10px;
border-radius: 5px;
}
.PastEvents h1{
font-size: x-large;
}
.PastEvents h2 {
font-size: 24px;
}
.PastEvents ul{
list-style-type:square;
padding-top: 0ch;
}
.PastEvents li{
padding-top: 0.8ch;
}
.PastEvents a{
color: black;
text-decoration: none;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg" id="nav">
<a class="navbar-brand" href="index.html">
<img src="./logo.jpeg" alt="NOSC's logo"class="logo"/>
</a>
<button class="navbar-toggler" style="background-color: white;" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars" id="hamburger_navbar"></i>
</button>
<div class="navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link nav_link" href="index.html">Home<span class="sr-only">(current)</span></a>
</li>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html#myteam-section">Know Our Team</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="policy.html">Privacy & Policy</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
</ul>
</div>
</nav>
<div class="container ">
<h1>Events</h1>
<div class="events">
<div class="event" id="event1" data-event-name="First Event on Open Source" data-event-date="October 15, 2023">
<h2>First Event on Open Source</h2>
<p>Date: October 15, 2023</p>
<p>Description: This is the first event on open source. Join us for an informative session.</p>
<button class="custom-button subscribe-button" onclick="subscribeToEvent('event1')">Subscribe</button>
<button class="custom-button unsubscribe-button" onclick="unsubscribeFromEvent('event1')">Unsubscribe</button>
<a href="/event1.html">More Details</a>
</div>
<div class="event" id="event2" data-event-name="Linux Install Fest" data-event-date="November 5, 2023">
<h2>Linux Install Fest</h2>
<p>Date: November 5, 2023</p>
<p>Description: Get hands-on experience with Linux at our Install Fest event.</p>
<button class="custom-button subscribe-button" onclick="subscribeToEvent('event2')">Subscribe</button>
<button class="custom-button unsubscribe-button" onclick="unsubscribeFromEvent('event2')">Unsubscribe</button>
<a href="#">More Details</a>
</div>
</div>
<div id="notification-container" style="display: none; ">
<div class="notification-reminder">Reminder</div>
</div>
<div class="upcoming-events">
<h1>Upcoming Events</h1>
<div class="event">
<h2>Coding Challenge Marathon</h2>
<p>Date: December 10, 2023</p>
<p>Description: Test your coding skills in our coding challenge marathon.</p>
<a href="#">More Details</a>
</div>
<div class="event">
<h2>Web Development Workshop</h2>
<p>Date: January 20, 2024</p>
<p>Description: Learn the latest web development technologies in our workshop.</p>
<a href="#">More Details</a>
</div>
<div class="event">
<h2>Placeholder Event 3</h2>
<p>Date: April 25, 2024</p>
<p>Description: Yet another placeholder event for testing.</p>
<a href="#">More Details</a>
</div>
<div class="event">
<h2>Placeholder Event 4</h2>
<p>Date: April 25, 2024</p>
<p>Description: Yet another placeholder event for testing.</p>
<a href="#">More Details</a>
</div>
<div class="event">
<h2>Placeholder Event 5</h2>
<p>Date: April 25, 2024</p>
<p>Description: Yet another placeholder event for testing.</p>
<a href="#">More Details</a>
</div>
<div class="event">
<h2>Placeholder Event 6</h2>
<p>Date: April 25, 2024</p>
<p>Description: Yet another placeholder event for testing.</p>
<a href="#">More Details</a>
</div>
</div>
<div class="PastEvents">
<h1>Past Events</h1>
<div class="event-list">
<select id="filter">
<option value="All">All</option>
<option value="speaker-session">Speaker Session</option>
<option value="Coding Fest">Coding Fest</option>
<option value="Hackathon">Hackathon</option>
</select>
<ul id="event-list"></ul>
</div>
</div>
</div>
<script src="index.js"></script>
<script src="past-events.js"></script>
</body>
</html>