-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
249 lines (224 loc) · 8.74 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
<!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>B3DVision</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<style>
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: flex-end;
/* positions items to the right */
}
nav li {
margin-left: 80px;
/* adds some space between items */
}
.btn {
background-color: white;
color: #FF4500;
border-color: #FF4500;
}
.btn:hover {
background-color: #FF4500;
border-color: #FF4500;
}
.mybutton {
background-color: white;
border-radius: 5px;
color: #FF4500;
border: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
outline: 2px solid #FF4500;
margin-bottom: 2%;
margin-top: 2%;
/* Add outline border */
}
.mybutton:hover {
background-color: #FF4500;
color: white;
/* Set hover background color */
}
.contact {
background: var(--second-bg-color);
}
.contact h2 {
margin-bottom: 3rem;
}
.contact form {
max-width: 90rem;
margin: 1rem auto;
text-align: center;
margin-bottom: 3rem;
}
.contact form .input-box {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea {
width: 100%;
padding: 1.5rem;
font-size: 1.6rem;
color: #FF4500;
border-radius: .8rem;
margin-left: 5%;
margin-right: 5%;
margin-top: 2%;
margin-bottom: 2%;
}
.contact form .input-box input {
width: 40%;
}
.contact form textarea {
width: 90%;
}
.contact form textarea {
resize: none;
}
.contact form .button {
margin-top: 2rem;
cursor: pointer;
}
.heading {
text-align: center;
font-size: 4.5rem;
margin-top: 5%;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="#"><img src="new_logo.png" alt="" width="50px"></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">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<form class="d-flex" role="search">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
<li class="nav-item">
<a class="nav-link" href="home.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#A-Library">A-Library</a>
</li>
<li class="nav-item">
<a class="nav-link" href="feature.html">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Review</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#"><b>Contact Us</b></a>
</li>
</ul>
<button class="btn btn-outline-success" type="submit">Login</button>
</div>
</div>
</nav>
<!-- Contact Form -->
<div class="contact" id="contact">
<h2 class="heading">Contact Us</h2>
<form action="#">
<label for="Speech Recognition"></label>
<div class="input-box">
<input type="text" placeholder="Full Name">
<input type="text" placeholder="Email Address">
</div>
<div class="input-box">
<input type="text" placeholder="Mobile No.">
<input type="text" placeholder="Email Subject">
</div>
<textarea name="" id="speechToText" cols="30" rows="10" placeholder="Speak Message"
onclick="record()"></textarea>
<input type="submit" value="Send Message" class="mybutton" onclick="audio.play()">
</form>
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="footer-col">
<h4>QUICK LINKS</h4>
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="#">A-Library</a></li>
<li><a href="feature.html">Features</a></li>
<li><a href="#">Review</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Customer Support</h4>
<ul>
<li><a href="#">Support Site</a></li>
<li><a href="#">FAQs</a></li>
<li><a href="#">Submit a Query</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Contact Us</h4>
<ul>
<li><a href="#"><i class='bx bxs-envelope'></i> [email protected]</a></li>
<li><a href="#"><i class='bx bxs-phone'></i> +91-9198999999</a></li>
</ul>
</div>
<div class="footer-col">
<h4>follow us</h4>
<div class="social-links">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
</div>
</div>
</footer>
<!-- Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script>
function record() {
var recognition = new webkitSpeechRecognition();
recognition.lang = "en-In";
recognition.onresult = function (event) {
console.log(event);
document.getElementById('speechToText').value = event.results[0][0].transcript;
}
recognition.start();
}
</script>
</body>
</html>