forked from anubhav2202/imaze-22.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.html
143 lines (134 loc) · 4.14 KB
/
page.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
<!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 | Imaze'22</title>
<link rel="stylesheet" href="page.css" />
</head>
<body>
<video
src="./background-Eventmainpage/Pexels Videos 2611250 (1).mp4"
muted
loop
autoplay
playsinline
class="bgclip"
></video>
<!-- <video src="./tech.mp4" muted loop autoplay class="clip"></video>
<video src="./pexels-rostislav-uzunov-5680034.mp4" muted loop autoplay class="clip2"></video> -->
<div class="nav-container">
<nav>
<a href="./index.html">
<img
src="./images-Eventmainpage/No bgImaze final white.png"
alt=""
id="logo"
/>
</a>
<div class="nav-links" id="navLinks">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
onclick="hideMenu()"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
<ul>
<li><a href="./index.html" onclick="hideMenu()">Home</a></li>
<li><a href="./page.html" onclick="hideMenu()">Events</a></li>
<li><a href="./test4.html" onclick="hideMenu()">Team</a></li>
<li><a href="./about.html" onclick="hideMenu()">About Us</a></li>
<li><a href="#" onclick="hideMenu()">Download Apk</a></li>
</ul>
</div>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 fa-bars"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
onclick="showMenu()"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M4 6h16M4 12h16M4 18h16"
/>
</svg>
<!-- <img src="./open.jpeg" alt="" class="fa fa-bars" onclick="showMenu()" /> -->
</nav>
</div>
<div class="container">
<!-- <div class="cards"> -->
<a href="./tech.html">
<div class="card card1">
<div class="box">
<div class="content">
<img src="./images-Eventmainpage/Web tech Events.jpg" />
</div>
</div>
</div>
</a>
<a href="./nontech.html">
<div class="card card2">
<div class="box">
<div class="content">
<img src="./images-Eventmainpage/Web Non Technical.jpg" alt="" />
</div>
</div>
</div>
</a>
<a href="./others.html">
<div class="card card3">
<div class="box">
<div class="content">
<img src="./images-Eventmainpage/Web Other Events.jpg" alt="" />
</div>
</div>
</div>
</a>
<!-- </div> -->
</div>
<script>
// const bgclip = document.querySelector(".bgclip");
const clip = document.querySelector(".clip");
const clip2 = document.querySelector(".clip2");
const card1 = document.querySelector(".card1");
const card2 = document.querySelector(".card2");
var navLinks = document.getElementById("navLinks");
const bars = document.querySelector(".fa-bars");
function showMenu() {
navLinks.style.right = "0";
bars.classList.add("hidden");
}
function hideMenu() {
navLinks.style.right = "-250px";
bars.classList.remove("hidden");
}
// bgclip.playbackRate = 0.6;
card1.addEventListener("mouseover", () => {
clip.style.opacity = 1;
});
card1.addEventListener("mouseout", () => {
clip.style.opacity = 0;
});
card2.addEventListener("mouseover", () => {
clip2.style.opacity = 1;
});
card2.addEventListener("mouseout", () => {
clip2.style.opacity = 0;
});
</script>
</body>
</html>