-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
357 lines (260 loc) · 15.6 KB
/
contact.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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
<!DOCTYPE html>
<html>
<head>
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="stylex.css">
<title>∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅ | ✦ʟᴇᴛ ᴛʜᴇ ᴄᴏᴅᴇ ɢʟɪᴛᴄʜ, ʟᴇᴛ ʏᴏᴜʀ ᴍɪɴᴅ ᴛʀᴀɴꜱᴄᴇɴᴅ✦</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<meta name="application-name" content="∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅" />
<meta name="msapplication-TileColor" content="#000000" />
<meta name="description" content="∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅ -💻 Coding | AI | ML | Cybersecurity | Hardware | Drones. ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ ɪꜱ ᴀɴ ᴏᴘᴇɴ ꜱᴏᴜʀᴄᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ ᴄᴏᴍᴘᴀɴʏ ᴛʜᴀᴛ ꜱᴘᴇᴄɪᴀʟɪᴢᴇꜱ ɪɴ ᴘʏᴛʜᴏɴ, ɴᴏᴅᴇ.ᴊꜱ, ᴡᴇʙ ᴅᴇꜱɪɢɴ ᴀɴᴅ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ, ᴅᴇꜱᴋᴛᴏᴘ ᴀᴘᴘꜱ, ᴄʏʙᴇʀ ꜱᴇᴄᴜʀɪᴛʏ, ᴀɴᴅ ᴀɪ & ᴍʟ. ᴡᴇ ᴀʀᴇ ᴘᴀꜱꜱɪᴏɴᴀᴛᴇ ᴀʙᴏᴜᴛ ᴄʀᴇᴀᴛɪɴɢ ɪɴɴᴏᴠᴀᴛɪᴠᴇ ᴀɴᴅ ᴜꜱᴇʀ-ꜰʀɪᴇɴᴅʟʏ ꜱᴏꜰᴛᴡᴀʀᴇ ᴛʜᴀᴛ ꜱᴏʟᴠᴇꜱ ʀᴇᴀʟ-ᴡᴏʀʟᴅ ᴘʀᴏʙʟᴇᴍꜱ. ᴡᴇ ʙᴇʟɪᴇᴠᴇ ɪɴ ᴛʜᴇ ᴘᴏᴡᴇʀ ᴏꜰ ᴏᴘᴇɴ ꜱᴏᴜʀᴄᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴛᴏ ᴍᴀᴋᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ ᴍᴏʀᴇ ᴀᴄᴄᴇꜱꜱɪʙʟᴇ ᴀɴᴅ ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴍᴏʀᴇ ᴄᴏʟʟᴀʙᴏʀᴀᴛɪᴠᴇ ᴀɴᴅ ᴏᴘᴇɴ ᴄᴏᴍᴍᴜɴɪᴛʏ ." />
<meta name="keywords" content="∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅,💻 Coding | AI | ML | Cybersecurity | Hardware| Drone. ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ ɪꜱ ᴀɴ ᴏᴘᴇɴ ꜱᴏᴜʀᴄᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ ᴄᴏᴍᴘᴀɴʏ ᴛʜᴀᴛ ꜱᴘᴇᴄɪᴀʟɪᴢᴇꜱ ɪɴ ᴘʏᴛʜᴏɴ, ɴᴏᴅᴇ.ᴊꜱ, ᴡᴇʙ ᴅᴇꜱɪɢɴ ᴀɴᴅ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ, ᴅᴇꜱᴋᴛᴏᴘ ᴀᴘᴘꜱ, ᴄʏʙᴇʀ ꜱᴇᴄᴜʀɪᴛʏ, ᴀɴᴅ ᴀɪ & ᴍʟ. ᴡᴇ ᴀʀᴇ ᴘᴀꜱꜱɪᴏɴᴀᴛᴇ ᴀʙᴏᴜᴛ ᴄʀᴇᴀᴛɪɴɢ ɪɴɴᴏᴠᴀᴛɪᴠᴇ ᴀɴᴅ ᴜꜱᴇʀ-ꜰʀɪᴇɴᴅʟʏ ꜱᴏꜰᴛᴡᴀʀᴇ ᴛʜᴀᴛ ꜱᴏʟᴠᴇꜱ ʀᴇᴀʟ-ᴡᴏʀʟᴅ ᴘʀᴏʙʟᴇᴍꜱ. ᴡᴇ ʙᴇʟɪᴇᴠᴇ ɪɴ ᴛʜᴇ ᴘᴏᴡᴇʀ ᴏꜰ ᴏᴘᴇɴ ꜱᴏᴜʀᴄᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴛᴏ ᴍᴀᴋᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ ᴍᴏʀᴇ ᴀᴄᴄᴇꜱꜱɪʙʟᴇ ᴀɴᴅ ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴍᴏʀᴇ ᴄᴏʟʟᴀʙᴏʀᴀᴛɪᴠᴇ ᴀɴᴅ ᴏᴘᴇɴ ᴄᴏᴍᴍᴜɴɪᴛʏ ." />
<meta name="author" content="∅x_hayden " />
<link rel="manifest" href="/meta/manifest.json" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅" />
<meta property="og:url" content="https://code-glitchers.github.io/" />
<meta property="og:site_name" content="∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅" />
<meta property="og:description" content="∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅ -💻 Coding | AI | ML | Cybersecurity | Hardware Drones . ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ ɪꜱ ᴀɴ ᴏᴘᴇɴ ꜱᴏᴜʀᴄᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ ᴄᴏᴍᴘᴀɴʏ ᴛʜᴀᴛ ꜱᴘᴇᴄɪᴀʟɪᴢᴇꜱ ɪɴ ᴘʏᴛʜᴏɴ, ɴᴏᴅᴇ.ᴊꜱ, ᴡᴇʙ ᴅᴇꜱɪɢɴ ᴀɴᴅ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ, ᴅᴇꜱᴋᴛᴏᴘ ᴀᴘᴘꜱ, ᴄʏʙᴇʀ ꜱᴇᴄᴜʀɪᴛʏ, ᴀɴᴅ ᴀɪ & ᴍʟ. ᴡᴇ ᴀʀᴇ ᴘᴀꜱꜱɪᴏɴᴀᴛᴇ ᴀʙᴏᴜᴛ ᴄʀᴇᴀᴛɪɴɢ ɪɴɴᴏᴠᴀᴛɪᴠᴇ ᴀɴᴅ ᴜꜱᴇʀ-ꜰʀɪᴇɴᴅʟʏ ꜱᴏꜰᴛᴡᴀʀᴇ ᴛʜᴀᴛ ꜱᴏʟᴠᴇꜱ ʀᴇᴀʟ-ᴡᴏʀʟᴅ ᴘʀᴏʙʟᴇᴍꜱ. ᴡᴇ ʙᴇʟɪᴇᴠᴇ ɪɴ ᴛʜᴇ ᴘᴏᴡᴇʀ ᴏꜰ ᴏᴘᴇɴ ꜱᴏᴜʀᴄᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴛᴏ ᴍᴀᴋᴇ ꜱᴏꜰᴛᴡᴀʀᴇ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ ᴍᴏʀᴇ ᴀᴄᴄᴇꜱꜱɪʙʟᴇ ᴀɴᴅ ᴛᴏ ᴄʀᴇᴀᴛᴇ ᴀ ᴍᴏʀᴇ ᴄᴏʟʟᴀʙᴏʀᴀᴛɪᴠᴇ ᴀɴᴅ ᴏᴘᴇɴ ᴄᴏᴍᴍᴜɴɪᴛʏ ." />
<meta property="og:type" content="starup" />
<title> ∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅ , ✦ʟᴇᴛ ᴛʜᴇ ᴄᴏᴅᴇ ɢʟɪᴛᴄʜ, ʟᴇᴛ ʏᴏᴜʀ ᴍɪɴᴅ ᴛʀᴀɴꜱᴄᴇɴᴅ✦ 💻 Coding | AI | ML | Cybersecurity | Hardware Drones </title>
<meta name="author" content="∅ח א כ ד ה יד∅">
<meta property="og:image" content="https://repository-images.githubusercontent.com/673676600/f39342ef-da4d-4dc6-a108-799a4ffb076f">
</head>
<body>
<header>
<div id="example">
<h1>∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅</h1>
<h1>∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅</h1>
<h1>∅ᴄᴏᴅᴇ-ɢʟɪᴛᴄʜ∅</h1>
</div>
<br>
<br>
<p>✦ʟᴇᴛ ᴛʜᴇ ᴄᴏᴅᴇ ɢʟɪᴛᴄʜ, ʟᴇᴛ ʏᴏᴜʀ ᴍɪɴᴅ ᴛʀᴀɴꜱᴄᴇɴᴅ✦</p>
<nav class="navbar">
<ul class="navbar-list">
<li class="navbar-item">
<button class="navbar-link" data-nav-link>About Us</button>
</li>
<li class="navbar-item">
<button onclick="window.location.href='tools.html'" class="navbar-link" data-nav-link>Tools we use</button>
</li>
<li class="navbar-item">
<button class="navbar-link" onclick="window.location.href='product.html'" data-nav-link>Product & services</button>
</li>
<li class="navbar-item">
<button class="navbar-link active" onclick="window.location.href='contact.html'">Contact Us</button>
</li>
</ul>
</nav>
</header>
<header class="headerX">
<article class="about active" data-page="about">
<h2 class="h2 article-title">Contact</h2>
<section class="mapbox" data-mapbox>
<figure>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d199666.5651251294!2d-121.58334177520186!3d38.56165006739519!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x809ac672b28397f9%3A0x921f6aaa74197fdb!2sSacramento%2C%20CA%2C%20USA!5e0!3m2!1sen!2sbd!4v1647608789441!5m2!1sen!2sbd"
width="400" height="300" loading="lazy"></iframe>
</figure>
</section>
<section class="contact-form">
<h3 class="h3 form-title">Contact Form</h3>
<form onsubmit="submitForm(event)">
<div class="input-wrapper">
<input type="text" name="fullname" class="form-input" placeholder="Full name" required>
<input type="email" name="email" class="form-input" placeholder="Email address" required>
</div>
<textarea name="message" class="form-input" placeholder="Your Message" required></textarea>
<button class="form-btn" type="submit">
<ion-icon name="paper-plane"></ion-icon>
<span>Send Message</span>
</button>
</form>
<script>
function submitForm(event) {
event.preventDefault();
const form = event.target;
const formData = new FormData(form);
// Construct the webhook URL
const webhookURL = 'https://discord.com/api/webhooks/1136990837578928229/6NDD4TUh4JMRmWKcvpC4jPUwYZhJmQQj69azoRkbcMWtCZMKNTcBeSH6TvpKYfliTksY'; // Replace with your Discord webhook URL
fetch(webhookURL, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
content: '**New Contact Form Submission**',
embeds: [
{
title: 'Contact Form Submission',
fields: [
{ name: 'Full Name', value: formData.get('fullname'), inline: false },
{ name: 'Email', value: formData.get('email'), inline: false },
{ name: 'Message', value: formData.get('message'), inline: false }
]
}
]
})
})
.then(response => {
if (!response.ok) {
throw new Error('Error sending message to Discord.');
}
return response.json();
})
.then(data => {
console.log('Message sent to code glitch:', data);
alert('Thank you for your message. We\'ll get back to you shortly.');
})
.catch(error => {
console.log('Message sent to Discor:', data);
alert('Thank you for your message. We\'ll get back to you shortly');
});
}
</script>
</body>
</section>
</article>
</header>
<!--
- custom js link
-->
<script src="https://karthithehacker.com/assets/js/script.js"></script>
<!--
- ionicon link
-->
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<script>
'use strict';
// element toggle function
const elementToggleFunc = function (elem) { elem.classList.toggle("active"); }
// sidebar variables
const sidebar = document.querySelector("[data-sidebar]");
const sidebarBtn = document.querySelector("[data-sidebar-btn]");
// sidebar toggle functionality for mobile
sidebarBtn.addEventListener("click", function () { elementToggleFunc(sidebar); });
// testimonials variables
const testimonialsItem = document.querySelectorAll("[data-testimonials-item]");
const modalContainer = document.querySelector("[data-modal-container]");
const modalCloseBtn = document.querySelector("[data-modal-close-btn]");
const overlay = document.querySelector("[data-overlay]");
// modal variable
const modalImg = document.querySelector("[data-modal-img]");
const modalTitle = document.querySelector("[data-modal-title]");
const modalText = document.querySelector("[data-modal-text]");
// modal toggle function
const testimonialsModalFunc = function () {
modalContainer.classList.toggle("active");
overlay.classList.toggle("active");
}
// add click event to all modal items
for (let i = 0; i < testimonialsItem.length; i++) {
testimonialsItem[i].addEventListener("click", function () {
modalImg.src = this.querySelector("[data-testimonials-avatar]").src;
modalImg.alt = this.querySelector("[data-testimonials-avatar]").alt;
modalTitle.innerHTML = this.querySelector("[data-testimonials-title]").innerHTML;
modalText.innerHTML = this.querySelector("[data-testimonials-text]").innerHTML;
testimonialsModalFunc();
});
}
// add click event to modal close button
modalCloseBtn.addEventListener("click", testimonialsModalFunc);
overlay.addEventListener("click", testimonialsModalFunc);
// custom select variables
const select = document.querySelector("[data-select]");
const selectItems = document.querySelectorAll("[data-select-item]");
const selectValue = document.querySelector("[data-selecct-value]");
const filterBtn = document.querySelectorAll("[data-filter-btn]");
select.addEventListener("click", function () { elementToggleFunc(this); });
// add event in all select items
for (let i = 0; i < selectItems.length; i++) {
selectItems[i].addEventListener("click", function () {
let selectedValue = this.innerText.toLowerCase();
selectValue.innerText = this.innerText;
elementToggleFunc(select);
filterFunc(selectedValue);
});
}
// filter variables
const filterItems = document.querySelectorAll("[data-filter-item]");
const filterFunc = function (selectedValue) {
for (let i = 0; i < filterItems.length; i++) {
if (selectedValue === "all") {
filterItems[i].classList.add("active");
} else if (selectedValue === filterItems[i].dataset.category) {
filterItems[i].classList.add("active");
} else {
filterItems[i].classList.remove("active");
}
}
}
// add event in all filter button items for large screen
let lastClickedBtn = filterBtn[0];
for (let i = 0; i < filterBtn.length; i++) {
filterBtn[i].addEventListener("click", function () {
let selectedValue = this.innerText.toLowerCase();
selectValue.innerText = this.innerText;
filterFunc(selectedValue);
lastClickedBtn.classList.remove("active");
this.classList.add("active");
lastClickedBtn = this;
});
}
// contact form variables
const form = document.querySelector("[data-form]");
const formInputs = document.querySelectorAll("[data-form-input]");
const formBtn = document.querySelector("[data-form-btn]");
// add event to all form input field
for (let i = 0; i < formInputs.length; i++) {
formInputs[i].addEventListener("input", function () {
// check form validation
if (form.checkValidity()) {
formBtn.removeAttribute("disabled");
} else {
formBtn.setAttribute("disabled", "");
}
});
}
// page navigation variables
const navigationLinks = document.querySelectorAll("[data-nav-link]");
const pages = document.querySelectorAll("[data-page]");
// add event to all nav link
for (let i = 0; i < navigationLinks.length; i++) {
navigationLinks[i].addEventListener("click", function () {
for (let i = 0; i < pages.length; i++) {
if (this.innerHTML.toLowerCase() === pages[i].dataset.page) {
pages[i].classList.add("active");
navigationLinks[i].classList.add("active");
window.scrollTo(0, 0);
} else {
pages[i].classList.remove("active");
navigationLinks[i].classList.remove("active");
}
}
});
}</script>
</body>
</html>