-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
311 lines (306 loc) · 19.1 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
<!DOCTYPE html>
<html lang="en" class="h-full">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="./img/diamond.svg" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css"
integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./main.css">
<script defer src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.3.4/dist/alpine.min.js"></script>
<title>Team Diamond - Contact Us</title>
</head>
<body class="bg-trueGrey-50 font-rubik min-h-screen">
<div id="hero" class="relative bg-trueGrey-800 overflow-hidden">
<div class="max-w-7xl mx-auto">
<div x-data="{ menuOpen: false }"
class="relative z-10 bg-trueGrey-800 sm:pb-16 md:pb-20 lg:w-full lg:pb-28 xl:pb-32">
<div>
<div class="relative pt-6 lg:pt-10 px-4 sm:px-6 lg:pl-6">
<nav class="relative flex items-center justify-between sm:h-10 lg:justify-start animate-slideInTop"
aria-label="Global">
<div class="flex items-center flex-grow flex-shrink-0 lg:flex-grow-1">
<div class="flex items-center justify-between w-full md:w-auto">
<div class="w-36 md:w-40 lg:w-48">
<a href="/">
<span class="sr-only">Team Diamond</span>
<img class="w-full" src="https://d2s9wmnb8wwjnh.cloudfront.net/td-logo.png"
alt="Team Diamond logo">
</a>
</div>
<div class="-mr-2 flex items-center md:hidden">
<button @click="menuOpen = true" type="button"
class="bg-trueGrey-800 rounded-md p-2 inline-flex items-center justify-center text-blue-300 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-300"
aria-expanded="false">
<span class="sr-only">Open main menu</span>
<svg class="h-8 w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
</div>
</div>
</div>
<ul class="hidden md:block md:ml-16 md:space-x-8 text-blue-300 ">
<li class="inline"><a href="./classes.html"
class="font-medium border-b-2 border-t-2 border-transparent hover:border-b-2 hover:border-t-2 hover:border-trueGrey-50 transform transition duration-200">Classes</a>
</li>
<li class="inline"><a href="./instructors.html"
class="font-medium border-b-2 border-t-2 border-transparent hover:border-b-2 hover:border-t-2 hover:border-trueGrey-50 transform transition duration-200">Instructors</a>
</li>
<li class="inline"><a href="./about.html"
class="font-medium border-b-2 border-t-2 border-transparent hover:border-b-2 hover:border-t-2 hover:border-trueGrey-50 transform transition duration-200">About</a>
</li>
<li class="inline"><a href="./contact.html"
class="font-medium border-b-2 border-t-2 border-transparent hover:border-b-2 hover:border-t-2 hover:border-trueGrey-50 transform transition duration-200">Contact
Us</a></li>
</ul>
</nav>
</div>
<div id="mobile__menu" x-show.transition.duration.150ms="menuOpen"
class="absolute top-0 inset-x-0 p-2 transition transform origin-top-right md:hidden">
<div class="rounded-lg shadow-md bg-trueGrey-50 ring-1 ring-black ring-opacity-5 overflow-hidden">
<div class="px-5 pt-4 flex items-center justify-between">
<div class="h-8 w-8">
<a href="/"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="#70bbef" d="M145.454 209.709L249.289 483.58h12.345l103.834-273.871z" />
<path
d="M232.914 474.449c4.335 4.886 10.17 7.927 16.375 9.132L145.454 209.71.322 163.994c.661 4.906-15.025-18.303 232.592 310.455z"
fill="#9cd7f2" />
<path
d="M51.695 180.177L.322 163.995c.661 4.905-15.024-18.304 232.592 310.453 3.21 3.618 7.245 6.219 11.642 7.817L51.695 180.177z"
fill="#71c5db" />
<g fill="#9cd7f2">
<path
d="M86.074 51.099l59.38 158.611L255.461 84.212l-167.38-34.11c-.727.316-1.4.651-2.007.997zM365.468 209.71L261.634 483.58c6.205-1.205 12.039-4.246 16.375-9.132 64.394-85.292 233.353-308.79 233.863-310.854L365.468 209.71zM365.468 209.71l59.361-158.56c-.7-.398-1.396-.735-2.074-1.03L255.461 84.212 365.468 209.71z" />
</g>
<path fill="#57addd" d="M145.454 209.709h220.014L255.461 84.212z" />
<path
d="M86.074 51.099c-3.916 2.227-4.52 3.544-10.676 11.438C-4.743 165.306-.551 157.536.322 163.994l145.132 45.715-59.38-158.61z"
fill="#70bbef" />
<path
d="M51.695 180.177L87.063 53.74l-.989-2.642c-3.915 2.227-4.52 3.544-10.676 11.438-80.142 102.77-75.949 95-75.077 101.458l51.374 16.183z"
fill="#57addd" />
<path
d="M365.468 209.71l146.403-46.115c.413-2.149-.209-3.422-1.25-4.756-72.603-93.205-82.672-106.93-85.792-107.689l-59.361 158.56z"
fill="#70bbef" />
<path
d="M255.461 84.212L422.756 50.12c-3.521-1.527-6.327-1.748-6.433-1.767l-134.829-18.16c-42.419-5.714-60.701 2.923-187.247 18.208-.195.042-2.915.287-6.166 1.702l167.38 34.109z"
fill="#57addd" />
</svg></a>
</div>
<div class="-mr-2">
<button @click="menuOpen = false" type="button"
class="bg-trueGrey-50 rounded-md p-2 inline-flex items-center justify-center text-trueGrey-800 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-300">
<span class="sr-only">Close main menu</span>
<svg class="h-8 w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
</div>
<div class="px-2 pt-2 pb-3 space-y-1 text-trueGrey-800">
<a href="./classes.html" class="block px-3 py-2 rounded-md text-base font-medium">Classes</a>
<a href="./instructors.html" class="block px-3 py-2 rounded-md text-base font-medium">Instructors</a>
<a href="./about.html" class="block px-3 py-2 rounded-md text-base font-medium">About</a>
<a href="./contact.html" class="block px-3 py-2 rounded-md text-base font-medium">Contact Us</a>
</div>
</div>
</div>
</div>
<header class="text-center mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-24 lg:mt-28 lg:px-8 xl:mt-36">
<div class="mb-28">
<h1 class="text-4xl tracking-tight font-bold text-trueGrey-50 sm:text-5xl md:text-6xl animate-slideInFast">
Contact <span class="text-blue-300">us</span>
</h1>
</div>
</header>
</div>
</div>
</div>
<div class="bg-trueGrey-100">
<div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8 animate-slideInSlow">
<div class="relative bg-white shadow-xl">
<h2 class="sr-only">Contact us</h2>
<div class="grid grid-cols-1 lg:grid-cols-3">
<div class="relative overflow-hidden py-10 px-6 bg-blue-300 sm:px-10 xl:p-12">
<div class="absolute inset-0 pointer-events-none sm:hidden" aria-hidden="true">
<svg class="absolute inset-0 w-full h-full" width="343" height="388" viewBox="0 0 343 388" fill="none"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg">
<path d="M-99 461.107L608.107-246l707.103 707.107-707.103 707.103L-99 461.107z" fill="url(#linear1)"
fill-opacity=".1" />
<defs>
<linearGradient id="linear1" x1="254.553" y1="107.554" x2="961.66" y2="814.66"
gradientUnits="userSpaceOnUse">
<stop stop-color="#fff"></stop>
<stop offset="1" stop-color="#fff" stop-opacity="0"></stop>
</linearGradient>
</defs>
</svg>
</div>
<div class="hidden absolute top-0 right-0 bottom-0 w-1/2 pointer-events-none sm:block lg:hidden"
aria-hidden="true">
<svg class="absolute inset-0 w-full h-full" width="359" height="339" viewBox="0 0 359 339" fill="none"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg">
<path d="M-161 382.107L546.107-325l707.103 707.107-707.103 707.103L-161 382.107z" fill="url(#linear2)"
fill-opacity=".1" />
<defs>
<linearGradient id="linear2" x1="192.553" y1="28.553" x2="899.66" y2="735.66"
gradientUnits="userSpaceOnUse">
<stop stop-color="#fff"></stop>
<stop offset="1" stop-color="#fff" stop-opacity="0"></stop>
</linearGradient>
</defs>
</svg>
</div>
<div class="hidden absolute top-0 right-0 bottom-0 w-1/2 pointer-events-none lg:block" aria-hidden="true">
<svg class="absolute inset-0 w-full h-full" width="160" height="678" viewBox="0 0 160 678" fill="none"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg">
<path d="M-161 679.107L546.107-28l707.103 707.107-707.103 707.103L-161 679.107z" fill="url(#linear3)"
fill-opacity=".1" />
<defs>
<linearGradient id="linear3" x1="192.553" y1="325.553" x2="899.66" y2="1032.66"
gradientUnits="userSpaceOnUse">
<stop stop-color="#fff"></stop>
<stop offset="1" stop-color="#fff" stop-opacity="0"></stop>
</linearGradient>
</defs>
</svg>
</div>
<h3 class="text-lg font-medium text-trueGrey-800">Contact information</h3>
<p class="mt-6 pr-10 text-base text-trueGrey-700 max-w-3xl">
Team Diamond Gym,
Unit 4, Regents Park,
Nantwich,
CW5 6LW</p>
<dl class="mt-8 space-y-6">
<dt><span class="sr-only">Phone number</span></dt>
<dd class="flex text-base text-trueGrey-700">
<svg class="flex-shrink-0 w-6 h-6 text-trueGrey-700" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
</svg>
<span class="ml-3"><a class="transition transform duration-200 ease-in-out lg:hover:text-trueGrey-600"
href="tel:07727085064">07727 085064</a></span>
</dd>
<dt><span class="sr-only">Email</span></dt>
<dd class="flex text-base text-trueGrey-700">
<svg class="flex-shrink-0 w-6 h-6 text-trueGrey-700" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
<span class="ml-3"><a class="transition transform duration-200 ease-in-out lg:hover:text-trueGrey-600"
href="mailto:beastmasters-nantwich@hotmail.com">beastmasters-nantwich@hotmail.com</a></span>
</dd>
<dd class="flex text-base text-trueGrey-700">
<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook"
class="flex-shrink-0 w-6 h-6 text-trueGrey-700" role="img" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512">
<path fill="currentColor"
d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z">
</path>
</svg>
<span class="ml-3"><a class="transition transform duration-200 ease-in-out lg:hover:text-trueGrey-600"
href="https://www.facebook.com/beastmastersnantwich/" target="_blank"
rel="noopener noreferrer">@beastmastersnantwich</a></span>
</dd>
</dl>
</div>
<div class="py-10 px-6 sm:px-10 lg:col-span-2 xl:p-12">
<h3 class="text-lg font-medium text-trueGrey-800">Send us a message</h3>
<form name="contact" method="POST" data-netlify="true"
class="mt-6 grid grid-cols-1 gap-y-6 sm:grid-cols-2 sm:gap-x-8">
<div>
<label for="first_name" class="block text-sm font-medium text-trueGrey-700">First name</label>
<div class="mt-1">
<input type="text" name="first_name" id="first_name" autocomplete="given-name"
class="py-3 px-4 block w-full shadow-sm text-trueGrey-700 focus:ring-blue-300 focus:border-blue-300 border-trueGrey-300 rounded-md"
required>
</div>
</div>
<div>
<label for="last_name" class="block text-sm font-medium text-trueGrey-700">Last name</label>
<div class="mt-1">
<input type="text" name="last_name" id="last_name" autocomplete="family-name"
class="py-3 px-4 block w-full shadow-sm text-trueGrey-700 focus:ring-blue-300 focus:border-blue-300 border-trueGrey-300 rounded-md"
required>
</div>
</div>
<div>
<label for="email" class="block text-sm font-medium text-trueGrey-700">Email</label>
<div class="mt-1">
<input id="email" name="email" type="email" autocomplete="email"
class="py-3 px-4 block w-full shadow-sm text-trueGrey-700 focus:ring-blue-300 focus:border-blue-300 border-trueGrey-300 rounded-md"
required>
</div>
</div>
<div>
<div class="flex justify-between">
<label for="phone" class="block text-sm font-medium text-trueGrey-700">Phone</label>
<span id="phone-optional" class="text-sm text-trueGrey-500">Optional</span>
</div>
<div class="mt-1">
<input type="text" name="phone" id="phone" autocomplete="tel" pattern="^[0-9-+\s()]*$"
class="py-3 px-4 block w-full shadow-sm text-trueGrey-700 focus:ring-blue-300 focus:border-blue-300 border-trueGrey-300 rounded-md"
aria-describedby="phone-optional">
</div>
</div>
<div class="sm:col-span-2">
<label for="subject" class="block text-sm font-medium text-trueGrey-700">Subject</label>
<div class="mt-1">
<input type="text" name="subject" id="subject"
class="py-3 px-4 block w-full shadow-sm text-trueGrey-700 focus:ring-blue-300 focus:border-blue-300 border-trueGrey-300 rounded-md"
required>
</div>
</div>
<div class="sm:col-span-2">
<div class="flex justify-between">
<label for="message" class="block text-sm font-medium text-trueGrey-700">Message</label>
<span id="message-max" class="text-sm text-trueGrey-500">Max. 500 characters</span>
</div>
<div class="mt-1">
<textarea id="message" name="message" rows="4"
class="py-3 px-4 block w-full shadow-sm text-trueGrey-700 focus:ring-blue-300 focus:border-blue-300 border border-trueGrey-300 rounded-md"
aria-describedby="message-max" required></textarea>
</div>
</div>
<div class="sm:col-span-2 sm:flex sm:justify-end">
<button type="submit"
class="mt-2 w-full inline-flex items-center justify-center px-6 py-3 border border-transparent rounded-md shadow-sm text-base font-medium text-trueGrey-50 bg-blue-400 hover:bg-blue-500 transform transition duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-400 sm:w-auto">
Submit
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<footer class="bg-white">
<div
class="max-w-7xl mx-auto py-4 lg:py-10 px-4 sm:px-6 lg:px-8 md:flex md:items-center justify-center md:justify-between">
<div class="flex justify-center space-x-6 md:order-2">
<a href="mailto:beastmasters-nantwich@hotmail.com"
class="text-xl md:text-2xl transition transform duration-300 text-trueGrey-400 ease-in-out hover:scale-125 hover:text-blue-300"
alt="email"><i class="far fa-envelope"></i></a>
<a href="https://www.facebook.com/beastmastersnantwich/" target="_blank" rel="noopener noreferrer"
class="text-xl md:text-2xl transition transform duration-300 text-trueGrey-400 ease-in-out hover:scale-125 hover:text-blue-300"
alt="facebook"><i class="fab fa-facebook"></i></a>
</div>
<div class="mt-4 md:mt-0 md:order-1">
<p class="text-center text-base text-trueGrey-400">
© 2021 Team Diamond. All rights reserved.
</p>
</div>
</div>
</footer>
</body>
<script type="module" src="./main.js"></script>
</html>