-
Notifications
You must be signed in to change notification settings - Fork 0
/
Technovation2.0.html
116 lines (105 loc) · 3.26 KB
/
Technovation2.0.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
<!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>TECHNOVATION 2.0</title>
<link rel="stylesheet" href="Technovation2.0.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>
</head>
<body>
<header>
<a href="/Registation.html" target="_blank"> <button id="but">Register Now</button></a>
<p id="descrp">On 18th Oct & 19th Oct</p>
<div class="navbar">
<div class="menu-icon">☰</div>
<div class="site-menu">
<ul class="menu-list">
<li class="menu-item"><a href="/Technovation2.0.html" target="_blank">Home</a></li>
<li class="menu-item"><a href="/Registation.html" target="_blank">Registration</a></li>
<li class="menu-item"><a href="/competition.html" target="_blank">Competition</a></li>
<!-- <li class="menu-item"><a href="https://ayushh23.github.io/Result/" target="_blank">Result</a></li> -->
<li class="menu-item"><a href="/contact (2).html" target="_blank">Contact Us</a></li>
</ul>
</div>
</div>
</header>
<div class="container">
<div class="block b-1"></div>
<div class="block b-2"></div>
<div class="block b-3"></div>
<div class="block b-4"></div>
<div class="block b-5"></div>
<div class="block b-6"></div>
<div class="block b-7"></div>
</div>
<div class="overlay"></div>
<p class="title">TECHNOVATION 2K23
</p>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
<script>
// Wrap every letter in a span
var textWrapper = document.querySelector(".title");
textWrapper.innerHTML = textWrapper.textContent.replace(
/\S/g,
"<span class='letter'>$&</span>"
);
anime.timeline().add({
targets: ".title .letter",
translateY: [-200, 0],
easing: "easeOutExpo",
duration: 1400,
delay: (el, i) => 6500 + 30 * i,
});
TweenMax.staggerFrom(
".container > .block",
2,
{
y: "110%",
ease: Expo.easeInOut,
delay: 1,
},
0.4
);
TweenMax.to(".overlay", 0.5, {
y: "100%",
ease: Expo.easeInOut,
delay: 5.2,
});
TweenMax.to(".container", 2, {
scale: "2",
y: "90%",
ease: Expo.easeInOut,
delay: 5.5,
});
TweenMax.staggerFrom(
".navbar > div",
1.6,
{
opacity: 0,
y: -100,
ease: Expo.easeInOut,
delay: 6,
},
0.08
);
TweenMax.staggerFrom(
".site-menu > div",
1,
{
opacity: 0,
y: -100,
ease: Power2.easeOut,
delay: 6.5,
},
0.1
);
</script>
<div class="footer">
<a href="instagram.com" ><img src="image/newinsta.png" alt="error" class="logo" ></a>
<a href="youtube.com" ><img src="image/youtube (1).png" alt="error" class="logo" ></a>
<a href="facebook.com" ><img src="image/facebook.png" alt="error" class="logo" ></a>
</div>
</body>
</html>