-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
176 lines (154 loc) · 5.06 KB
/
Copy pathindex.html
File metadata and controls
176 lines (154 loc) · 5.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>VectorCrop - Software Development Agency.</title>
<meta property="og:title" content="VectorCrop - Software Development Agency.">
<meta property="og:description"
content="inspire the next || Meet your future goals with VectorCrop. || We will deliver you marketing and technology solutions in the best way.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="assets/images/logo.png" type="image/x-icon">
<link rel="icon" href="assets/images/logo.png" type="image/x-icon">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/animate.css">
<link rel="stylesheet" href="assets/css/fontawesome-all.css">
<link rel="stylesheet" href="assets/css/owl.carousel.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/dark-version.css">
<link rel="stylesheet" href="assets/css/smm.css">
<meta property="og:image" content="https://www.vectorcrop.com/social.jpg">
<meta property="og:image:secure_url" content="https://www.vectorcrop.com/social.jpg">
<meta property="og:image:alt" content="VectorCrop">
</head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3987679242106578"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
<style>
html,
body {
background-color: black;
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
.ml3 {
text-align: center;
justify-content: center;
align-items: center;
}
.ml4 {
text-align: center;
}
.float {
position: fixed;
width: 60px;
height: 60px;
bottom: 40px;
right: 40px;
background-color: rgb(0, 0, 0);
color: #FFF;
border-radius: 50px;
text-align: center;
border: 1px;
}
.float::before {
content: "Contact Us";
position: absolute;
top: 50%;
right: calc(100% + 0px);
/* Adjust the distance from the button */
transform: translateY(-50%);
background-color: #292929;
color: #FFF;
width: 170%;
padding: 8px;
border-radius: 4px;
display: none;
}
.float:hover::before {
display: block;
}
.my-float {
margin-top: 22px;
color: #696969;
}
.fade-in {
opacity: 0;
animation: fadeIn 4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
width: 10%;
}
@media only screen and (max-width: 600px) {
.fade-in {
width: 22%;
}
h5 {
font-size: 17px;
}
p {
font-size: 12px;
}
}
@keyframes fadeIn {
from {
opacity: 0;
/* Starting opacity */
}
to {
opacity: 1;
/* Ending opacity */
}
}
</style>
<body>
<a href="mailto:[email protected]" class="float">
<i class="fa fa-link my-float"></i>
</a>
<div class="container">
<center> <img class="mb-3 fade-in" src="img.png"></center>
<h5 class="ml3 text-white">We're taking time out for maintenace!</h5>
<p class="ml4 text-white">We hope to be back soon.</p>
</div>
<script>
// Wrap every letter in a span
var textWrapper1 = document.querySelector('.ml3');
textWrapper1.innerHTML = textWrapper1.textContent.replace(/\S/g, "<span class='letter'>$&</span>");
var textWrapper2 = document.querySelector('.ml4');
textWrapper2.innerHTML = textWrapper2.textContent.replace(/\S/g, "<span class='letter'>$&</span>");
var timeline1 = anime.timeline({ loop: true })
.add({
targets: '.ml3 .letter',
opacity: [0, 1],
easing: "easeInOutQuad",
duration: 1250,
delay: (el, i) => 150 * (i + 1)
}).add({
targets: '.ml3',
opacity: 0,
duration: 1000,
easing: "easeOutExpo",
delay: 100000
});
var timeline2 = anime.timeline({ loop: true })
.add({
targets: '.ml4 .letter',
opacity: [0, 1],
easing: "easeInOutQuad",
duration: 10050,
delay: (el, i) => 150 * (i + 1) + 2000 // Adjust the delay to start after timeline1 completes
}).add({
targets: '.ml4',
opacity: 0,
duration: 1000,
easing: "easeOutExpo",
delay: 100000
});
// Add a complete callback to timeline1
timeline1.complete = function () {
// Start timeline2 when timeline1 is complete
timeline2.play();
};
</script>
</body>
</html>