7
7
8
8
< title > formulaslug</ title >
9
9
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
10
+ < link rel ="icon " type ="image/x-icon " href ="favicon.ico ">
11
+
12
+ < meta charset ="UTF-8 ">
10
13
< link rel ="stylesheet " href ="Leadership.css ">
11
14
< link rel ="preconnect " href ="https://fonts.googleapis.com ">
12
15
< link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
47
50
48
51
< body >
49
52
< nav >
50
- < ul class ="nav ">
53
+ < div class ="hamburger " onclick ="toggleNav() ">
54
+ < div class ="line "> </ div >
55
+ < div class ="line "> </ div >
56
+ < div class ="line "> </ div >
57
+ </ div >
58
+ < ul class ="nav " id ="nav ">
51
59
< li > < a href ="home_page.html "> Home</ a > </ li >
52
60
< li > < a href ="how_to_join.html "> How To Join?</ a > </ li >
53
61
< li > < a href ="what_is_FSAE.html "> What Is FSAE?</ a > </ li >
54
62
< li > < div class ="logo "> < img src ="FSexpandedLogoWriting.png " alt ="Formula Slug Logo " width = "200 "> </ div > </ li >
55
63
< li > < a href ="photo_gallery.html "> Photo Gallery</ a > </ li >
56
64
< li > < a href ="sponsors.html "> Sponsors</ a > </ li >
57
65
< li > < a href ="Leadership.html "> Leadership</ a > </ li >
58
-
66
+
59
67
</ ul >
60
68
</ nav >
61
69
70
+
62
71
< h1 > Meet the Team</ h1 >
63
72
<!--Originally said "Our Team"-->
64
73
65
74
66
75
67
- < h2 class ="banner board "> Board and Management</ h2 >
76
+ < div class ="banner board "> < h2 > Board and Management</ h2 > </ div >
68
77
<!--all the portraits for captains + management leads-->
69
78
70
79
@@ -187,7 +196,7 @@ <h3 class ="member_title">Mechanical Technical Project Manager</h3>
187
196
188
197
189
198
190
- < h2 class ="banner electrical "> Electrical</ h2 >
199
+ < div class ="banner electrical "> < h2 > Electrical</ h2 > </ div >
191
200
<!--leads for electrical with team photo-->
192
201
193
202
<!--for future notice, the pictures are causing a gap in between the banner and content. the temporary fix for now is keeping the width <=80% -->
@@ -197,14 +206,11 @@ <h2 class="banner electrical">Electrical</h2>
197
206
198
207
< div class ="flex-container electrical_flex ">
199
208
200
- < div class = "item ">
201
- <!--list of names here-->
202
-
203
- < p class ="lead_name "> < b > Andrew She</ b > < em > Accumulator Lead</ em > </ p >
204
- < p class ="lead_name "> < b > Victor Kalastirsky </ b > < em > Accumulator Hardware Lead</ em > </ p >
205
-
206
-
209
+ < div class ="item ">
210
+ < p class ="lead_name "> < b > Andrew She</ b > < em > Accumulator Lead</ em > </ p >
211
+ < p class ="lead_name "> < b > Victor Kalastirsky</ b > < em > Accumulator Hardware Lead</ em > </ p >
207
212
</ div >
213
+
208
214
< div class = "item ">
209
215
<!--list of names here-->
210
216
@@ -245,7 +251,7 @@ <h2 class="banner electrical">Electrical</h2>
245
251
</ div >
246
252
247
253
248
- < h2 class ="banner mechanical "> Mechanical</ h2 >
254
+ < div class ="banner mechanical "> < h2 > Mechanical</ h2 > </ div >
249
255
<!--leads for mechanical with team photo-->
250
256
251
257
< div class ="pictures teampics "> < img src ="leadership_portraits/mechanical_default.jpg " alt ="Team Picture of Mechanical " width ="80% " > </ div >
@@ -320,9 +326,11 @@ <h2 class="banner mechanical">Mechanical</h2>
320
326
banner . style . top = `${ navBarHeight } px` ;
321
327
} )
322
328
}
323
-
324
- window . addEventListener ( 'load' , stickyBanner ) ;
329
+ if ( window . innerWidth > 768 ) {
330
+ window . addEventListener ( 'load' , stickyBanner ) ;
325
331
window . addEventListener ( 'resize' , stickyBanner ) ;
332
+ }
333
+
326
334
</ script >
327
335
328
336
<!--this script is for the name of the section sticking to the top of the page-->
@@ -355,6 +363,15 @@ <h2 class="banner mechanical">Mechanical</h2>
355
363
356
364
</ script >
357
365
366
+ < script >
367
+ function toggleNav ( ) {
368
+ var navbar = document . getElementById ( "nav" ) ;
369
+ console . log ( "Hamburger clicked!" ) ; // Debugging log to check if it runs
370
+ navbar . classList . toggle ( "show" ) ;
371
+ }
372
+
373
+ </ script >
374
+
358
375
359
376
< div class ="socials ">
360
377
< div class ="insta "> < a href ="https://www.instagram.com/formula_slug?utm_source=ig_web_button_share_sheet&igsh=ZDNlZDc0MzIxNw== " target ="_blank "> < img src ="instagram_logo.png " alt ="Instagram Logo " width = "50 "> </ a > </ div >
0 commit comments