Skip to content

Commit c84f31d

Browse files
authored
Merge pull request #46 from AishwaryJhunjhunwala/Achievement-Section
Achievement section
2 parents c231d45 + 6c0ea64 commit c84f31d

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

src/components/Achievements.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ export default function Achievements() {
55
const navigate = useNavigate();
66

77
return (
8-
<div className="px-4 pt-32 md:pt-40 md:px-12 py-8 max-w-screen-xl mx-auto">
9-
<div className="md:mb-48 mb-12">
10-
<h2 className="text-3xl font-bold text-blue-900 mb-4">
8+
<div className="px-4 md:px-12 py-10 max-w-screen-xl mx-auto">
9+
<div style={{ marginBottom: "12rem" }}>
10+
<h2 className="text-3xl font-bold text-[#0B2044] mb-4">
1111
Our Achievements
1212
</h2>
13-
<p className="text-gray-700 mb-6 max-w-3xl">
13+
<p className="text-gray-700 mb-6 max-w-3xl text-lg">
1414
ASME NIT Rourkela excels in fostering innovation and leadership
1515
through workshops, competitions, and expert lectures. Recognized for
1616
achievements in events like the Student Design Challenge and HPVC, the
@@ -19,10 +19,10 @@ export default function Achievements() {
1919
solidifying their reputation for excellence in mechanical engineering.
2020
</p>
2121
<button
22-
className="bg-[rgba(6,25,70,1)] text-white border-blue-800 px-4 py-2 rounded hover:bg-blue-50 md:mb-12 hover:text-black"
22+
className="bg-slate-900 text-white border border-slate-900 px-4 py-2 rounded hover:bg-white hover:text-slate-900 md:mb-12"
2323
onClick={() => navigate("/achievements")}
2424
>
25-
View All Achievements &gt;
25+
View all Achievements
2626
</button>
2727
</div>
2828

src/components/Timeline.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Timeline = () => {
3333
<div className="relative" ref={timelineRef}>
3434
<div className="grid grid-cols-9 gap-2">
3535
{achievementsData
36-
.sort((a, b) => parseInt(a.year) - parseInt(b.year))
36+
.sort((a, b) => parseInt(b.year) - parseInt(a.year))
3737
.map((achievement, index) => (
3838
<div key={achievement.id} className="contents">
3939
{/* Left card */}

src/config/achievement.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
const achievementsData = [
22
{
33
id: 1,
4-
title: "HPVC",
4+
title: "Human Powered Vechile Competition",
55
description:
66
"Secured 3rd Position Globally in Critical Design Review and 1st Position among Indian Colleges.",
77
year: "2021",
88
},
99
{
1010
id: 2,
11-
title: "HPVC",
11+
title: "Human Powered Vechile Competition",
1212
description:
1313
"2nd Position Globally in Critical Design and 3rd Position in Innovation- BlueStreak 9.0.",
1414
year: "2022",
@@ -29,41 +29,41 @@ const achievementsData = [
2929
},
3030
{
3131
id: 5,
32-
title: "HPVC",
32+
title: "Human Powered Vechile Competition",
3333
description:
3434
"Team BlueStreak 11.0 Secured 3rd Position in Design Presentation, The Best Innovation Award, 3rd Position in Drag Race and 3rd Position Overall in e-HPVC.",
3535
year: "2025",
3636
},
3737
{
3838
id: 6,
39-
title: "HPVC",
39+
title: "Human Powered Vechile Competition",
4040
description:
4141
"Secured 9th in Endurance and 13th Overall in E-Fest Asia Pacific",
4242
year: "2019",
4343
},
4444
{
4545
id: 7,
46-
title: "HPVC",
46+
title: "Human Powered Vechile Competition",
4747
description:
4848
"Secured 20th in men's endurance race and 24th in female drag race out of 43 teams, HPVC ASIA PACIFIC.",
4949
year: "2017",
5050
},
5151
{
5252
id: 8,
53-
title: "HPVC",
53+
title: "Human Powered Vechile Competition",
5454
description:
5555
"Secured 2nd Position in design event and 9th in overall, HPVC ASIA PACIFIC VIT VELLORE.",
5656
year: "2016",
5757
},
5858
{
5959
id: 9,
60-
title: "HPVC",
60+
title: "Human Powered Vechile Competition",
6161
description: "Highest Innovation Score, HPVC India at DTU.",
6262
year: "2015",
6363
},
6464
{
6565
id: 10,
66-
title: "HPVC",
66+
title: "Human Powered Vechile Competition",
6767
description:
6868
"First International Participation at HPVC East, University of Central Florida and Highest marks in Analysis Section, HPV India at IIT Delhi.",
6969
year: "2014",

src/pages/achievements/AchievementPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ const AchievementPage = () => {
66
<div className="min-h-screen bg-gradient-to-br from-blue-50 via-white to-gray-50">
77
<div className="relative overflow-hidden h-screen w-screen">
88
<div
9-
className="absolute inset-0 bg-cover bg-center bg-no-repeat"
9+
className="absolute inset-0 bg-cover bg-center bg-no-repeat blur-[1px]"
1010
style={{
1111
backgroundImage: `url(${achievementImg})`,
1212
}}
1313
></div>
1414

1515
<div className="relative z-10 text-center h-full flex flex-col justify-center">
1616
<div className="max-w-4xl mx-auto">
17-
<h1 className="text-5xl md:text-6xl font-bold text-white mb-6 tracking-tight">
17+
<h1 className="text-6xl md:text-6xl text-white mb-6 font-extrabold drop-shadow-lg ">
1818
Our Achievements
1919
</h1>
2020
</div>

0 commit comments

Comments
 (0)