-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMEMBERIDEX.HTML
More file actions
357 lines (341 loc) · 12.3 KB
/
Copy pathMEMBERIDEX.HTML
File metadata and controls
357 lines (341 loc) · 12.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>POLAR AUDIO SOLUTION'S - MEMBER CARD B2C</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet" />
<style>
:root {
--black: #000000;
--gray-dark: #384e6a;
--gray-medium: #464f60;
--orange: #fb6000;
--white: #ffffff;
}
* {
margin: 0; padding: 0; box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body {
transition: background 1s ease, color 0.5s ease;
overflow-x: hidden;
}
body.dark {
background: linear-gradient(-45deg, var(--black), var(--gray-dark), var(--black), var(--gray-dark));
background-size: 400% 400%;
animation: gradientShift 20s ease infinite;
color: var(--white);
}
body.light {
background: #f4f5f7;
color: #222222;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.toggle-mode {
position: fixed;
top: 1rem;
left: 1rem;
cursor: pointer;
z-index: 1000;
color: var(--orange);
background: rgba(0,0,0,0.2);
padding: 6px 8px;
border-radius: 8px;
user-select: none;
transition: background-color 0.3s ease;
}
.toggle-mode:hover {
background: rgba(0,0,0,0.4);
}
.toggle-mode svg {
width: 28px;
height: 28px;
stroke-width: 2.5;
stroke-linejoin: round;
stroke-linecap: round;
}
header {
text-align: center;
padding: 2rem 1rem 1rem;
}
header h1 {
font-size: 2.4rem;
color: var(--orange);
text-shadow: 1px 1px 2px var(--black);
font-weight: 700;
}
body.light header h1 {
color: var(--orange);
text-shadow: none;
}
header h2 {
font-size: 1.2rem;
color: var(--gray-medium);
margin-bottom: 1rem;
font-weight: 600;
}
body.light header h2 {
color: #555555;
}
.main-text {
max-width: 700px;
margin: 0 auto 2rem;
padding: 1rem 2rem;
background: rgba(70, 79, 96, 0.4); /* semi-transparent grey */
border-radius: 12px;
text-align: center;
font-size: 1.15rem;
line-height: 1.5;
color: var(--white);
user-select: none;
transition: background 0.5s ease, color 0.5s ease;
}
body.light .main-text {
background: rgba(200, 200, 210, 0.3);
color: #222222;
}
.card-section {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
margin-bottom: 3rem;
}
.card {
width: 320px;
border-radius: 12px;
cursor: pointer;
transition: transform 0.4s ease, box-shadow 0.4s ease;
box-shadow: 0 8px 16px rgba(0,0,0,0.7);
user-select: none;
}
.card:hover {
transform: scale(1.05);
box-shadow: 0 12px 30px rgba(0,0,0,0.9);
}
body.light .card {
box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
body.light .card:hover {
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.card-text {
max-width: 700px;
margin: 0 auto;
padding: 1.5rem 2rem;
background: rgba(70, 79, 96, 0.4);
border-radius: 12px;
text-align: center;
color: var(--white);
font-weight: 400;
font-size: 1rem;
line-height: 1.4;
user-select: none;
transition: background 0.5s ease, color 0.5s ease;
}
body.light .card-text {
background: rgba(220, 220, 230, 0.3);
color: #222222;
}
.card-text strong {
font-weight: 700;
display: block;
margin-top: 1rem;
font-size: 1.1rem;
color: var(--orange);
}
body.light .card-text strong {
color: var(--orange);
}
.contact {
margin: 3rem 0 1rem;
display: flex;
justify-content: center;
gap: 1.5rem;
flex-wrap: wrap;
user-select: none;
}
.contact a img {
filter: brightness(1) saturate(1);
transition: filter 0.3s ease;
}
.contact a:hover img {
filter: brightness(0.8) saturate(1.5);
}
/* Zoom Overlay */
.zoom-wrapper {
position: fixed;
top: 0; left: 0;
width: 100vw; height: 100vh;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(6px);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}
.zoom-card {
position: relative;
}
.zoom-card img {
max-width: 90vw;
max-height: 80vh;
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0,0,0,0.8);
user-select: none;
transition: filter 0.3s ease;
}
.zoom-controls {
position: absolute;
top: -50px;
right: -10px;
display: flex;
gap: 12px;
user-select: none;
}
.zoom-controls svg {
width: 28px;
height: 28px;
stroke: var(--white);
fill: none;
stroke-width: 2.5;
cursor: pointer;
transition: stroke 0.3s ease;
}
.zoom-controls svg:hover {
stroke: var(--orange);
}
body.light .zoom-controls svg,
body.light .zoom-card img {
filter: none;
stroke: var(--orange);
}
</style>
</head>
<body class="dark">
<header>
<h1>MEMBER CARD</h1>
<h2>B2C</h2>
</header>
<div class="main-text">
<p>This card is your key to every event that matters to you.</p>
<p>Whether you’re a freelancer crafting your own journey, a loyal client who supports our vision, <br>
or someone passionate about the experiences we create — this Member Card opens and unique opportunities.</p>
</div>
<div class="card-section">
<img src="https://raw.githubusercontent.com/PolarAudio/website/main/5-min.jpg" alt="Member Card Front" class="card" id="card" onclick="zoomCard()" />
<img src="https://raw.githubusercontent.com/PolarAudio/website/main/6-min.jpg" alt="Member Card Back" class="card" id="cardBack" onclick="zoomCardBack()" style="display:none;" />
</div>
<div class="card-text">
<strong>Member card individuals who collaborate, recommend, and grow with us quietly, consistently, and with purpose.</strong>
<p>Step in, expand your network, and own the moments that push you forward.</p>
</div>
<div style="max-width: 700px; margin: 0 auto;">
<div class="contact" style="justify-content: center; text-align: center;>
<a href="https://instagram.com/polar_solution" target="_blank" rel="noopener noreferrer" title="Instagram">
<img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/instagram.svg" width="24" alt="Instagram/>
</a>
<a href="mailto:info@polarsolutionsbali.com" target="_blank" rel="noopener noreferrer" title="Email">
<img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/maildotru.svg" width="24" alt="Email" />
</a>
<a href="https://www.polarsolutionsbali.com/id" target="_blank" rel="noopener noreferrer" title="Website">
<img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/googlechrome.svg" width="24" alt="Website" />
</a>
<a href="https://wa.me/6281237858515" target="_blank" rel="noopener noreferrer" title="WhatsApp">
<img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/whatsapp.svg" width="24" alt="WhatsApp" />
</a>
<a href="https://maps.app.goo.gl/zbiZ6tRfQ24ucFsZ7" target="_blank" rel="noopener noreferrer" title="Google Maps">
<img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/googlemaps.svg" width="24" alt="Google Maps" />
</a>
<a href="https://facebook.com/polaraudiosolution" target="_blank" rel="noopener noreferrer" title="Facebook">
<img src="https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/facebook.svg" width="24" alt="Facebook" />
</a>
</div>
<!-- Contact Form Start -->
<div class="main-text" style="margin-top: 4rem; max-width: 400px; margin-left: auto; margin-right: auto;">
<h2 style="color: var(--orange); margin-bottom: 1rem;">Send Us a Message</h2>
<form id="contact-form" action="https://formspree.io/f/mnnvbjzb" method="POST" style="display: flex; flex-direction: column; gap: 0.75rem;">
<label for="name" style="font-weight: bold; text-align: left;">Your Name *</label>
<input type="text" id="name" name="name" placeholder="Your Name" required
style="padding: 0.6rem 1rem; border-radius: 6px; border: none; font-size: 0.95rem;">
<label for="email" style="font-weight: bold; text-align: left;">Your Email *</label>
<input type="email" id="email" name="email" placeholder="you@example.com" required
style="padding: 0.6rem 1rem; border-radius: 6px; border: none; font-size: 0.95rem;">
<label for="subject" style="font-weight: bold; text-align: left;">Subject *</label>
<input type="text" id="subject" name="subject" placeholder="Subject" required
style="padding: 0.6rem 1rem; border-radius: 6px; border: none; font-size: 0.95rem;">
<label for="message" style="font-weight: bold; text-align: left;">Your Message *</label>
<textarea id="message" name="message" placeholder="Type your message here..." rows="5" required
style="padding: 0.6rem 1rem; border-radius: 6px; border: none; font-size: 0.95rem;"></textarea>
<button type="submit"
style="background-color: var(--orange); color: white; padding: 0.65rem 1rem; font-size: 1rem; border: none; border-radius: 6px; cursor: pointer;">
Send Message
</button>
<div class="thank-you" id="thank-you-message" style="display:none; text-align:center; color: var(--orange); font-weight: bold; margin-top: 1rem;">
THANK YOU FOR YOUR MESSAGE
</div>
</form>
</div>
<!-- Contact Form End -->
<script>
const form = document.getElementById('contact-form');
const thankYou = document.getElementById('thank-you-message');
form.addEventListener('submit', async function(event) {
event.preventDefault();
const formData = new FormData(form);
const response = await fetch(form.action, {
method: 'POST',
body: formData,
headers: {
'Accept': 'application/json'
}
});
if (response.ok) {
form.reset();
thankYou.style.display = 'block';
}
});
</script>
</div>
<!-- Zoom overlay -->
<div class="zoom-wrapper" id="zoomWrapper">
<div class="zoom-card">
<div class="zoom-controls">
<svg viewBox="0 0 24 24" onclick="flipCard()" title="Flip Card" role="button" tabindex="0" onkeypress="if(event.key==='Enter') flipCard()"><path d="M3 12h18M12 3l9 9-9 9"/></svg>
<svg viewBox="0 0 24 24" onclick="closeZoom()" title="Close Zoom" role="button" tabindex="0" onkeypress="if(event.key==='Enter') closeZoom()"><path d="M6 18L18 6M6 6l12 12"/></svg>
</div>
<img id="zoomImg" src="https://raw.githubusercontent.com/PolarAudio/website/main/5-min.jpg" alt="Zoomed Member Card" />
</div>
</div>
<script>
let isFront = true;
function zoomCard() {
document.getElementById('zoomWrapper').style.display = 'flex';
document.getElementById('zoomImg').src = 'https://raw.githubusercontent.com/PolarAudio/website/main/5-min.jpg';
isFront = true;
}
function zoomCardBack() {
document.getElementById('zoomWrapper').style.display = 'flex';
document.getElementById('zoomImg').src = 'https://raw.githubusercontent.com/PolarAudio/website/main/6-min.jpg';
isFront = false;
}
function flipCard() {
const zoomImg = document.getElementById('zoomImg');
if (isFront) {
zoomImg.src = 'https://raw.githubusercontent.com/PolarAudio/website/main/6-min.jpg';
} else {
zoomImg.src = 'https://raw.githubusercontent.com/PolarAudio/website/main/5-min.jpg';
}
isFront = !isFront;
}
function closeZoom() {
document.getElementById('zoomWrapper').style.display = 'none';
}
</script>
</body>
</html>