-
Notifications
You must be signed in to change notification settings - Fork 4
/
demo_voscale.html
268 lines (266 loc) · 7.35 KB
/
demo_voscale.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
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9454JZDE6N"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-9454JZDE6N');
</script>
<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>Voiceful Modal Redirect</title>
<style>
@font-face {
font-family: 'Replicalltt webfont';
src: url('https://uploads-ssl.webflow.com/621dae3ca310b354c76e0abd/62f0e6972f2108b934403428_replicalltt-regular-webfont.woff2')
format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Replicalltt webfont';
src: url('https://uploads-ssl.webflow.com/621dae3ca310b354c76e0abd/62f0e6981ea8fa9481afc823_replicalltt-bold-webfont.woff2')
format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Replicalltt webfont', sans-serif;
}
.overlay-wrapper {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 32px 24px;
background-color: hsla(0, 0%, 0%, 0.35);
z-index: 9999;
}
.overlay {
display: flex;
overflow: hidden;
align-items: center;
position: relative;
width: 100%;
max-width: 600px;
height: 512px;
padding: 48px;
background-color: #fff;
border-radius: 10px;
background-color: #282a33;
color: #ffffff;
}
.overlay-content {
position: relative;
z-index: 1;
}
.logo-wrapper {
display: flex;
align-items: center;
gap: 6px;
}
.text-wrapper {
margin-bottom: 32px;
margin-top: 20px;
max-width: 380px;
}
.text-wrapper h1 {
margin: 0 0 16px 0;
font-size: 3rem;
}
.text-wrapper p {
margin: 0;
font-size: 1rem;
font-weight: 400;
}
.modal-img-wrapper {
position: absolute;
bottom: -4px;
right: 0;
}
.close-btn {
position: absolute;
top: 0;
right: 0;
padding: 24px;
cursor: pointer;
}
.hide-modal {
display: none;
}
.link-wrapper {
display: flex;
}
.link-button {
position: relative;
overflow: hidden;
padding-top: 1rem;
padding-right: 2.5rem;
padding-bottom: 1rem;
padding-left: 2.5rem;
border-top-left-radius: 8rem;
border-top-right-radius: 8rem;
border-bottom-left-radius: 8rem;
border-bottom-right-radius: 8rem;
background-color: hsla(177.88235294117646, 100%, 50%, 1);
color: hsla(0, 0%, 3.14%, 1);
text-decoration: none;
}
.link-button .button--calypso {
grid-auto-columns: 1fr;
grid-column-gap: 16px;
grid-row-gap: 16px;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;
}
/* CTA/button animation*/
.link-button {
pointer-events: auto;
border: none;
margin: 0rem;
}
.link-button::before,
.link-button::after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.button--calypso {
overflow: hidden;
border-radius: 8rem;
color: #080808;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
}
.button--calypso:hover .button-text {
animation: MoveScaleUpInitial 0.25s, MoveScaleUpEnd 0.25s 0.25s;
}
@keyframes MoveScaleUpInitial {
to {
transform: translate3d(0, -105%, 0) scale3d(1, 1, 1);
opacity: 0;
}
}
@keyframes MoveScaleUpEnd {
from {
transform: translate3d(0, 100%, 0) scale3d(1, 1, 1);
opacity: 0;
}
to {
transform: translate3d(0, 0, 0);
opacity: 1;
}
}
.button--calypso::before {
content: '';
background: #e6fffe;
width: 120%;
height: 0;
padding-bottom: 120%;
top: -110%;
left: -10%;
border-radius: 50%;
transform: translate3d(0, 68%, 0) scale3d(0, 0, 0);
}
.button--calypso:hover::before {
transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}
.button--calypso::after {
content: '';
background: #e6fffe;
transform: translate3d(0, -100%, 0);
transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}
.button--calypso:hover::after {
transform: translate3d(0, 0, 0);
transition-duration: 0.05s;
transition-delay: 0.4s;
transition-timing-function: linear;
}
.button-text {
position: relative;
z-index: 10;
font-size: 14px;
}
@media screen and (max-width: 425px) {
.overlay {
padding: 24px;
}
.text-wrapper h1 {
font-size: 2.5rem;
}
}
</style>
</head>
<body>
<div class="overlay-wrapper">
<div class="overlay">
<div class="modal-img-wrapper">
<img src="images/modal-image.png" alt="modal images" width="209" />
</div>
<div class="close-btn">
<img src="images/close-btn.png" alt="modal images" width="24" />
</div>
<div class="overlay-content">
<div class="logo-wrapper">
<img
src="images/voiceful-logo.png"
alt="Voiceful logo"
width="85.98" />
<img
src="images/arrow_left.png"
alt="right arrow icon"
width="14" />
<img
src="images/voicemod-logo.png"
alt="Voicemod logo"
width="94.66" />
</div>
<div class="text-wrapper">
<h1>Redirecting!</h1>
<p>
Attention: The Voiceful website is no longer active. We are
redirecting you to Voicemod's website.
</p>
</div>
<div class="link-wrapper">
<a
class="link-button button--calypso"
href="https://www.voicemod.net/developers/"
><div class="button-text">Let’s go!</div></a
>
</div>
</div>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.6.3.min.js"
integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU="
crossorigin="anonymous"></script>
<script>
$('.close-btn').on('click', function () {
$('.overlay-wrapper').addClass('hide-modal');
});
</script>
</body>
</html>