-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
251 lines (246 loc) · 8.32 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js"></script>
<script type="text/javascript">
(function () {
emailjs.init("1YfX1bf10CDgws1ZY");
})();
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flickity/3.0.0/flickity.pkgd.min.js"></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/flickity/3.0.0/flickity.css"
integrity="sha512-TZTUnuHs1njGko8PJqZlHzqZTZd880A+BvhR1jy1v4mWB4VFKVLG/eK9LYdDjxqNLmttSC1ygmqg6rkYjnEgaQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/flickity/3.0.0/flickity.min.css"
integrity="sha512-fJcFDOQo2+/Ke365m0NMCZt5uGYEWSxth3wg2i0dXu7A1jQfz9T4hdzz6nkzwmJdOdkcS8jmy2lWGaRXl+nFMQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/flickity/3.0.0/flickity.pkgd.js"
integrity="sha512-IugMlI4mO8p/jg/cnoe/Duv6i6nkTHmiu8O4/Faqvt413HbCyacKTOBZZCutsGQStTUgd2vPbM3K3oiKSlSD9Q=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script type="text/javascript">
window.onload = function () {
document
.getElementById("contact-us-form")
.addEventListener("submit", function (event) {
event.preventDefault();
const message_data = {
name: this.name.value,
email: this.email.value,
phone_number: this.phone_number.value,
solution: this.solution.value,
from_name: this.name.value,
reply_to: this.email.value,
};
emailjs
.send("service_x810khm", "template_yswcf7a", message_data)
.then(
function () {
alert("Email sent successfully");
},
function (error) {
console.log(error);
}
);
});
};
</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" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="./js/cards.css" />
<title>Floating Point</title>
<!-- Google tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-237328335-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-237328335-1");
</script>
</head>
<body>
<div class="navbox" id="navshow">
<ul class="navlist">
<li class="navbuttons">
<img class="navicons" src="assets\navhome.png" alt="" /><a
href="#"
style="text-decoration: none"
>Home</a
>
</li>
<li class="navbuttons">
<img class="navicons" src="assets\services.png" alt="" /><a
href="#cards"
style="text-decoration: none"
>Services</a
>
</li>
<li class="navbuttons">
<img class="navicons" src="assets\navabout.png" alt="" /><a
href="#about"
style="text-decoration: none"
>About</a
>
</li>
<li class="navbuttons">
<img class="navicons" src="assets\navcontact.png" alt="" /><a
href="#contact"
style="text-decoration: none"
>Contacts</a
>
</li>
</ul>
</div>
<div class="navparent">
<div class="nav " id="navcolour">
<div class="m-auto-nav">
<div class="nav-left">
<img src="assets\logo.png" class="logo" alt="logo" />
</div>
<div class="menu-btn">
<div class="menu-btn__burger"></div>
</div>
<ul class="navmenu">
<li class="navlinks">
<a href="#" style="text-decoration: none">Home</a>
</li>
<li class="navlinks">
<a href="#cards" style="text-decoration: none">Services</a>
</li>
<li class="navlinks">
<a href="#about" style="text-decoration: none">About</a>
</li>
<li class="navlinks">
<a href="#contact" style="text-decoration: none">Contacts</a>
</li>
</ul>
</div>
</div>
</div>
<!-- <div class="home"> -->
<div class="maintext">
<div class="text">
<div class="bigsubtext">99</div>
<div class="subtext">problems <br/>and need <br> solutions?</div>
<br>
<!-- <p class="quote">We focus on the solutions, <br/>not on the problems!</p> -->
<div class="rotate-words">
<span style="--d: 0s">website development.</span>
<span style="--d: 4s">application development.</span>
<span style="--d: 8s">logo design.</span>
<span style="--d: 12s">t-shirt & merchandise design.</span>
<span style="--d: 16s">ui/ux design.</span>
<span style="--d: 20s">cloud computing.</span>
</div>
</div>
<div>
<img src="assets/Website_Creator-bro.svg" alt="hero-page-image">
</div>
</div>
<!-- </div> -->
<div id="cards"></div>
<div class="round-container bggrad">
<div class="m-auto-cont">
<h1 id="about">About Us</h1>
<p class="about-us">
We can build new digital products from grounds up, or upgrade existing
ones to cope with new demands and growing user base. And we can also
do it all the way down to the smallest detail. Floating Point is a
team of creative and passionate people who love to create, design and
develop.
</p>
</div>
</div>
<div class="round-container bggrad" id="contact">
<div class="m-auto-cont">
<h1>Hit us up!</h1>
<div class="form-container">
<form action="" class="form" id="contact-us-form">
<p class="contact-us-text">
<label>Hey, my name is</label>
<input
class="input"
type="text"
name="name"
id="name"
placeholder="your name"
required
/>
, and I'm looking for
<input
type="search"
list="solutions"
name="solution"
id="solution"
placeholder="this service"
class="input"
required
/>
<datalist id="solutions">
<option value="Web"></option>
<option value="App"></option>
<option value="Graphic Designing"></option></datalist
>.<br />
Get in touch with me at
<input
class="input"
type="email"
name="email"
id="email"
placeholder="your email"
required
/>
and
<input
class="input"
type="tel"
name="phone_number"
id="phone"
placeholder="your phone"
required
/>.
</p>
<button type="submit" class="submit-btn">Submit</button>
</form>
</div>
</div>
</div>
<script>
$(document).ready(function () {
$("#name").keyup(function () {
$(this).attr("size", $(this).val().length);
});
});
$(document).ready(function () {
$("#phone").keyup(function () {
$(this).attr("size", $(this).val().length);
});
});
$(document).ready(function () {
$("#email").keyup(function () {
$(this).attr("size", $(this).val().length);
});
});
</script>
<script src="./js/cards.js"></script>
<script src="script.js"></script>
</body>
</html>