18
18
< meta property ="twitter:url " content ="https://thecawnporemag.github.io/gallery.html ">
19
19
< meta property ="twitter:title " content ="Historical Gallery - The Cawnpore Magazine | Visual Archive of Kanpur ">
20
20
< meta property ="twitter:description " content ="Explore our visual archive of historical photographs, maps, and documents related to Kanpur's rich heritage. ">
21
- < meta property =" twitter:image " content =" https://thecawnporemag.github.io/assets/images/gallery-og.jpg ">
21
+ < link rel =" stylesheet " href =" style.css ">
22
22
< link rel ="stylesheet " href ="gallery.css " />
23
- < link rel =" stylesheet " href =" style.css " / >
23
+ < meta property =" twitter:image " content =" https://thecawnporemag.github.io/assets/images/gallery-og.jpg " >
24
24
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css ">
25
25
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css " integrity ="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A== " crossorigin ="anonymous " referrerpolicy ="no-referrer " />
26
26
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css "
27
27
/>
28
28
< link rel ="icon " href ="assets/favicon.ico " type ="image/x-icon " />
29
29
</ head >
30
30
< body >
31
- < nav role ="navigation " aria-label ="Main Menu ">
32
- <!-- Logo on the left -->
33
- < a href ="index.html ">
34
- < img src ="assets/favicon.ico " alt ="Logo " class ="navbar-logo " />
35
- </ a >
36
-
37
- < div class ="nav-links " id ="navLinks ">
38
- < i class ="fa fa-times " onclick ="hideMenu() "> </ i >
31
+ < nav role ="navigation " aria-label ="Main Menu ">
32
+ <!-- Logo on the left -->
33
+ < a href ="index.html ">
34
+ < img src ="assets/favicon.ico " alt ="Logo " class ="navbar-logo " />
35
+ </ a >
36
+
37
+ < div class ="nav-links " id ="navLinks ">
38
+ < i class ="fa fa-times " onclick ="hideMenu() "> </ i >
39
39
< ul >
40
40
41
41
< li > < a href ="index.html "> HOME</ a > </ li >
52
52
< li > < a href ="login.html " class ="btn "> LOGIN</ a > </ li >
53
53
< li > < a href ="signup.html " class ="btn "> REGISTER</ a > </ li >
54
54
</ ul >
55
- </ div >
55
+ </ div >
56
56
57
- < i class ="fa fa-bars " onclick ="showMenu() "> </ i >
58
- </ nav >
57
+ < i class ="fa fa-bars " onclick ="showMenu() "> </ i >
59
58
59
+ </ nav >
60
60
< button
61
61
onclick ="history.back() "
62
62
style ="
@@ -351,6 +351,15 @@ <h3>Subscribe to our Newsletter</h3>
351
351
}
352
352
353
353
animateCircles ( ) ;
354
+ function showMenu ( ) {
355
+ document . getElementById ( "navLinks" ) . style . right = "0" ;
356
+ document . body . style . overflow = "hidden" ;
357
+ }
358
+
359
+ function hideMenu ( ) {
360
+ document . getElementById ( "navLinks" ) . style . right = "-200px" ;
361
+ document . body . style . overflow = "auto" ;
362
+ }
354
363
</ script >
355
364
</ body >
356
365
</ html >
0 commit comments