-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
372 lines (365 loc) · 10.3 KB
/
index.html
File metadata and controls
372 lines (365 loc) · 10.3 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
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
---
layout: null
toc: false
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Engineering 100-950</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
padding-top: 0;
}
.navbar {
background-color: #00274C;
overflow: hidden;
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
display: flex;
align-items: center;
padding: 10px 0;
transition: padding 0.3s;
}
.navbar.shrink {
padding: 4px 0;
}
.navbar img.logo {
height: 50px;
margin-left: 10px;
transition: height 0.3s;
}
.navbar.shrink img.logo {
height: 30px;
}
.navbar ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
margin-left: auto;
justify-content: flex-end;
}
.navbar li {
position: relative;
}
.navbar a {
display: block;
color: #FFCB05;
padding: 14px 20px;
text-decoration: none;
font-weight: bold;
}
.navbar li:hover > a {
background-color: #001d38;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #00274C;
min-width: 160px;
z-index: 1;
}
.dropdown-content li {
width: 100%;
}
.dropdown-content a {
padding: 12px 16px;
}
.dropdown:hover .dropdown-content {
display: block;
}
.hero {
position: relative;
text-align: center;
color: #fff;
height: 80vh;
overflow: hidden;
}
.hero > img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
filter: brightness(60%);
}
.hero-text h1 {
font-size: clamp(2.5rem, 5vw, 4rem);
margin: 0.2em 0;
}
.hero-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
text-align: center;
}
.hero-text p {
margin: 0.2em 0;
font-size: 1.2em;
}
.hero-text img.eng-logo {
width: 250px;
display: block;
margin: 25px auto 0;
}
.calendar {
margin: 40px auto;
text-align: center;
}
.calendar iframe {
width: 100%;
max-width: 100%;
}
.calendar-section {
max-width: 1000px;
margin: 40px auto;
padding: 0 20px;
color: #00274C;
text-align: center;
}
.about, .links {
max-width: 1000px;
margin: 40px auto;
color: #00274C;
padding: 0 20px;
}
.links {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 20px;
}
.link-group h3 {
margin-top: 0;
color: #00274C;
}
.button-link {
display: inline-block;
margin-top: 10px;
padding: 10px 16px;
background-color: #FFCB05;
color: #00274C;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.2s, transform 0.2s;
}
.button-link:hover {
background-color: #e1b700;
transform: translateY(-2px);
}
@media (max-width: 600px) {
.navbar {
flex-direction: row;
align-items: center;
}
.navbar img.logo {
display: none;
}
.nav-links {
flex-direction: row;
width: auto;
display: flex;
margin: 0 auto;
justify-content: center;
}
.navbar li {
width: auto;
}
.navbar a {
padding: 10px;
}
.dropdown-content {
display: none;
}
}
.hall-of-fame {
max-width: 1000px;
margin: 40px auto;
padding: 0 20px;
color: #00274C;
text-align: center;
}
.hall-of-fame h2 {
margin-top: 0;
margin-bottom: 0.5em;
}
.hall-of-fame p.intro {
margin-top: 0;
margin-bottom: 1.5em;
}
.hof-window {
position: relative;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
background-color: #f8f9fb;
padding: 16px;
}
.hof-item {
display: none;
}
.hof-item.active {
display: block;
}
.hof-image {
width: 100%;
height: auto;
max-height: 380px;
object-fit:contain;
border-radius: 6px;
}
.hof-description {
margin-top: 12px;
}
.hof-description h3 {
margin: 0 0 0.25em;
color: #00274C;
}
.hof-description p {
margin: 0;
}
</style>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PLHNP1Y00C"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PLHNP1Y00C');
</script>
</head>
<body>
<nav class="navbar">
<a class="logo-link" href="{{ '/' | relative_url }}">
<img class="logo" src="{{ '/media/umich-coe3.png' | relative_url }}" alt="University of Michigan, College of Engineering">
</a>
<ul class="nav-links">
<li><a href="{{ '/syllabus' | relative_url }}">Syllabus</a></li>
<li><a href="{{ '/labs/' | relative_url }}">Labs</a></li>
<li><a href="{{ '/project/project' | relative_url }}">Project</a></li>
<li><a href="{{ '/staff' | relative_url }}">Staff</a></li>
<li><a href="{{ '/facilities' | relative_url }}">Facilities</a></li>
</ul>
</nav>
<div class="hero">
<img src="{{ '/media/soldering-lab1.png' | relative_url }}" alt="Soldering Lab Image">
<div class="hero-text">
<h1>Engineering 100-950</h1>
<p>Electronics for Atmospheric & Space Measurements</p>
<img class="eng-logo" src="{{ '/media/umich-coe4.png' | relative_url }}" alt="University of Michigan, College of Engineering">
</div>
</div>
<section class="about">
<h2>Welcome to Engineering 100-950!</h2>
<p>Over the course of the next semester, you will be learning how to solder, program Arduino micro-controllers, design circuit boards, create 3D CAD files, and launch high-altitude weather balloons!</p>
<p>This webpage serves as the homepage for this class. From here, you can access any resources you may need, including the syllabus, labs, and more.</p>
</section>
<section class="links">
<div class="link-group">
<h3>Syllabus</h3>
<p>Learn about course policies and the weekly schedule.</p>
<a class="button-link" href="{{ '/syllabus' | relative_url }}">View Syllabus</a>
</div>
<div class="link-group">
<h3>Labs</h3>
<p>The labs will be made publicly visible as they are released in the week leading up to lab.</p>
<a class="button-link" href="{{ '/labs/' | relative_url }}">Go to Labs</a>
</div>
<div class="link-group">
<h3>Solder Challenge</h3>
<p>Soldering tutorial and challenge to gain or improve soldering abilities.</p>
<a class="button-link" href="{{ '/soldering/solder-challenge' | relative_url }}">Soldering Challenge</a>
</div>
<div class="link-group">
<h3>Project</h3>
<p>The full project specification, including PDR, Go/No-Go tests, poster, and final report.</p>
<a class="button-link" href="{{ '/project/project' | relative_url }}">Project Spec</a>
</div>
<div class="link-group">
<h3>Tutorials</h3>
<p>View all walk-through tutorials on how to install, use, and debug resources we are using.</p>
<a class="button-link" href="{{ '/tutorials' | relative_url }}">View Tutorials</a>
</div>
<div class="link-group">
<h3>Supplemental Resources</h3>
<p>Reference pages that may be useful, like C++/Arduino cheat-sheet, Arduino pinout diagrams, and more.</p>
<a class="button-link" href="{{ '/resources' | relative_url }}">Supplemental Resources</a>
</div>
</section>
<section class="hall-of-fame">
<h2>Weather Balloons Hall of Fame W26</h2>
<p class="intro">YOU COULD BE HERE</p>
<div class="hof-window">
<div class="hof-item active">
<img
src="{{ '/media/web-page-under-construction.png' | relative_url }}"
alt="Team 01 weather balloons"
class="hof-image"
>
<div class="hof-description">
<h3>Team XX – Team Name Here</h3>
<p>Short description of the team!</p>
</div>
</div>
<div class="hof-item">
<img
src="{{ '/media/web-page-under-construction-1.png' | relative_url }}"
alt="Team 02 weather balloons"
class="hof-image"
>
<div class="hof-description">
<h3>Team XX – Team Name Here</h3>
<p>Short description of the team!</p>
</div>
</div>
<div class="hof-item">
<img
src="{{ '/media/web-page-under-construction-2.png' | relative_url }}"
alt="Team 03 weather balloons"
class="hof-image"
>
<div class="hof-description">
<h3>Team XX – Team Name Here</h3>
<p>Short description of the team!</p>
</div>
</div>
</div>
</section>
<section class="calendar-section">
<h2>Course Calendar</h2>
<p>Stay up to date with lectures, labs, office hours, and due dates.</p>
<div class="calendar">
<iframe src="https://calendar.google.com/calendar/embed?src=c_04c98b0d94f41460574970b8cef77cd82f99cbd86e0ccdc0a3a9172c645a60e6%40group.calendar.google.com&ctz=America%2FNew_York" title="Engineering 100-950 Course Calendar" style="border: 0" height="600" frameborder="0" scrolling="no"></iframe>
</div>
</section>
<script>
window.addEventListener('scroll', function() {
var navbar = document.querySelector('.navbar');
if (window.scrollY > 50) {
navbar.classList.add('shrink');
} else {
navbar.classList.remove('shrink');
}
});
// Hall of Fame rotation
document.addEventListener('DOMContentLoaded', function() {
var items = document.querySelectorAll('.hof-item');
if (!items.length) return;
var index = 0;
items[index].classList.add('active');
setInterval(function() {
items[index].classList.remove('active');
index = (index + 1) % items.length;
items[index].classList.add('active');
}, 1000); // change slide every 10 seconds
});
</script>
</body>
</html>