-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.html
387 lines (381 loc) · 17.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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="Sean Mc is a digital designer who specialises in 3D modelling, visulisation & furniture design."
/>
<meta name="robots" content="index,follow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sean Mc-Contact</title>
<link
rel="shortcut icon"
type="image/svg"
href="./assets/icons/icon-initials.png"
/>
<link
href="https://fonts.googleapis.com/css2?family=Lily+Script+One&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Quicksand:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog=="
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css"
integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./assets/css/style.css" />
<script src="https://code-institute-org.github.io/key-helper/helper.js"></script>
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/emailjs-com@2/dist/email.min.js"
></script>
<script type="text/javascript">
(function () {
emailjs.init("user_phcTljyBItI7OTOrLNHqx");
})();
</script>
</head>
<body>
<!--As some pages take a few seconds to load causing some animations to glitch I created a preloader-->
<div class="preload">
<svg
class="loading-cog"
width="150"
height="150"
viewBox="0 0 150 150"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:space="preserve"
style="
fill-rule: evenodd;
clip-rule: evenodd;
stroke-linecap: round;
stroke-linejoin: round;
stroke-miterlimit: 1.5;
"
>
<g transform="matrix(1,0,0,1,-3.53416,-1.61584)">
<path
d="M84.625,8.733C80.267,8.31 75.879,8.31 71.522,8.733L69.364,19.239C65.188,19.878 61.094,20.975 57.158,22.51L50.036,14.49C46.051,16.302 42.251,18.496 38.689,21.042L42.073,31.219C38.776,33.861 35.779,36.857 33.137,40.155L22.96,36.77C20.415,40.332 18.221,44.133 16.409,48.118L24.428,55.24C22.893,59.176 21.797,63.269 21.158,67.446L10.652,69.604C10.228,73.961 10.228,78.349 10.652,82.706L21.158,84.864C21.797,89.041 22.893,93.134 24.428,97.07L16.409,104.192C18.221,108.177 20.415,111.977 22.96,115.539L33.137,112.155C35.779,115.452 38.776,118.449 42.073,121.091L38.689,131.268C42.251,133.813 46.051,136.007 50.036,137.819L57.158,129.8C61.094,131.335 65.188,132.431 69.364,133.071L71.522,143.576C75.879,144 80.267,144 84.625,143.576L86.782,133.071C90.959,132.431 95.052,131.335 98.989,129.8L106.11,137.819C110.096,136.007 113.896,133.813 117.458,131.268L114.074,121.091C117.371,118.449 120.367,115.452 123.009,112.155L133.186,115.539C135.732,111.977 137.926,108.177 139.738,104.192L131.718,97.07C133.253,93.134 134.35,89.041 134.989,84.864L145.495,82.706C145.918,78.349 145.918,73.961 145.495,69.604L134.989,67.446C134.35,63.269 133.253,59.176 131.718,55.24L139.738,48.118C137.926,44.133 135.732,40.332 133.186,36.77L123.009,40.155C120.367,36.857 117.371,33.861 114.074,31.219L117.458,21.042C113.896,18.496 110.096,16.302 106.11,14.49L98.989,22.51C95.052,20.975 90.959,19.878 86.782,19.239L84.625,8.733ZM78.073,40.093C97.976,40.093 114.135,56.252 114.135,76.155C114.135,96.058 97.976,112.216 78.073,112.216C58.17,112.216 42.012,96.058 42.012,76.155C42.012,56.252 58.17,40.093 78.073,40.093Z"
style="
fill: rgb(235, 235, 235);
stroke: var(--text1);
fill: var(--bg1);
stroke-width: 1.79px;
"
/>
</g>
</svg>
<h2>Loading</h2>
</div>
<!--To be displayed if the user does not have Javascript enabled.-->
<noscript style="left: 0px">
<p>JavaScript must be enabled for this website to function</p>
</noscript>
<header>
<!--Navigation-->
<nav>
<!--Logo designed by author using Affinity designer, animates when hovered over.-->
<div class="logo">
<a id="logo-image" href="./index.html">
<svg
width="100%"
height="100%"
viewBox="0 0 160 80"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:space="preserve"
style="
fill-rule: evenodd;
clip-rule: evenodd;
stroke-linecap: round;
stroke-linejoin: round;
stroke-miterlimit: 1.5;
"
>
<g class="cog2">
<g
transform="matrix(0.624005,-0.78142,0.755498,0.603305,24.9044,89.3303)"
>
<path
d="M96.856,1.744C94.429,1.515 91.986,1.515 89.559,1.744L86.61,8.485C84.272,8.969 81.994,9.709 79.818,10.692L73.47,6.972C71.372,8.213 69.395,9.649 67.566,11.261L69.142,18.448C67.536,20.214 66.128,22.151 64.945,24.225L57.623,24.947C56.655,27.185 55.9,29.508 55.368,31.888L60.867,36.776C60.605,39.149 60.605,41.543 60.867,43.916L55.368,48.804C55.9,51.183 56.655,53.507 57.623,55.745L64.945,56.467C66.128,58.54 67.536,60.478 69.142,62.244L67.566,69.43C69.395,71.043 71.372,72.479 73.47,73.72L79.818,70C81.994,70.982 84.272,71.722 86.61,72.207L89.559,78.947C91.986,79.177 94.429,79.177 96.856,78.947L99.806,72.207C102.143,71.722 104.421,70.982 106.597,70L112.945,73.72C115.043,72.479 117.02,71.043 118.849,69.43L117.273,62.244C118.88,60.478 120.287,58.54 121.47,56.467L128.792,55.745C129.76,53.507 130.516,51.183 131.047,48.804L125.548,43.916C125.81,41.543 125.81,39.149 125.548,36.776L131.047,31.888C130.516,29.508 129.76,27.185 128.792,24.947L121.47,24.225C120.287,22.151 118.88,20.214 117.273,18.448L118.849,11.261C117.02,9.649 115.043,8.213 112.945,6.972L106.597,10.692C104.421,9.709 102.143,8.969 99.806,8.485L96.856,1.744ZM93.208,15.143C107.117,15.143 118.41,26.436 118.41,40.346C118.41,54.256 107.117,65.549 93.208,65.549C79.298,65.549 68.005,54.256 68.005,40.346C68.005,26.436 79.298,15.143 93.208,15.143Z"
style="stroke: #fcfcfc; stroke-width: 1.02px; fill: #212121"
/>
</g>
<g transform="matrix(1,0,0,1,25.3883,0)">
<circle
cx="88.159"
cy="40.531"
r="25.388"
style="stroke: #fcfcfc; stroke-width: 1px; fill: #212121"
/>
</g>
<g transform="matrix(0.583924,0,0,0.833659,46.1887,5.49114)">
<text
class="cog-text"
x="88.774px"
y="62.39px"
style="
font-family: 'LilyScriptOne-Regular', 'Lily Script One';
font-size: 56.378px;
fill: #fcfcfc;
"
>
M
</text>
</g>
</g>
<g class="cog1">
<g transform="matrix(1,0,0,1,-53.0818,0)">
<path
d="M96.856,1.744C94.429,1.515 91.986,1.515 89.559,1.744L86.789,9.351C84.515,9.822 82.299,10.542 80.182,11.498L73.47,6.972C71.372,8.213 69.395,9.649 67.566,11.261L69.796,19.043C68.233,20.761 66.864,22.646 65.713,24.663L57.623,24.947C56.655,27.185 55.9,29.508 55.368,31.888L61.746,36.873C61.491,39.181 61.491,41.511 61.746,43.819L55.368,48.804C55.9,51.183 56.655,53.507 57.623,55.745L65.713,56.028C66.864,58.046 68.233,59.931 69.796,61.648L67.566,69.43C69.395,71.043 71.372,72.479 73.47,73.72L80.182,69.194C82.299,70.15 84.515,70.87 86.789,71.341L89.559,78.947C91.986,79.177 94.429,79.177 96.856,78.947L99.626,71.341C101.901,70.87 104.116,70.15 106.233,69.194L112.945,73.72C115.043,72.479 117.02,71.043 118.849,69.43L116.619,61.648C118.182,59.931 119.551,58.046 120.702,56.028L128.792,55.745C129.76,53.507 130.516,51.183 131.047,48.804L124.669,43.819C124.924,41.511 124.924,39.181 124.669,36.873L131.047,31.888C130.516,29.508 129.76,27.185 128.792,24.947L120.702,24.663C119.551,22.646 118.182,20.761 116.619,19.043L118.849,11.261C117.02,9.649 115.043,8.213 112.945,6.972L106.233,11.498C104.116,10.542 101.901,9.822 99.626,9.351L96.856,1.744ZM93.208,15.143C107.117,15.143 118.41,26.436 118.41,40.346C118.41,54.256 107.117,65.549 93.208,65.549C79.298,65.549 68.005,54.256 68.005,40.346C68.005,26.436 79.298,15.143 93.208,15.143Z"
style="stroke: #fcfcfc; stroke-width: 1px; fill: #212121"
/>
</g>
<g transform="matrix(1,0,0,1,-25.3351,-8.88178e-16)">
<circle
cx="65.329"
cy="40.346"
r="25.203"
style="stroke: #fcfcfc; stroke-width: 1px; fill: #212121"
/>
</g>
<g transform="matrix(1,0,0,1,8.41393,1.1192)">
<text
class="cog-text"
x="18.053px"
y="57.592px"
style="
font-family: 'LilyScriptOne-Regular', 'Lily Script One';
font-size: 48.522px;
fill: #fcfcfc;
"
>
S
</text>
</g>
</g>
</svg>
</a>
<!--Text logo to drop down in two parts, originally one animation but I was not satisfied with how this looked on small screens-->
<a id="logo-text" href="./index.html">
<h2 class="drop1">Sean Mc</h2>
<h2 class="drop2">-Digital Design</h2>
</a>
</div>
<div class="nav-links">
<ul>
<li>
<a class="nav-link" href="renders.html">Renders</a>
</li>
<li>
<a class="nav-link" href="3d.html">3D Models</a>
</li>
<li><a class="nav-link" href="furniture.html">Furniture</a></li>
<li><a class="nav-link" href="portraits.html">Portraits</a></li>
<li>
<a class="nav-link active-nav-link color" href="contact.html"
>Contact</a
>
</li>
</ul>
</div>
<div class="burger">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
</div>
</nav>
</header>
<div class="toggle-container">
<!--Used to switch color schemes, these preferences are saved to session storage-->
<div class="color-buttons">
<label class="btn-container btn-container-normal">
<input
type="radio"
id="styleChoice1"
name="set-style"
value="normal"
checked
/>
<span class="btn-checkmark btn-checkmark-normal"></span>
</label>
<label class="btn-container btn-container-yellow">
<input
type="radio"
id="styleChoice2"
name="set-style"
value="yellow"
/>
<span class="btn-checkmark btn-checkmark-yellow"></span>
</label>
<label class="btn-container btn-container-blue">
<input type="radio" id="styleChoice3" name="set-style" value="blue" />
<span class="btn-checkmark btn-checkmark-blue"></span>
</label>
<label class="btn-container btn-container-green">
<input
type="radio"
id="styleChoice4"
name="set-style"
value="green"
/>
<span class="btn-checkmark btn-checkmark-green"></span>
</label>
<label class="btn-container btn-container-pink">
<input type="radio" id="styleChoice5" name="set-style" value="pink" />
<span class="btn-checkmark btn-checkmark-pink"></span>
</label>
<label class="btn-container btn-container-brown">
<input
type="radio"
id="styleChoice6"
name="set-style"
value="brown"
/>
<span class="btn-checkmark btn-checkmark-brown"></span>
</label>
</div>
<!--Used to toggle between dark/light modes, these preferences are saved to local storage-->
<input type="checkbox" id="switch" name="theme" /><label
id="darkLight"
for="switch"
></label>
</div>
<main>
<!--Bootstrap grid is used throughout project-->
<div class="container">
<!--Row transitions on loading using GSAP-->
<div class="row slide">
<div class="col-lg-6 contact-form text-wrapper">
<div class="reveal-text"></div>
<div class="form-header">
<h3 class="color">Wanna know more?</h3>
<h5 class="color">Get in touch!</h5>
</div>
<form id="formContact" onsubmit="return sendMail(this);">
<input
type="text"
name="name"
class="form-control"
id="fullname"
placeholder="Name"
required
/>
<input
type="email"
name="emailaddress"
class="form-control"
id="emailaddress"
placeholder="Email"
required
/>
<textarea
rows="5"
name="projectsummary"
class="form-control"
id="projectsummary"
required
></textarea>
<button type="submit" class="btn btn-outline-primary color">
Submit
</button>
</form>
</div>
<!--Map to scale upon click and reveal adress, pin designed by author-->
<div class="col-lg-6 contact-map text-wrapper">
<div class="reveal-text"></div>
<h3 class="color">I'm located in the liberties area of Dublin</h3>
<div id="map"></div>
</div>
</div>
</div>
</main>
<footer>
<div class="copyright">
<p>© 2020 Sean McMahon</p>
</div>
<div class="social-links">
<ul>
<li>
<a
rel="noopener"
target="_blank"
href="https://www.linkedin.com/in/sean-mcmahon-profile/"
><i class="fab fa-linkedin-in"></i
></a>
</li>
<li>
<a
rel="noopener"
target="_blank"
href="https://github.com/Sean-Mc-Mahon"
><i class="fab fa-github"></i
></a>
</li>
</ul>
</div>
</footer>
<!--Colors for Toggle nav are the inverse of regular dark/light colors-->
<section class="toggle-nav">
<div class="toggle-nav-links">
<ul>
<li>
<a class="toggle-nav-link" id="username" href="renders.html">Renders</a>
</li>
<li><a class="toggle-nav-link" id="password" href="3d.html">3D Models</a></li>
<li>
<a class="toggle-nav-link" href="furniture.html">Furniture</a>
</li>
<li>
<a class="toggle-nav-link" href="portraits.html">Portraits</a>
</li>
<li>
<a
class="toggle-nav-link active-toggle-nav-link"
href="contact.html"
>Contact</a
>
</li>
</ul>
</div>
</section>
<!--Sweet alert used for alerts upon form submission https://sweetalert.js.org/-->
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAxtm_y9TFSCZc3I4z5uCkP4EV7oUYUyF8&callback=initMap">
</script>
<!--GSAP used for Burger Toggle and container transitions-->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.2.6/gsap.min.js"
integrity="sha256-3arngJBQR3FTyeRtL3muAGFaGcL8iHsubYOqq48mBLw="
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"
integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg=="
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"
></script>
<!--Bootstrap used for grid layout, image carousels and buttons-->
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js"
integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/"
crossorigin="anonymous"
></script>
<script src="./assets/javascript/app.js"></script>
</body>
</html>