-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
241 lines (201 loc) · 9.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--==================== UNICONS ====================-->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
<!--==================== SWIPER CSS ====================-->
<link rel="stylesheet" href="./packages/css/swiper-bundle.min.css">
<!--==================== CSS ====================-->
<link rel="stylesheet" href="./packages/css/styles.css">
<title>Amith GSPN</title>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js">
</script>
<script type="text/javascript">
(function(){
emailjs.init("4WbNe2PE2FJmcL-Oc");
})();
</script>
</head>
<body>
<!--==================== HEADER ====================-->
<header class="header" id="header">
<nav class="nav nav-container" style="background: #b2b2b2;">
<a href="#" class="nav__logo">Amith GSPN</a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list grid">
<li class="nav__item">
<a href="/index.html" class="nav__link">
<i class="uil uil-estate nav__icon"></i>Home
</a>
</li>
<!-- <li class="nav__item">
<a href="#portfolio" class="nav__link">
<i class="uil uil-user nav__icon"></i>Portfolio
</a>
</li> -->
<li class="nav__item">
<a href="/blog.html" class="nav__link">
<i class="uil uil-briefcase-alt nav__icon"></i>Blog
</a>
</li>
<li class="nav__item">
<a href="/projects.html" class="nav__link">
<i class="uil uil-scenery nav__icon"></i>Projects
</a>
</li>
<li class="nav__item">
<a href="/contact.html" class="nav__link">
<i class="uil uil-message nav__icon"></i>Contact
</a>
</li>
</ul>
<i class="uil uil-times nav__close" id="nav-close"></i>
</div>
<div class="nav__btns">
<!-- Theme change button -->
<i class="uil uil-moon change-theme" id="theme-button"></i>
<div class="nav__toggle" id="nav-toggle">
<i class="uil uil-apps"></i>
</div>
</div>
</nav>
</header>
<!--==================== MAIN ====================-->
<main class="main">
<!--==================== CONTACT ME ====================-->
<section class="contact section" id="contact">
<h2 class="section__title">Contact me</h2>
<span class="section__subtitle">Get in touch</span>
<div class="contact__container container grid">
<div>
<div class="contact__information">
<i class="uil uil-phone-alt contact__icon"></i>
<div>
<h3 class="contact__title">Call me</h3>
<span class="contatc__subtitle">(+91) 9606222330</span>
</div>
</div>
<div class="contact__information">
<i class="uil uil-whatsapp-alt contact__icon"></i>
<div>
<h3 class="contact__title">Call me</h3>
<span class="contatc__subtitle">(+1) 3127219433</span>
</div>
</div>
<div class="contact__information">
<i class="uil uil-envelope contact__icon"></i>
<div>
<h3 class="contact__title">E-mail</h3>
<span class="contatc__subtitle">[email protected]</span>
</div>
</div>
<div class="contact__information">
<i class="uil uil-map-marker contact__icon"></i>
<div>
<h3 class="contact__title">Location</h3>
<span class="contatc__subtitle">Chicago,IL 60616</span>
</div>
</div>
</div>
<form onsubmit="sendEmail(); reset(); return false;" class="contact__form grid">
<div class="contact__inputs grid">
<div class="contact__content">
<label for="" class="contact__label">Name</label>
<input type="text" id="name" required class="contact__input">
</div>
<div class="contact__content">
<label for="" class="contact__label">E-mail</label>
<input type="text" id="email" required class="contact__input">
</div>
</div>
<div class="contact__content">
<label for="" class="contact__label">Subject</label>
<input type="text" id="subject" class="contact__input">
</div>
<div class="contact__content">
<label for="" class="contact__label">Description</label>
<textarea name="" id="description" cols="0" rows="7" class="contact__input"></textarea>
</div>
<div>
<button type="submit" class="button button--flex">
Send message
<i class="uil uil-message button__icon"></i>
</button>
</div>
</form>
</div>
</section>
<!--==================== FOOTER ====================-->
<footer class="footer">
<div class="footer__bg">
<div class="footer__container container grid">
<div>
<h1 class="footer__title">Amith GSPN</h1>
<span class="footer__subtitle">Developer & Designer</span>
</div>
<ul class="footer__links">
<li>
<a href="/blog.html" class="footer__link">Blog</a>
</li>
<li>
<a href="#portfolio" class="footer__link">Portfolio</a>
</li>
<li>
<a href="/contact.html" class="footer__link">Contact</a>
</li>
</ul>
<div class="footer__socials">
<a href="https://www.facebook.com/gorthi.amith?mibextid=ZbWKwL" target="_blank" class="footer__social">
<i class="uil uil-facebook"></i>
</a>
<a href="https://instagram.com/amithgspn23?igshid=NTA5ZTk1NTc=" target="_blank" class="footer__social">
<i class="uil uil-instagram"></i>
</a>
<a href="https://twitter.com/AmithGorti?t=I6wGcwLqci_6TEbc8T7W-A&s=09" target="_blank" class="footer__social">
<i class="uil uil-twitter-alt"></i>
</a>
<a href="https://www.linkedin.com/in/amithgspn" target="_blank" class="footer__social">
<i class="uil uil-linkedin-alt"></i>
</a>
</div>
</div>
<p class="footer__copy">© Amith GSPN. All rights reserved.</p>
</div>
</footer>
</main>
<!--==================== SCROLL TOP ====================-->
<a href="#" class="scrollup" id="scroll-up">
<i class="uil uil-arrow-up scrollup__icon"></i>
</a>
<!-- 3f7b380b-f43b-41e2-9783-6bd334020bc0 -->
<!--==================== SWIPER JS ====================-->
<script src="./packages/js/swiper-bundle.min.js"></script>
<!--==================== MAIN JS ====================-->
<script src="./packages/js/main.js"></script>
<script>
function sendEmail(){
var params = {
name: document.getElementById('name').value,
email: document.getElementById('email').value,
subject: document.getElementById('subject').value,
description: document.getElementById('description').value,
}
const serviceID = "service_8lxqhwf";
const templateID = "template_px3t3g8";
emailjs.send(serviceID,templateID,params)
.then(
res => {
document.getElementById('name').value = "";
document.getElementById('email').value = "";
document.getElementById('subject').value = "";
document.getElementById('description').value = "";
alert("message sent!")
}
)
}
</script>
</body>
</html>