-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
159 lines (155 loc) · 5.07 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<link
rel="apple-touch-icon"
sizes="180x180"
href="./assets/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./assets/favicon-16x16.png"
/>
<link rel="manifest" href="./assets/site.webmanifest" />
<link rel="mask-icon" href="./assets/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ratata</title>
<style>
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
text-align: center;
background-color: #000; /* Pure black background */
color: #ffffff; /* White text for contrast */
padding: 40px 20px;
}
h1 {
color: #4caf50; /* Vibrant green for the headline */
font-size: 40px;
margin-bottom: 10px;
}
h2 {
color: #f44336; /* Bright red for the subheadline */
font-size: 30px;
margin-bottom: 20px;
}
p {
font-size: 18px;
line-height: 1.6;
margin-bottom: 20px;
}
.signup-form {
margin-top: 20px;
padding: 20px;
background-color: rgba(
255,
255,
255,
0.1
); /* Slightly transparent white */
border-radius: 10px;
display: inline-block;
}
input[type="email"] {
padding: 10px;
margin: 5px;
border: none;
border-radius: 5px;
width: 250px;
}
input[type="submit"] {
padding: 12px 20px;
margin: 5px;
border: none;
border-radius: 5px;
background-color: #2196f3; /* Bright blue for the button */
color: white;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
input[type="submit"]:hover {
background-color: #0d47a1; /* Darker shade of blue for hover effect */
}
footer {
font-size: 12px;
position: absolute;
left: 0;
bottom: 10px;
width: 100%;
background-color: #000;
color: #fff;
text-align: center;
}
</style>
</head>
<body>
<img
src="./assets/ratata-transparent-white.png"
alt="Ratata logo"
width="280px"
/>
<p>
Brace yourself for an innovative leap in software technology.<br />Our
upcoming product promises to redefine efficiency and creativity.
</p>
<div class="signup-form">
<p>Join our Circle of Early Sorcerers!</p>
<form id="myForm">
<input
type="email"
name="email"
placeholder="Enter your email"
/>
<input type="submit" value="Enlist Now" />
</form>
</div>
<p>
A new era of digital wizardry is about to unfold.<br />Be a part of
the revolution and stay tuned for more!
</p>
</body>
<footer>
<div>
Copyright © 2018 -
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>
Ratata Technology. All rights reserved.
</div>
</footer>
<script type="text/javascript">
document
.getElementById("myForm")
.addEventListener("submit", function (event) {
event.preventDefault();
var email = this.email.value;
fetch(
"https://us-central1-ratata-tech.cloudfunctions.net/sendToSlack",
{
method: "POST",
body: JSON.stringify({ email: email }),
headers: {
"Content-Type": "application/json",
},
},
)
.then((response) => {
console.log("Done");
})
.catch((error) => {
console.error("Error:", error);
});
});
</script>
</html>