-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
189 lines (171 loc) · 7.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Contact - Bhavya Jain</title>
<link rel="shortcut icon" href="img/logo.png">
<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">
<!-- Modernizr JS File -->
<script src="js/modernizr.custom.js"></script>
</head>
<body class="contact">
<!-- 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>Projects</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-certificate"></i>
<a href="blog.html">
<h2>Certificates</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>Projects</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-certificate"></i><span>Certificates</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. Have a Question, sad or happy stories or even just a quick howdy. Send me a note.</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>
<ul class="social list-unstyled pt-1 mb-5">
<li class="instagram"><a title="Instagram" target="_blank" href="https://www.instagram.com/bhav_jain_bj/"><i class="fa fa-instagram"></i></a>
</li>
<li class="linkedin"><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/bhavyajainbj/"><i class="fa fa-linkedin"></i></a>
</li>
<li class="GitHub"><a title="GitHub" target="_blank" href="https://github.com/bhavjainbj"><i class="fa fa-github"></i></a>
</li>
<li class="facebook"><a title="Facebook" target="_blank" href="https://www.facebook.com/profile.php?id=100022373863006"><i class="fa fa-facebook"></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>