-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
168 lines (162 loc) · 4.93 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
<!DOCTYPE html>
<html>
<head>
<title>Contact Us</title>
<link
href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"
rel="stylesheet"
id="bootstrap-css"
/>
<link rel="stylesheet" href="vendor/fontawesome/css/font-awesome.min.css" />
<link
href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" type="text/css" href="contact.css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
function alphaOnly(event) {
var key = event.keyCode;
return (key >= 65 && key <= 90) || key == 8 || key == 32;
}
</script>
<style>
body {
background: -webkit-linear-gradient(left, #eb0fbb, #3e4648);
}
.contact-form {
background: #f8f9fa;
border-top-left-radius: 10% 50%;
border-bottom-left-radius: 10% 50%;
border-top-right-radius: 10% 50%;
border-bottom-right-radius: 10% 50%;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
<div class="container">
<a
class="navbar-brand js-scroll-trigger"
href="index.php"
style="
margin-top: 10px;
margin-left: -65px;
font-family: 'IBM Plex Sans', sans-serif;
"
></a
>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarResponsive"
aria-controls="navbarResponsive"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item" style="margin-right: 40px">
<a
class="nav-link js-scroll-trigger"
href="index.php"
style="color: rgb(241, 85, 225); font-family: 'IBM Plex Sans', sans-serif"
><h6>HOME</h6></a
>
</li>
<!-- <li class="nav-item" style="margin-right: 40px">
<a
class="nav-link js-scroll-trigger"
href="services.html"
style="color: white; font-family: 'IBM Plex Sans', sans-serif"
><h6>ABOUT US</h6></a
>
</li> -->
<li class="nav-item">
<a
class="nav-link js-scroll-trigger"
href="contact.html"
style="color: white; font-family: 'IBM Plex Sans', sans-serif"
><h6>QUERY</h6></a
>
</li>
</ul>
</div>
</div>
</nav>
<div
class="container contact-form"
style="font-family: 'IBM Plex Sans', sans-serif"
>
<div class="contact-image">
<img
src="https://image.ibb.co/kUagtU/rocket_contact.png"
alt="rocket_contact"
/>
</div>
<form method="post" action="contact.php">
<h3>Drop Your Query</h3>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<input
type="text"
name="txtName"
class="form-control"
placeholder="Your Name *"
value=""
onkeydown="return alphaOnly(event);"
required
/>
</div>
<div class="form-group">
<input
type="email"
name="txtEmail"
class="form-control"
placeholder="Your Email *"
value=""
required
/>
</div>
<div class="form-group">
<input
type="tel"
name="txtPhone"
class="form-control"
placeholder="Your Phone Number *"
value=""
minlength="10"
maxlength="10"
required
/>
</div>
<div class="form-group">
<input
type="submit"
name="btnSubmit"
class="btnContact"
value="Send Message"
/>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<textarea
name="txtMsg"
class="form-control"
placeholder="Your Message *"
style="width: 100%; height: 150px"
required
></textarea>
</div>
</div>
</div>
</form>
</div>
</body>
</html>