-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsplash-prototype.html
More file actions
122 lines (104 loc) · 2.97 KB
/
splash-prototype.html
File metadata and controls
122 lines (104 loc) · 2.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirecting to Pocket Gull...</title>
<style>
body {
margin: 0;
padding: 0;
background-color: #f0f8ff;
/* Light sky blue */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
overflow: hidden;
position: relative;
}
.text-container {
z-index: 10;
text-align: center;
opacity: 0;
animation: fadeIn 1s ease-in forwards 0.5s;
}
h1 {
color: #1a365d;
font-size: 2rem;
margin-bottom: 0.5rem;
}
p {
color: #4a5568;
font-size: 1.2rem;
}
/* The Seagull */
.seagull-container {
position: absolute;
top: 40%;
left: -150px;
animation: flyAcross 4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.seagull {
width: 100px;
height: 100px;
/* Placeholder for a cool SVG seagull */
}
.seagull svg {
width: 100%;
height: 100%;
fill: #2d3748;
animation: flap 0.6s infinite alternate ease-in-out;
}
/* Animations */
@keyframes flyAcross {
0% {
transform: translate(0, 50px) scale(0.5);
}
50% {
transform: translate(50vw, -20px) scale(1.2);
}
100% {
transform: translate(120vw, -100px) scale(0.8);
}
}
@keyframes flap {
0% {
transform: scaleY(1);
}
100% {
transform: scaleY(0.4);
}
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
</style>
</head>
<body>
<div class="seagull-container">
<div class="seagull">
<!-- Simple SVG Seagull shape -->
<svg viewBox="0 0 100 50" xmlns="http://www.w3.org/2000/svg">
<path d="M10,25 Q25,5 50,25 Q75,5 90,25 Q75,15 50,25 Q25,15 10,25 Z" />
<circle cx="50" cy="25" r="3" fill="#1a365d" />
<path d="M45,25 L55,25 L50,30 Z" fill="#e2e8f0" />
</svg>
</div>
</div>
<div class="text-container">
<h1>Heading to Pocket Gull</h1>
<p>Just a quick flight over...</p>
</div>
<script>
// Redirect after the animation completes
setTimeout(() => {
window.location.href = "https://pocketgull.app";
}, 3000); // 3 seconds
</script>
</body>
</html>