-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents.html
621 lines (569 loc) · 23.4 KB
/
events.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
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jones RX</title>
<link href="https://fonts.googleapis.com/css2?family=Jersey+20&display=swap" rel="stylesheet">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<style>
html, body {
height: 100%; /* Ensure body takes full height */
margin: 0; /* Remove default margin */
}
body {
background-color: black;
background-image: url('https://raw.githubusercontent.com/InjectionSoftwareandSecurityLLC/jonesrx/refs/heads/main/img/background.gif');
background-size: cover;
background-position: left; /* Shift background to the left */
display: flex;
flex-direction: column;
align-items: center;
padding-top: 20px; /* Add spacing at the top */
font-family: 'Jersey 20', cursive;
}
.neon-sign-container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
border: 2px solid;
padding: 20px;
background-color: rgba(0, 0, 0, 0.5); /* Slightly transparent background */
width: 350px; /* Increase width */
max-width: 800px; /* Set a max width */
}
.neon-sign-container:hover {
animation: sway 0.5s infinite alternate; /* Apply sway effect on hover */
}
@keyframes sway {
0% { transform: rotate(-2deg); }
50% { transform: rotate(2deg); }
100% { transform: rotate(-2deg); }
}
.neon-sign {
font-family: 'Jersey 20', cursive;
font-size: 5rem; /* Increase font size */
color: white; /* Default neon color */
text-shadow:
0 0 5px cyan,
0 0 10px cyan,
0 0 20px cyan,
0 0 30px cyan;
transform: rotate(-10deg);
}
.neon-warn {
font-family: 'Jersey 20', cursive;
font-size: 5rem; /* Increase font size */
color: white; /* Default neon color */
text-shadow:
0 0 5px yellow,
0 0 10px yellow,
0 0 20px yellow,
0 0 30px yellow;
transform: rotate(-10deg);
}
.neon-err {
font-family: 'Jersey 20', cursive;
font-size: 5rem; /* Increase font size */
color: white; /* Default neon color */
text-shadow:
0 0 5px red,
0 0 10px red,
0 0 20px red,
0 0 30px red;
transform: rotate(-10deg);
}
.triangle {
position: absolute;
width: 0;
height: 0;
border-style: solid;
animation: rotate 3s infinite linear;
}
.triangle.tl {
top: -20px; left: -20px;
border-width: 0 30px 30px 0;
border-color: transparent cyan transparent transparent; /* Default neon color */
}
.triangle.tr {
top: -20px; right: -20px;
border-width: 30px 0 0 30px;
border-color: transparent transparent transparent cyan; /* Default neon color */
}
.triangle.bl {
bottom: -20px; left: -20px;
border-width: 30px 30px 0 0;
border-color: cyan transparent transparent transparent; /* Default neon color */
}
.triangle.br {
bottom: -20px; right: -20px;
border-width: 0 0 30px 30px;
border-color: transparent transparent cyan transparent; /* Default neon color */
}
.inner-triangle {
position: absolute;
width: 0;
height: 0;
border-style: solid;
opacity: 0.5; /* Make inner triangles semi-transparent */
animation: rotate 3s infinite linear;
}
.inner-triangle.tl {
top: -10px; left: -10px;
border-width: 0 20px 20px 0;
border-color: transparent cyan transparent transparent; /* Default neon color */
}
.inner-triangle.tr {
top: -10px; right: -10px;
border-width: 20px 0 0 20px;
border-color: transparent transparent transparent cyan; /* Default neon color */
}
.inner-triangle.bl {
bottom: -10px; left: -10px;
border-width: 20px 20px 0 0;
border-color: cyan transparent transparent transparent; /* Default neon color */
}
.inner-triangle.br {
bottom: -10px; right: -10px;
border-width: 0 0 20px 20px;
border-color: transparent transparent cyan transparent; /* Default neon color */
}
@keyframes rotate {
0% { transform: rotateY(0deg); }
100% { transform: rotateY(360deg); }
}
.main-content {
display: flex;
flex-direction: column;
justify-content: center; /* Center vertically */
align-items: center; /* Center horizontally */
flex-grow: .75; /* Allow the main content to take up remaining space */
width: 100%;
}
.navbar {
display: flex;
flex-direction: row;
justify-content: center; /* Center navbar items */
align-items: center;
width: 100%;
flex-wrap: wrap;
}
.primary-button {
font-family: 'Jersey 20', cursive;
text-align: center;
padding: 20px 40px;
border: 2px solid;
background-color: transparent;
color: white;
text-decoration: none;
transition: 0.3s;
margin: 10px;
display: inline-block;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
background-color: rgba(0, 0, 0, 0.85); /* More opaque black */
font-size: 2rem;
min-width: 200px;
width: 150px;
}
@media (max-width: 768px) {
.navbar {
flex-direction: column;
align-items: center;
}
.primary-button {
width: 300px;
}
}
.flicker {
animation: flicker 1.5s infinite; /* Flicker effect */
}
@keyframes flicker {
0% { opacity: 1; }
20% { opacity: 0.8; }
40% { opacity: 0.5; }
60% { opacity: 0.6; }
80% { opacity: 0.9; }
100% { opacity: 1; }
}
.primary-button:hover, .primary-button:focus {
filter: brightness(1.5);
animation: glow 0.8s infinite alternate;
text-decoration: none;
}
@keyframes glow {
0% { box-shadow: 0 0 5px, 0 0 10px; }
50% { box-shadow: 0 0 15px, 0 0 30px; }
100% { box-shadow: 0 0 10px, 0 0 20px; }
}
.dropdown-menu {
background-color: transparent;
border: none;
box-shadow: none;
}
.dropdown-item {
font-family: 'Jersey 20', cursive;
color: white;
text-align: center;
padding: 15px 30px;
border: 2px solid;
margin: 5px 0;
transition: 0.3s;
display: block;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
background-color: rgba(0, 0, 0, 0.85); /* More opaque black */
}
.dropdown-item:hover {
filter: brightness(1.5);
animation: glow 0.8s infinite alternate;
background-color: rgba(0, 0, 0, 0.85); /* More opaque black */
}
footer {
padding: 20px;
text-align: center;
margin-bottom: -50px;
}
.social-icon {
color: white;
font-size: 30px;
margin: 0 10px;
transition: 0.3s;
display: inline-block;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.social-icon:hover {
filter: brightness(1.5);
animation: glow 0.8s infinite alternate;
background-color: white;
color: black;
}
.neon-events {
font-family: 'Jersey 20', cursive;
text-align: center;
border: 2px solid;
background-color: transparent;
color: white;
text-decoration: none;
transition: 0.3s;
display: inline-block;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
background-color: rgba(0, 0, 0, 0.85); /* More opaque black */
font-size: 2rem;
min-width: 200px;
width: 150px;
}
.neon-events-card {
background-color: transparent !important;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
height: 280px; /* Set a smaller height for the card */
}
.card-body {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100%;
height: 100%; /* Ensures the card body fits the card height */
}
/* Adjust the event details container to half the height */
.event-details {
display: flex;
flex-direction: column;
justify-content: center;
max-height: 160px; /* Reduce the height of the details container */
overflow: hidden; /* Prevent overflow */
margin-right: 20px;
}
/* Make sure text is readable and doesn't overflow */
.event-details h4, .event-details h5, .event-details p {
margin: 5px 0; /* Reduce the margin between elements */
font-size: 1.2rem; /* Adjust font size for compactness */
}
/* Adjust image size */
.card-body img {
max-width: 120px;
height: auto;
margin-right: 20px;
}
.event-action {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card-body .event-action a {
padding: 8px 16px;
text-align: center;
font-size: 1rem;
margin-top: 10px;
}
.card-body .event-action .neon-events-button {
margin-top: 10px;
}
/* Make the card responsive */
@media (max-width: 768px) {
.neon-events-card {
flex-direction: column;
height: auto; /* Allow the card to adjust on smaller screens */
align-items: center;
width: 100%;
}
.neon-events{
width: 100%;
}
.card-body {
flex-direction: column;
}
.event-details {
max-height: none; /* Allow the text to expand on smaller screens */
}
}
.neon-events-button {
font-family: 'Jersey 20', cursive;
text-align: center;
padding: 20px 40px;
border: 2px solid;
background-color: transparent;
color: white;
text-decoration: none;
transition: 0.3s;
display: inline-block;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
background-color: rgba(0, 0, 0, 0.85); /* More opaque black */
font-size: 2rem;
min-width: 200px;
width: 150px;
}
@media (max-width: 768px) {
.neon-events-button {
width: 300px;
}
}
.neon-events-button:hover, .neon-events-button:focus {
filter: brightness(1.5);
animation: glow 0.8s infinite alternate;
text-decoration: none;
}
/* Style for the TV turn-off overlay */
#tvOverlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: linear-gradient(
180deg, /* Horizontal gradient */
white,
black,
cyan,
white,
purple,
black,
pink
);
display: none;
pointer-events: none;
z-index: 9999;
opacity: 0.5;
transform-origin: center center;
}
/* Turn-off animation */
@keyframes tvTurnOff {
0% {
opacity: 0.5;
filter: brightness(100%);
}
50% {
opacity: 0.2;
filter: brightness(200%);
}
100% {
opacity: 0;
}
}
</style>
</head>
<body>
<div class="neon-sign-container">
<div class="neon-sign" id="neonSign">Jones RX</div>
<div class="triangle tl" id="ttl"></div>
<div class="triangle tr" id="ttr"></div>
<div class="triangle bl" id="tbl"></div>
<div class="triangle br" id="tbr"></div>
<div class="inner-triangle tl" id="titl"></div>
<div class="inner-triangle tr" id="titr"></div>
<div class="inner-triangle bl" id="tibl"></div>
<div class="inner-triangle br" id="tibr"></div>
</div>
<div class="main-content">
<div id="navbar" class="navbar">
<div class="dropdown">
<a class="primary-button" id="home-button" href="index.html">
Home
</a>
</div>
<a class="primary-button" href="mailto:sweltersounds@gmail.com">Booking</a>
<div class="dropdown">
<a class="primary-button" href="#" data-toggle="collapse" data-target="#collapseSocial" aria-expanded="false" aria-controls="collapseSocial">
Social
</a>
<div id="collapseSocial" class="collapse">
<a class="dropdown-item" id="ddTiktok" href="https://www.tiktok.com/@jonesrx" target="_blank"><i class="fab fa-tiktok"></i> TikTok</a>
<a class="dropdown-item" id="ddInsta" href="https://www.instagram.com/itsjonesrx/" target="_blank"><i class="fab fa-instagram"></i> Instagram</a>
<a class="dropdown-item" id="ddYouTube" href="https://www.youtube.com/watch?v=mBXv6Kj1UDI&list=PLw2HSJl4mHlk1gQijIKTdcAAMECp8pNae" target="_blank"><i class="fab fa-youtube"></i> YouTube</a>
<a class="dropdown-item" id="ddFacebook" href="https://www.facebook.com/people/Jones-RX/100072044476434/?mibextid=LQQJ4d" target="_blank"><i class="fab fa-facebook"></i> Facebook</a>
</div>
</div>
</div>
<!-- Bandsintown Events Section -->
<div id="events-container" class="container mt-5">
<div class="d-flex flex-wrap justify-content-center" id="events"></div>
</div>
</div>
<div id="tvOverlay"></div>
<footer>
<a class="social-icon" href="https://www.youtube.com/watch?v=mBXv6Kj1UDI&list=PLw2HSJl4mHlk1gQijIKTdcAAMECp8pNae" target="_blank"><i class="fab fa-youtube"></i></a>
<a class="social-icon" href="https://www.tiktok.com/@jonesrx" target="_blank"><i class="fab fa-tiktok"></i></a>
<a class="social-icon" href="https://www.instagram.com/itsjonesrx/" target="_blank"><i class="fab fa-instagram"></i></a>
<a class="social-icon" href="https://www.twitch.tv/3ndg4me_" target="_blank"><i class="fab fa-twitch"></i></a>
<a class="social-icon" href="https://www.facebook.com/people/Jones-RX/100072044476434/?mibextid=LQQJ4d" target="_blank"><i class="fab fa-facebook"></i></a>
</footer>
<script>
const colors = ['red', 'yellow', 'cyan', 'green', 'purple', 'pink'];
const usedColors = new Set();
function getUniqueRandomColor() {
if (usedColors.size === colors.length) return null; // All colors used
let color;
do {
color = colors[Math.floor(Math.random() * colors.length)];
} while (usedColors.has(color));
usedColors.add(color);
return color;
}
document.querySelectorAll('.primary-button').forEach((button) => {
const color = getUniqueRandomColor();
if (color) {
button.style.borderColor = color;
button.style.color = color;
button.style.boxShadow = `0 0 10px ${color}, 0 0 20px ${color}`;
}
});
//Assign drop down button colors
const ddTikTok = document.getElementById('ddTiktok');
const ddInsta = document.getElementById('ddInsta');
const ddYouTube = document.getElementById('ddYouTube');
const ddFacebook = document.getElementById('ddFacebook');
var color = "white";
ddTikTok.style.borderColor = color;
ddTikTok.style.color = color;
ddTikTok.style.boxShadow = `0 0 10px ${color}, 0 0 20px ${color}`;
var color = "yellow";
ddInsta.style.borderColor = color;
ddInsta.style.color = color;
ddInsta.style.boxShadow = `0 0 10px ${color}, 0 0 20px ${color}`;
var color = "red";
ddYouTube.style.borderColor = color;
ddYouTube.style.color = color;
ddYouTube.style.boxShadow = `0 0 10px ${color}, 0 0 20px ${color}`;
var color = "blue";
ddFacebook.style.borderColor = color;
ddFacebook.style.color = color;
ddFacebook.style.boxShadow = `0 0 10px ${color}, 0 0 20px ${color}`;
function changeSignColor() {
const neonSign = document.getElementById('neonSign');
const ttl = document.getElementById('ttl');
const ttr = document.getElementById('ttr');
const tbl = document.getElementById('tbl');
const tbr = document.getElementById('tbr');
const titl = document.getElementById('titl');
const titr = document.getElementById('titr');
const tibl = document.getElementById('tibl');
const tibr = document.getElementById('tibr');
const color = colors[Math.floor(Math.random() * colors.length)];
if (color) {
//neonSign.style.color = color;
neonSign.style.textShadow = `0 0 5px ${color}, 0 0 10px ${color}, 0 0 20px ${color}, 0 0 30px ${color}`;
ttl.style.borderColor = `transparent transparent ${color} transparent`;
ttr.style.borderColor = `transparent transparent transparent ${color}`;
tbl.style.borderColor = `${color} transparent transparent transparent`;
tbr.style.borderColor = `transparent transparent ${color} transparent`;
titl.style.borderColor = `transparent transparent ${color} transparent`;
titr.style.borderColor = `transparent transparent transparent ${color}`;
tibl.style.borderColor = `${color} transparent transparent transparent`;
tibr.style.borderColor = `transparent transparent ${color} transparent`;
}
}
document.querySelectorAll('.primary-button').forEach((button) => {
// Randomly toggle flicker class
setInterval(() => {
if (Math.random() < 0.5) { // 50% chance to add flicker
button.classList.toggle('flicker');
}
}, 10000); // Check every 2 seconds
});
setInterval(() => {
changeSignColor();
}, 2000);
// Bandsintown API Call
async function fetchEvents() {
const artistName = "Jones RX"; // Replace with your artist's name or ID
const apiUrl = `https://rest.bandsintown.com/artists/${encodeURIComponent(artistName)}/events?app_id=26113258b4b0ab3265bf61cdb27edeab`;
try {
const response = await fetch(apiUrl);
const events = await response.json();
if (events.length > 0) {
const eventsContainer = document.getElementById('events');
events.forEach(event => {
const eventDate = new Date(event.datetime).toLocaleDateString();
const eventTime = new Date(event.datetime).toLocaleTimeString();
const eventCard = `
<div class="col-md-12 mb-4 neon-events">
<div class="card bg-dark text-white neon-events-card h-100">
<div class="card-body">
<div class="event-details">
<h5 class="card-title">${event.venue.name}</h5>
<p class="card-text">${event.venue.location} - ${event.venue.country}</p>
<p class="card-text"><strong>Date:</strong> ${eventDate}</p>
<p class="card-text"><strong>Time:</strong> ${eventTime}</p>
</div>
<div class="event-action">
<a href="${event.url}" target="_blank" class="neon-events-button">Tickets</a>
</div>
</div>
</div>
</div>
`;
eventsContainer.innerHTML += eventCard;
});
} else {
document.getElementById('events').innerHTML = '<p class="text-white text-center neon-warn">No upcoming shows available.</p>';
}
} catch (error) {
console.error("Error fetching events:", error);
document.getElementById('events').innerHTML = '<p class="text-white text-center neon-err">Could not load events. Please try again later.</p>';
}
}
// Call fetchEvents on page load
fetchEvents();
document.getElementById("home-button").addEventListener("click", function(event) {
event.preventDefault();
// Show overlay and start TV turn-off animation
const overlay = document.getElementById("tvOverlay");
overlay.style.display = "block";
overlay.style.animation = "tvTurnOff 1s ease-in-out forwards";
// Delay navigation until animation completes
setTimeout(() => {
window.location.href = "index.html"; // Update this with your desired URL
}, 1000); // Match this duration with the animation length
});
</script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>