Skip to content

Commit d40c2c8

Browse files
authored
Logo Changes (#54)
1 parent 68ea0f8 commit d40c2c8

7 files changed

Lines changed: 126 additions & 96 deletions

File tree

components/landing/Header/Header.css

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,17 @@
6464
filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.8));
6565
}
6666

67-
.pbctf-landing .header__logo-text {
68-
font-family: var(--font-heading);
69-
font-weight: 800;
70-
font-size: 1.5rem;
71-
background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
72-
-webkit-background-clip: text;
73-
color: transparent;
74-
letter-spacing: -0.02em;
67+
.pbctf-landing .header__logo-img {
68+
display: block;
69+
height: 36px;
70+
width: auto;
71+
transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
72+
filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4));
73+
}
74+
75+
.pbctf-landing .header__logo:hover .header__logo-img {
76+
transform: scale(1.05);
77+
filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.8));
7578
}
7679

7780
/* --- Desktop Nav --- */

components/landing/Header/Header.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ export default function Header() {
7676
onMouseEnter={playHover}
7777
onClick={playNav}
7878
>
79-
<span className="header__logo-text">PBCTF5.0</span>
79+
{/* eslint-disable-next-line @next/next/no-img-element */}
80+
<img
81+
className="header__logo-img"
82+
src="/images/pbctf-logo.svg"
83+
alt="PBCTF 5.0"
84+
/>
8085
</a>
8186

8287
{/* Desktop Navigation */}

components/landing/Sponsors/Sponsors.css

Lines changed: 25 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@
3535
margin-bottom: var(--space-12);
3636
}
3737

38-
/* Single horizontal row */
38+
/* Vertical stacked column */
3939
.pbctf-landing .sponsors__row {
4040
display: flex;
41-
flex-wrap: wrap;
41+
flex-direction: column;
42+
flex-wrap: nowrap;
4243
justify-content: center;
4344
align-items: center;
4445
gap: var(--space-6);
@@ -48,32 +49,18 @@
4849
/* Card */
4950
.pbctf-landing .sponsors__card {
5051
position: relative;
51-
width: 260px;
52-
height: 120px;
52+
width: 360px;
53+
height: 150px;
5354
border-radius: 16px;
5455
overflow: hidden;
55-
background: linear-gradient(145deg,
56-
rgba(13, 20, 16, 0.7) 0%,
57-
rgba(8, 13, 10, 0.95) 50%,
58-
rgba(13, 20, 16, 0.5) 100%
56+
background: linear-gradient(135deg,
57+
rgba(0, 255, 136, 0.08),
58+
rgba(0, 255, 136, 0.04)
5959
);
60-
border: 1px solid rgba(0, 255, 136, 0.08);
60+
border: 1px solid rgba(0, 255, 136, 0.2);
6161
box-shadow:
62-
0 8px 32px rgba(0, 0, 0, 0.4),
62+
0 0 30px rgba(0, 255, 136, 0.12),
6363
inset 0 1px 0 rgba(255, 255, 255, 0.04);
64-
transition:
65-
transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
66-
border-color 0.35s ease,
67-
box-shadow 0.35s ease;
68-
}
69-
70-
.pbctf-landing .sponsors__card:hover {
71-
transform: translateY(-6px) scale(1.03);
72-
border-color: rgba(0, 255, 136, 0.25);
73-
box-shadow:
74-
0 20px 60px rgba(0, 255, 136, 0.06),
75-
0 8px 24px rgba(0, 0, 0, 0.5),
76-
inset 0 1px 0 rgba(255, 255, 255, 0.06);
7764
}
7865

7966
/* Card inner */
@@ -87,52 +74,26 @@
8774
position: relative;
8875
}
8976

90-
/* Shimmer sweep */
91-
.pbctf-landing .sponsors__shimmer {
92-
position: absolute;
93-
inset: 0;
94-
background: linear-gradient(
95-
105deg,
96-
transparent 30%,
97-
rgba(0, 255, 136, 0.04) 50%,
98-
transparent 70%
99-
);
100-
background-size: 200% 100%;
101-
background-position: -100% 0;
102-
border-radius: inherit;
103-
pointer-events: none;
104-
}
105-
106-
.pbctf-landing .sponsors__card:hover .sponsors__shimmer {
107-
animation: sponsors-shimmer 0.65s ease forwards;
108-
}
109-
110-
@keyframes sponsors-shimmer {
111-
0% { background-position: -100% 0; }
112-
100% { background-position: 100% 0; }
113-
}
114-
11577
/* Logos */
11678
.pbctf-landing .sponsors__logo {
11779
display: block;
11880
position: relative;
11981
z-index: 1;
120-
transition: filter 0.35s ease, transform 0.35s ease;
12182
}
12283

12384
.pbctf-landing .sponsors__logo--google {
124-
width: 160px;
85+
width: 300px;
12586
height: auto;
12687
}
12788

12889
.pbctf-landing .sponsors__logo--paytm {
129-
width: 105px;
90+
width: 300px;
13091
height: auto;
131-
}
132-
133-
.pbctf-landing .sponsors__card:hover .sponsors__logo {
134-
filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.15));
135-
transform: scale(1.06);
92+
/* white outline */
93+
filter:
94+
drop-shadow(0 0 0.5px #fff)
95+
drop-shadow(0 0 0.5px #fff)
96+
drop-shadow(0 0 0.5px #fff);
13697
}
13798

13899
/* Ticker */
@@ -277,9 +238,14 @@
277238
/* Responsive */
278239
@media (max-width: 640px) {
279240
.pbctf-landing .sponsors__card {
280-
width: calc(50% - var(--space-3));
281-
min-width: 140px;
282-
height: 90px;
241+
width: 100%;
242+
max-width: 320px;
243+
height: 120px;
244+
}
245+
246+
.pbctf-landing .sponsors__logo--google,
247+
.pbctf-landing .sponsors__logo--paytm {
248+
width: 240px;
283249
}
284250

285251
.pbctf-landing .sponsors__cta-block {

0 commit comments

Comments
 (0)