-
Notifications
You must be signed in to change notification settings - Fork 3
/
contact.html
243 lines (227 loc) · 11.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contact - Vishrut Mavani</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Template Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Poppins:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,600i,700" rel="stylesheet">
<!-- Template CSS Files -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/preloader.min.css" rel="stylesheet">
<link href="css/circle.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/fm.revealator.jquery.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- CSS Skin File -->
<link href="css/skins/yellow.css" rel="stylesheet">
<!-- Live Style Switcher - demo only -->
<link rel="alternate stylesheet" type="text/css" title="blue" href="css/skins/blue.css" />
<link rel="alternate stylesheet" type="text/css" title="green" href="css/skins/green.css" />
<link rel="alternate stylesheet" type="text/css" title="yellow" href="css/skins/yellow.css" />
<link rel="alternate stylesheet" type="text/css" title="blueviolet" href="css/skins/blueviolet.css" />
<link rel="alternate stylesheet" type="text/css" title="goldenrod" href="css/skins/goldenrod.css" />
<link rel="alternate stylesheet" type="text/css" title="magenta" href="css/skins/magenta.css" />
<link rel="alternate stylesheet" type="text/css" title="orange" href="css/skins/orange.css" />
<link rel="alternate stylesheet" type="text/css" title="purple" href="css/skins/purple.css" />
<link rel="alternate stylesheet" type="text/css" title="red" href="css/skins/red.css" />
<link rel="alternate stylesheet" type="text/css" title="yellowgreen" href="css/skins/yellowgreen.css" />
<link rel="stylesheet" type="text/css" href="css/styleswitcher.css" />
<!-- Modernizr JS File -->
<script src="js/modernizr.custom.js"></script>
</head>
<body class="contact">
<!-- Live Style Switcher Starts - demo only -->
<div id="switcher" class="">
<div class="content-switcher">
<h4>STYLE SWITCHER</h4>
<ul>
<li>
<a href="#" onclick="setActiveStyleSheet('purple');" title="purple" class="color"><img src="img/styleswitcher/purple.png" alt="purple"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('red');" title="red" class="color"><img src="img/styleswitcher/red.png" alt="red"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('blueviolet');" title="blueviolet" class="color"><img src="img/styleswitcher/blueviolet.png" alt="blueviolet"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('blue');" title="blue" class="color"><img src="img/styleswitcher/blue.png" alt="blue"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('goldenrod');" title="goldenrod" class="color"><img src="img/styleswitcher/goldenrod.png" alt="goldenrod"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('magenta');" title="magenta" class="color"><img src="img/styleswitcher/magenta.png" alt="magenta"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('yellowgreen');" title="yellowgreen" class="color"><img src="img/styleswitcher/yellowgreen.png" alt="yellowgreen"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('orange');" title="orange" class="color"><img src="img/styleswitcher/orange.png" alt="orange"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('green');" title="green" class="color"><img src="img/styleswitcher/green.png" alt="green"/></a>
</li>
<li>
<a href="#" onclick="setActiveStyleSheet('yellow');" title="yellow" class="color"><img src="img/styleswitcher/yellow.png" alt="yellow"/></a>
</li>
</ul>
<div id="hideSwitcher">×</div>
</div>
</div>
<div id="showSwitcher" class="styleSecondColor"><i class="fa fa-cog fa-spin"></i></div>
<!-- Live Style Switcher Ends - demo only -->
<!-- Header Starts -->
<header class="header" id="navbar-collapse-toggle">
<!-- Fixed Navigation Starts -->
<ul class="icon-menu d-none d-lg-block revealator-slideup revealator-once revealator-delay1">
<li class="icon-box">
<i class="fa fa-home"></i>
<a href="index.html">
<h2>Home</h2>
</a>
</li>
<li class="icon-box">
<i class="fa fa-user"></i>
<a href="about.html">
<h2>About</h2>
</a>
</li>
<li class="icon-box">
<i class="fa fa-briefcase"></i>
<a href="portfolio.html">
<h2>Portfolio</h2>
</a>
</li>
<li class="icon-box active">
<i class="fa fa-envelope-open"></i>
<a href="contact.html">
<h2>Contact</h2>
</a>
</li>
<li class="icon-box">
<i class="fa fa-comments"></i>
<a href="blog.html">
<h2>Blog</h2>
</a>
</li>
</ul>
<!-- Fixed Navigation Ends -->
<!-- Mobile Menu Starts -->
<nav role="navigation" class="d-block d-lg-none">
<div id="menuToggle">
<input type="checkbox" />
<span></span>
<span></span>
<span></span>
<ul class="list-unstyled" id="menu">
<li><a href="index.html"><i class="fa fa-home"></i><span>Home</span></a></li>
<li><a href="about.html"><i class="fa fa-user"></i><span>About</span></a></li>
<li><a href="portfolio.html"><i class="fa fa-folder-open"></i><span>Portfolio</span></a></li>
<li class="active"><a href="contact.html"><i class="fa fa-envelope-open"></i><span>Contact</span></a></li>
<li><a href="blog.html"><i class="fa fa-comments"></i><span>Blog</span></a></li>
</ul>
</div>
</nav>
<!-- Mobile Menu Ends -->
</header>
<!-- Header Ends -->
<!-- Page Title Starts -->
<section class="title-section text-left text-sm-center revealator-slideup revealator-once revealator-delay1">
<h1>get in <span>touch</span></h1>
<span class="title-bg">contact</span>
</section>
<!-- Page Title Ends -->
<!-- Main Content Starts -->
<section class="main-content revealator-slideup revealator-once revealator-delay1">
<div class="container">
<div class="row">
<!-- Left Side Starts -->
<div class="col-12 col-lg-4">
<h3 class="text-uppercase custom-title mb-0 ft-wt-600 pb-3">Don't be shy !</h3>
<p class="open-sans-font mb-3">Feel free to get in touch with me. I am always open to discussing new projects, creative ideas or opportunities to be part of your visions.</p>
<p class="open-sans-font custom-span-contact position-relative">
<i class="fa fa-envelope-open position-absolute"></i>
<span class="d-block">mail</span>[email protected]
</p>
<p class="open-sans-font custom-span-contact position-relative">
<i class="fa fa-phone-square position-absolute"></i>
<span class="d-block">call</span>+8801726610839
</p>
<ul class="social list-unstyled pt-1 mb-5">
<li class="facebook"><a title="Facebook" target="_blank" href="https://www.facebook.com/shhriar.shafin"><i class="fa fa-facebook"></i></a>
</li>
<li class="twitter"><a title="Twitter" target="_blank" href="https://twitter.com/shhriar_shafin"><i class="fa fa-twitter"></i></a>
</li>
<li class="youtube"><a title="Youtube" target="_blank" href="https://www.youtube.com/c/ShahriarShafin/videos"><i class="fa fa-youtube"></i></a>
</li>
<li class="dribbble"><a title="Dribbble" target="_blank" href="https://dribbble.com/shahriarshafin/"><i class="fa fa-dribbble"></i></a>
</li>
</ul>
</div>
<!-- Left Side Ends -->
<!-- Contact Form Starts -->
<div class="col-12 col-lg-8">
<form id="contactform" class="contactform" method="post" name="google-sheet">
<div class="contactform">
<div class="row">
<div class="col-12 col-md-4">
<input type="text" name="Name" placeholder="YOUR NAME" value="" required=""/>
</div>
<div class="col-12 col-md-4">
<input type="email" name="Email" placeholder="YOUR EMAIL" value="" required=""/>
</div>
<div class="col-12">
<textarea name="Phone" placeholder="YOUR MESSAGE" value="" required=""></textarea>
<button type="submit" onclick="clearForm()" name="submit" value="Login" class="btn btn-contact">Send Message</button>
</div>
<div class="col-12 form-message">
<span id="ppp" class="output_message text-center font-weight-600 text-uppercase"></span>
</div>
</div>
</div>
</form>
</div>
<!-- Contact Form Ends -->
</div>
</div>
</section>
<!-- Template JS Files -->
<script src="js/jquery-3.5.0.min.js"></script>
<script src="js/styleswitcher.js"></script>
<script src="js/preloader.min.js"></script>
<script src="js/fm.revealator.jquery.min.js"></script>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/masonry.pkgd.min.js"></script>
<script src="js/classie.js"></script>
<script src="js/cbpGridGallery.js"></script>
<script src="js/jquery.hoverdir.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/custom.js"></script>
<!--Google Sheets-->
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbzhYwI1gsSANwB-nUie9HO6K-extjzF_TlUJMzAgVaXh0y87Yk-/exec'
const form = document.forms['google-sheet']
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.catch(error => console.error('Error!', error.message))
})
</script>
<!-- Delay and Clear form -->
<script>
function clearForm() {
setTimeout(function () {
document.getElementById("contactform").reset();
}, 100);
// clear notifier text
setTimeout(function () {
document.getElementById("ppp").innerHTML = "";
}, 1200);
}
</script>
</body>
</html>