Skip to content

Commit 34baba5

Browse files
authored
Merge branch 'Rakesh9100:main' into main
2 parents 166e353 + e477d94 commit 34baba5

File tree

10 files changed

+221
-91
lines changed

10 files changed

+221
-91
lines changed
860 KB
Loading
616 KB
Loading
276 KB
Loading
307 KB
Loading
576 KB
Loading
385 KB
Loading

assets/pastevents/pastevents.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ body.dark-mode .past-event-date,
8080
}
8181

8282
.past-event-title {
83-
font-size: 1.5rem;
83+
font-size: 1.3rem;
8484
margin-bottom: 0.5rem;
8585
color: var(--primary-color);
8686
}
8787

8888
.past-event-date,
8989
.past-event-location {
90-
font-size: 1rem;
90+
font-size: 0.9rem;
9191
color: var(--light-text-color);
9292
margin-bottom: 0.5rem;
9393
}

events.json

Lines changed: 127 additions & 46 deletions
Large diffs are not rendered by default.

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link rel="icon" type="image/x-icon" href="./assets/images/favicons/favicon1.png">
1313
<link rel="stylesheet" href="./style.css">
1414
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css">
15-
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap">
15+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap">
1616
<script src="https://kit.fontawesome.com/4cf6385dfa.js" crossorigin="anonymous"></script>
1717
<title>Eventica</title>
1818
</head>
@@ -69,7 +69,8 @@
6969
<!-- Main section -->
7070
<header id="home" class="hero">
7171
<div class="hero-content">
72-
<h1>Discover Bangalore's Events & Meetups</h1>
72+
<h1>Discover Events & Meetups</h1>
73+
<div class="highlight-text">BANGALORE</div>
7374
<p>Explore the best vibrant events, tech conferences, and exciting happenings in the Silicon Valley of India.</p>
7475
<a href="#events" class="explore-button">Explore Events</a>
7576
</div>

style.css

Lines changed: 89 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ body {
3131
max-width: 1200px;
3232
margin: 0 auto;
3333
width: 90%;
34-
max-width: 1200px;
35-
margin: 0 auto;
3634
padding: 0 1rem;
3735
}
3836

@@ -142,16 +140,17 @@ body {
142140
}
143141

144142
.search-button {
145-
background-color: #007bff;
143+
background-color: var(--primary-color);
146144
color: white;
147145
border: none;
148146
padding: 10px;
149147
border-radius: 4px;
150148
cursor: pointer;
149+
transition: background-color 0.3s ease;
151150
}
152151

153152
.search-button:hover {
154-
background-color: #0056b3; /* Darker shade for hover effect */
153+
background-color: #686969;
155154
}
156155

157156
/* Theme Switcher Css */
@@ -179,7 +178,7 @@ body {
179178
}
180179

181180
#theme-toggle:hover {
182-
background-color: var(--secondary-color);
181+
background-color: #686969;
183182
}
184183

185184
#theme-toggle svg {
@@ -278,26 +277,78 @@ body {
278277
/* Hero Section Css */
279278

280279
.hero {
281-
background-size: cover;
282-
background-position: center;
280+
position: relative;
283281
height: 100vh;
284282
display: flex;
285-
align-items: center;
286283
justify-content: center;
284+
align-items: center;
287285
text-align: center;
288-
color: #fff;
289-
position: relative;
290-
background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(231, 76, 60, 0.8));
291286
}
292287

293288
.hero-content {
294-
max-width: min(800px, 90%);
295-
padding: 2rem;
296-
background-color: rgba(0, 0, 0, 0.5);
289+
max-width: 1000px;
290+
width: 90%;
291+
padding: 1rem;
297292
border-radius: 10px;
298293
backdrop-filter: blur(10px);
299294
}
300295

296+
.highlight-text {
297+
font-size: clamp(6rem, 12vw, 10rem);
298+
font-weight: 800;
299+
color: transparent;
300+
background-clip: text;
301+
-webkit-background-clip: text;
302+
background-size: cover;
303+
background-repeat: no-repeat;
304+
background-position: center;
305+
margin: 0 auto;
306+
white-space: nowrap;
307+
overflow: visible;
308+
text-align: center;
309+
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
310+
line-height: 1.1;
311+
animation: changeBackground 10s infinite;
312+
position: relative;
313+
z-index: 1;
314+
padding: 0;
315+
width: 100%;
316+
display: block;
317+
}
318+
319+
@keyframes changeBackground {
320+
321+
0%,
322+
16.66% {
323+
background-image: url('assets/images/text-backgrounds/image1.png');
324+
}
325+
326+
16.67%,
327+
33.33% {
328+
background-image: url('assets/images/text-backgrounds/image2.png');
329+
}
330+
331+
33.34%,
332+
49.99% {
333+
background-image: url('assets/images/text-backgrounds/image3.png');
334+
}
335+
336+
50%,
337+
66.66% {
338+
background-image: url('assets/images/text-backgrounds/image4.png');
339+
}
340+
341+
66.67%,
342+
83.33% {
343+
background-image: url('assets/images/text-backgrounds/image5.png');
344+
}
345+
346+
83.34%,
347+
100% {
348+
background-image: url('assets/images/text-backgrounds/image6.png');
349+
}
350+
}
351+
301352
.hero h1 {
302353
font-size: clamp(2rem, 5vw, 3.5rem);
303354
margin-bottom: 1rem;
@@ -306,25 +357,33 @@ body {
306357

307358
.hero p {
308359
font-size: clamp(1rem, 3vw, 1.2rem);
309-
max-width: 600px;
310-
margin: 0 auto 2rem;
360+
max-width: 800px;
361+
margin: 0 auto;
362+
font-weight: 600;
363+
text-shadow: none;
364+
line-height: 1.3;
365+
margin-top: 40px;
366+
margin-bottom: 40px;
311367
}
312368

313369
.explore-button {
314370
display: inline-block;
315-
background-color: var(--secondary-color);
316371
color: #fff;
317372
padding: 1rem 2.5rem;
373+
font-weight: 600;
374+
color: #fff;
375+
background-color: var(--primary-color);
318376
border-radius: 50px;
319377
text-decoration: none;
320-
font-weight: 600;
321378
transition: all 0.3s ease;
322379
text-transform: uppercase;
323380
letter-spacing: 1px;
381+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
382+
margin-top: 20px;
324383
}
325384

326385
.explore-button:hover {
327-
background-color: #e67e22;
386+
background-color: #686969;
328387
transform: translateY(-3px);
329388
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
330389
}
@@ -363,7 +422,6 @@ body {
363422

364423
.events {
365424
padding: 6rem 0;
366-
background-color: rgba(243, 238, 238, 0.616);
367425
}
368426

369427
.section-title {
@@ -379,7 +437,7 @@ body {
379437
display: block;
380438
width: 50px;
381439
height: 3px;
382-
background-color: var(--accent-color);
440+
background-color: var(--primary-color);
383441
margin: 1rem auto 0;
384442
}
385443

@@ -422,7 +480,7 @@ body {
422480
}
423481

424482
.event-title {
425-
font-size: 1.2rem;
483+
font-size: 1.3rem;
426484
margin-bottom: 0.5rem;
427485
color: var(--primary-color);
428486
}
@@ -447,7 +505,7 @@ body {
447505
}
448506

449507
.event-description {
450-
font-size: 0.95rem;
508+
font-size: 1rem;
451509
margin-bottom: 1rem;
452510
}
453511

@@ -492,7 +550,7 @@ footer {
492550
/* Dark mode Css */
493551

494552
body.dark-mode {
495-
--background-color: #181818;
553+
--background-color: #2c2c2c;
496554
--text-color: #f4f4f4;
497555
--light-text-color: #bbbbbb;
498556
}
@@ -501,10 +559,6 @@ body.dark-mode .navbar {
501559
background-color: rgba(24, 24, 24, 0.9);
502560
}
503561

504-
body.dark-mode .footer {
505-
background-color: #181818;
506-
}
507-
508562
/* Dark mode toggle button Css */
509563

510564
#dark-mode-toggle {
@@ -522,20 +576,16 @@ body.dark-mode .footer {
522576
}
523577

524578
#dark-mode-toggle:hover {
525-
background-color: var(--secondary-color);
579+
background-color: #686969;
526580
}
527581

528582
#dark-mode-toggle i {
529583
color: #fff;
530584
font-size: 20px;
531585
}
532586

533-
.dark-mode .events {
534-
background-color: #2a2a2a;
535-
}
536-
537587
.dark-mode .navbar {
538-
background-color: #2a2a2a !important; /* Dark gray background */
588+
background-color: #000000 !important;
539589
transition: background-color 0.3s ease;
540590
}
541591

@@ -547,14 +597,8 @@ body.dark-mode .nav-links a:hover {
547597
color: var(--primary-color);
548598
}
549599

550-
.event-description {
551-
font-size: 0.95rem;
552-
margin-bottom: 1rem;
553-
color: var(--text-color);
554-
}
555-
556600
body.dark-mode .event-card {
557-
background-color: #333;
601+
background-color: #000000;
558602
color: #f4f4f4;
559603
}
560604

@@ -619,6 +663,10 @@ body.dark-mode .event-date,
619663
.theme-options.active {
620664
transform: translateX(50%) translateY(0);
621665
}
666+
667+
.highlight-text {
668+
font-size: 11vw;
669+
}
622670
}
623671

624672
@media (max-width: 480px) {

0 commit comments

Comments
 (0)