This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
153 lines (124 loc) · 7.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<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>Contact Us</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="/contactus.css">
</head>
<body>
<!-- ---------------Starting of navbar ------------------------->
<!-- <nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top nav-pos " style="overflow-y: hidden;"> -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed sticky-top" style="overflow-y: hidden;">
<div class="container">
<a class="navbar-brand" href="#">
<i class="fa-solid fa-cart-shopping"></i>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent" style="text-align: center;">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/aboutus.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/partners.html">Partners</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/contact.html">Contact Us</a>
</li>
<li class="nav-item dropdown">
<!-- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Categories
</a> -->
<a class="nav-link active" aria-current="page" href="/categories.html">Categories</a>
<!-- <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Mobile</a></li>
<li><a class="dropdown-item" href="#">Laptop</a></li>
<li><a class="dropdown-item" href="#">Cloths</a></li>
<li><a class="dropdown-item" href="#">Electric Appliances</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul> -->
<div >
<a href="/login.html"> <li> <button type="button" class="btn btn-dark" id="side-spacing-2" >Login</button>
</li></a><a href="/sign-up.html"><li><button type="button" class="btn btn-dark" id="side-spacing">Signup</button></li></a>
</div>
</li>
</ul>
</div>
</div>
</nav>
<div class="contain">
<div class="wrapper">
<div class="form">
<h4>GET IN TOUCH</h4>
<h2 class="form-headline">Send us a message</h2>
<form id="submit-form" method="post" autocomplete="off" name="google-sheet">
<p>
<input id="name" class="form-input" type="text" placeholder="Your Name*" name="Name" value="" required="">
<small class="name-error"></small>
</p>
<p>
<input id="email" class="form-input" type="email" placeholder="Your Email*" name="Email" value="" required="">
<small class="name-error"></small>
</p>
<p class="full-width">
<input id="company-name" class="form-input" type="text" placeholder="Company Name*" name="Company" value="" required="">
<small></small>
</p>
<p class="full-width">
<textarea minlength="20" id="message" cols="30" rows="7" placeholder="Your Message*" name="Message" value="" required=""></textarea>
<small></small>
</p>
<p class="full-width">
<input type="checkbox" id="checkbox" name="checkbox" checked name="Agreement" value="" required=""> Yes, I would like to receive communications by call / email about Company's services.
</p>
<p class="full-width">
<input type="submit" class="submit-btn" value="Submit" onclick="checkValidations()">
<button class="reset-btn" onclick="reset()">Reset</button>
</p>
</form>
</div>
<div class="contacts contact-wrapper">
<ul>
<li>We've driven online revenues of over <span class="highlight-text-grey">$2
billion</span> for our clients. Ready to know
how we can help you?</li>
<span class="hightlight-contact-info">
<li class="email-info"><i class="fa fa-envelope" aria-hidden="true"></i> [email protected]</li>
<li><i class="fa fa-phone" aria-hidden="true"></i> <span class="highlight-text">+91 11 1111 2900</span></li>
</span>
</ul>
</div>
</div>
</div>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbyc9Cl4tZCwobtsK4o8YHsYnWSWSTrUcmsqtJ3cFSqywAvTwm8s/exec'
const form = document.forms['google-sheet']
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => alert("Thanks for Contacting us..! We Will Contact You Soon..."))
.catch(error => console.error('Error!', error.message))
})
</script>
<script src="/contact.js"></script>
</body>
</html>