Skip to content

Commit cc91f17

Browse files
authored
Merge pull request #20 from IEEE-INSAT/change-photo
Change photo
2 parents 6a12179 + fc64fac commit cc91f17

File tree

5 files changed

+107
-1
lines changed

5 files changed

+107
-1
lines changed

public/images/winners/first.jpg

544 KB
Loading

public/images/winners/second.jpg

578 KB
Loading

public/images/winners/third.jpg

584 KB
Loading

src/pages/Bootcamp.js

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function Bootcamp() {
4141
</div>
4242

4343
<div className="gallery-container">
44-
<h1 className="presentation-title">This year's bootcamp gallery: </h1>
44+
<h1 className="presentation-title">Last year's bootcamp gallery: </h1>
4545
<HorGallery>
4646
{
4747
bootcamp_gallery.map((img, index) => (
@@ -56,6 +56,26 @@ export default function Bootcamp() {
5656
<br />
5757

5858
</div>
59+
<div className="winners-container">
60+
<h1 className="presentation-title">Last Year Winners</h1>
61+
62+
<div className="winners-grid">
63+
<div className="winner-card first">
64+
<span className="place">1st</span>
65+
<img src="/images/winners/first.jpg" alt="First place winner" />
66+
</div>
67+
68+
<div className="winner-card second">
69+
<span className="place">2nd</span>
70+
<img src="/images/winners/second.jpg" alt="Second place winner" />
71+
</div>
72+
73+
<div className="winner-card third">
74+
<span className="place">3rd</span>
75+
<img src="/images/winners/third.jpg" alt="Third place winner" />
76+
</div>
77+
</div>
78+
</div>
5979
</div>
6080
)
6181
}

src/styles/pages/bootcamp.scss

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,90 @@
6767
margin-top: 20px;
6868
color: #4caf50;
6969
}
70+
.winners-container {
71+
padding: 100px 0;
72+
text-align: center;
73+
}
74+
75+
.winners-grid {
76+
display: flex;
77+
justify-content: center;
78+
align-items: center;
79+
gap: 80px; // ⬅️ more horizontal space
80+
margin-top: 60px;
81+
flex-wrap: wrap;
82+
}
83+
84+
.winner-card {
85+
position: relative;
86+
width: 420px; // 🔥 MUCH WIDER
87+
height: 360px; // ⬅️ controlled height
88+
border-radius: 24px;
89+
overflow: hidden;
90+
box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
91+
background: #000;
92+
transition: transform 0.3s ease;
93+
94+
img {
95+
width: 100%;
96+
height: 100%;
97+
object-fit: cover;
98+
}
99+
100+
.place {
101+
position: absolute;
102+
top: 18px;
103+
left: 18px;
104+
padding: 10px 24px;
105+
border-radius: 30px;
106+
font-size: 22px;
107+
font-weight: 800;
108+
letter-spacing: 1px;
109+
}
110+
111+
&:hover {
112+
transform: translateY(-8px);
113+
}
114+
}
115+
116+
/* 🥇🥈🥉 Slight emphasis only */
117+
.winner-card.first {
118+
width: 460px; // 🔥 biggest
119+
}
120+
121+
.winner-card.second {
122+
width: 430px;
123+
}
124+
125+
.winner-card.third {
126+
width: 420px;
127+
}
128+
129+
/* Medal colors */
130+
.winner-card.first .place {
131+
background: linear-gradient(135deg, gold, #ffdd55);
132+
color: black;
133+
}
134+
135+
.winner-card.second .place {
136+
background: linear-gradient(135deg, silver, #e0e0e0);
137+
color: black;
138+
}
139+
140+
.winner-card.third .place {
141+
background: linear-gradient(135deg, #cd7f32, #e3a76f);
142+
color: black;
143+
}
144+
145+
/* 📱 Mobile */
146+
@media (max-width: 1100px) {
147+
.winner-card,
148+
.winner-card.first,
149+
.winner-card.second,
150+
.winner-card.third {
151+
width: 100%;
152+
max-width: 520px;
153+
height: 300px;
154+
}
155+
}
70156

0 commit comments

Comments
 (0)