-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents.html
376 lines (332 loc) · 11.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upcoming Events</title>
<link rel="stylesheet" href="../css/style.css">
<style> /* Features Section */
.features-section {
text-align: center;
margin: 50px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
width: 90%;
max-width: 1200px;
}
.features-section h2 {
font-size: 2rem;
font-weight: bold;
color: #333;
margin-bottom: 20px;
}
.features-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
padding: 20px;
overflow: hidden;
}
.feature-card {
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.feature-card h3 {
font-size: 1.2rem;
color: #333;
margin-bottom: 10px;
}
.feature-card p {
font-size: 0.9rem;
color: #555;
line-height: 1.5;
}
.shuffle-btn {
margin-top: 20px;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.shuffle-btn:hover {
background-color: #0056b3;
transform: scale(1.05);
}
/* Responsive Design */
@media (max-width: 768px) {
.features-container {
grid-template-columns: 1fr;
}
} body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to bottom, #f9f9f9, #e6e6e6);
color: #333;
}
h1 {
margin-top: 20px;
font-size: 2.5rem;
text-transform: uppercase;
text-align: center;
color: #000;
background-color: #ffcc00;
padding: 15px 20px;
border-radius: 5px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
.events-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
gap: 30px;
}
/* Event Card Styling */
.event-card {
background: linear-gradient(145deg, #ffffff, #e6e6e6);
width: 300px;
min-height: 500px;
border-radius: 15px;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15), -5px -5px 15px rgba(255, 255, 255, 0.7);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
}
.event-card:hover {
transform: translateY(-10px);
box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.2), -10px -10px 20px rgba(255, 255, 255, 0.8);
}
.event-card img {
border-radius: 15px;
margin-bottom: 15px;
width: 100%;
height: 180px;
object-fit: cover;
border: 2px solid #ffcc00;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.event-card h2 {
font-size: 1.6rem;
color: #ffcc00;
margin: 10px 0;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.event-card p {
font-size: 1rem;
color: #555;
margin: 10px 0;
line-height: 1.6;
}
.event-card .description {
font-size: 0.9rem;
color: #666;
margin: 15px 0;
}
.event-card a {
background-color: #ffcc00;
color: #000;
padding: 12px 25px;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
text-transform: uppercase;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease, transform 0.2s ease;
}
.event-card a:hover {
background-color: #ffd633;
transform: scale(1.05);
}
/* Responsive Design */
@media (max-width: 768px) {
.events-container {
flex-direction: column;
gap: 20px;
}
.event-card {
width: 90%;
margin: 0 auto;
}
}
/* Event Ticketing Section */
.features-section {
text-align: center;
margin: 50px auto;
padding: 40px;
background: linear-gradient(to bottom, #ffffff, #f7f9fc);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
border-radius: 15px;
width: 90%;
max-width: 1200px;
}
/* Section Title */
.features-section h2 {
font-size: 2.5rem;
font-weight: bold;
color: #003366;
margin-bottom: 30px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}
/* Feature Cards */
.feature-card {
background: linear-gradient(135deg, #e6f7ff, #ffffff);
border: 1px solid #cce7ff;
border-radius: 12px;
padding: 20px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
/* Feature Card Title */
.feature-card h3 {
font-size: 1.4rem;
color: #00509e;
margin-bottom: 15px;
}
/* Feature Card Description */
.feature-card p {
font-size: 1rem;
color: #555;
line-height: 1.5;
}
/* Shuffle Button with 3D Glow */
.shuffle-btn {
margin-top: 30px;
padding: 12px 25px;
background: linear-gradient(135deg, #007bff, #0056b3);
color: #ffffff;
border: none;
border-radius: 8px;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 0 15px rgba(0, 123, 255, 0.8);
text-transform: uppercase;
}
.shuffle-btn:hover {
background: linear-gradient(135deg, #0056b3, #003c8f);
transform: scale(1.1);
box-shadow: 0 0 25px rgba(0, 123, 255, 1), 0 0 40px rgba(0, 86, 179, 0.8);
}
/* Responsive Design */
@media (max-width: 768px) {
.features-container {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<h1>Upcoming Events</h1>
<div class="events-container">
<!-- First Event -->
<div class="event-card">
<img src="barca.jpeg" alt="Manchester City vs Barcelona" style="width: 100%; height: auto;">
<h2 id="barcelona">Manchester City vs Barcelona</h2>
<p>Date: 2024-12-01</p>
<p>Location: camp nou</p>
<p class="description">Watch the ultimate showdown between Manchester City and Barcelona, two giants of football, in an unforgettable clash at Stadium A.</p>
<a href="seat_selection.html?event_name=Manchester%20City%20vs%20Barcelona">Select Seats</a>
</div>
<!-- Second Event -->
<div class="event-card">
<img src="miami.jpeg" alt="Los Angeles Lakers vs Miami Heat" style="width: 100%; height: auto;">
<h2 id="miami">Los Angeles Lakers vs Miami Heat</h2>
<p>Date: 2024-12-10</p>
<p>Location: Arena B</p>
<p class="description">Catch the intense basketball game between the Lakers and the Heat as they fight for supremacy in a high-energy showdown.</p>
<a href="seat_selection.html?event_name=Los%20Angeles%20Lakers%20vs%20Miami%20Heat">Select Seats</a>
</div>
<!-- Third Event -->
<div class="event-card">
<img src="ten.jpg" alt="Djokovic vs Alcaraz" style="width: 100%; height: auto;">
<h2 id="wimbledon">Wimbledon Finals: Djokovic vs Alcaraz</h2>
<p>Date: 2024-12-15</p>
<p>Location: Court C , wimbledon</p>
<p class="description">Experience the excitement of the Wimbledon Finals as two of tennis' greatest stars, Djokovic and Alcaraz, face off for the title.</p>
<a href="seat_selection.html?event_name=Wimbledon%20Finals%3A%20Djokovic%20vs%20Alcaraz">Select Seats</a>
</div>
<!-- Fourth Event -->
<div class="event-card">
<img src="india.jpeg" alt="India vs Australia Cricket Final" style="width: 100%; height: auto;">
<h2 id="cricket">India vs Australia Cricket Final</h2>
<p>Date: 2024-12-20</p>
<p>Location: miami court</p>
<p class="description">Don't miss the thrilling Cricket World Cup Final between India and Australia, promising a battle for the ages at Stadium D.</p>
<a href="seat_selection.html?event_name=India%20vs%20Australia%20Cricket%20Final">Select Seats</a>
</div>
</div>
<div class="features-section">
<h2>Event Ticketing Software with Unlimited Functionality</h2>
<div class="features-container">
<!-- Feature cards will be inserted dynamically by JavaScript -->
</div>
<button class="shuffle-btn">Shuffle Now</button>
</div>
<script>
const featuresContainer = document.querySelector('.features-container');
const shuffleBtn = document.querySelector('.shuffle-btn');
// Define all features
const features = [
{ title: "Tickets, Vouchers, Packages", description: "Streamline ticket sales effortlessly with our inventory management tool, offering full control over tickets, vouchers, and packages." },
{ title: "Flexible Statuses", description: "Enjoy complete control over ticket sales, start, stop, or pause anytime for optimal event management." },
{ title: "Seat Mapping", description: "Craft immersive seating plans with advanced seat mapping technology, showcasing stunning vector graphics." },
{ title: "Smooth Journey", description: "Ensure high conversions and a seamless ticketing experience with our user-friendly event solution." },
{ title: "Discounts and Promo Codes", description: "Maximize sales with seamless discounts and promo codes. Set up promos, partnerships, early bird offers, and targeted discounts with ease." },
{ title: "Ticket Add-ons and Upsells", description: "Boost event revenue with upselling options: merchandise, F&B, hotel stays, and more." }
];
let currentIndex = 0;
// Function to display features
function displayFeatures(startIndex) {
featuresContainer.innerHTML = ''; // Clear the container
for (let i = 0; i < 3; i++) {
const feature = features[(startIndex + i) % features.length]; // Cycle through features
const card = document.createElement('div');
card.className = 'feature-card';
card.innerHTML = `
<h3>${feature.title}</h3>
<p>${feature.description}</p>
`;
featuresContainer.appendChild(card);
}
}
// Shuffle manually on button click
shuffleBtn.addEventListener('click', () => {
currentIndex = (currentIndex + 3) % features.length;
displayFeatures(currentIndex);
});
// Shuffle automatically every 5 seconds
setInterval(() => {
currentIndex = (currentIndex + 3) % features.length;
displayFeatures(currentIndex);
}, 5000);
// Initial display
displayFeatures(currentIndex);
</script>
</body>
</html>