Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/components/Achievements.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export default function Achievements() {
const navigate = useNavigate();

return (
<div className="px-4 pt-32 md:pt-40 md:px-12 py-8 max-w-screen-xl mx-auto">
<div className="md:mb-48 mb-12">
<h2 className="text-3xl font-bold text-blue-900 mb-4">
<div className="px-4 md:px-12 py-10 max-w-screen-xl mx-auto">
<div style={{ marginBottom: "12rem" }}>
<h2 className="text-3xl font-bold text-[#0B2044] mb-4">
Our Achievements
</h2>
<p className="text-gray-700 mb-6 max-w-3xl">
<p className="text-gray-700 mb-6 max-w-3xl text-lg">
ASME NIT Rourkela excels in fostering innovation and leadership
through workshops, competitions, and expert lectures. Recognized for
achievements in events like the Student Design Challenge and HPVC, the
Expand All @@ -19,10 +19,10 @@ export default function Achievements() {
solidifying their reputation for excellence in mechanical engineering.
</p>
<button
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"
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"
onClick={() => navigate("/achievements")}
>
View All Achievements &gt;
View all Achievements
</button>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/Timeline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Timeline = () => {
<div className="relative" ref={timelineRef}>
<div className="grid grid-cols-9 gap-2">
{achievementsData
.sort((a, b) => parseInt(a.year) - parseInt(b.year))
.sort((a, b) => parseInt(b.year) - parseInt(a.year))
.map((achievement, index) => (
<div key={achievement.id} className="contents">
{/* Left card */}
Expand Down
16 changes: 8 additions & 8 deletions src/config/achievement.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const achievementsData = [
{
id: 1,
title: "HPVC",
title: "Human Powered Vechile Competition",
description:
"Secured 3rd Position Globally in Critical Design Review and 1st Position among Indian Colleges.",
year: "2021",
},
{
id: 2,
title: "HPVC",
title: "Human Powered Vechile Competition",
description:
"2nd Position Globally in Critical Design and 3rd Position in Innovation- BlueStreak 9.0.",
year: "2022",
Expand All @@ -29,41 +29,41 @@ const achievementsData = [
},
{
id: 5,
title: "HPVC",
title: "Human Powered Vechile Competition",
description:
"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.",
year: "2025",
},
{
id: 6,
title: "HPVC",
title: "Human Powered Vechile Competition",
description:
"Secured 9th in Endurance and 13th Overall in E-Fest Asia Pacific",
year: "2019",
},
{
id: 7,
title: "HPVC",
title: "Human Powered Vechile Competition",
description:
"Secured 20th in men's endurance race and 24th in female drag race out of 43 teams, HPVC ASIA PACIFIC.",
year: "2017",
},
{
id: 8,
title: "HPVC",
title: "Human Powered Vechile Competition",
description:
"Secured 2nd Position in design event and 9th in overall, HPVC ASIA PACIFIC VIT VELLORE.",
year: "2016",
},
{
id: 9,
title: "HPVC",
title: "Human Powered Vechile Competition",
description: "Highest Innovation Score, HPVC India at DTU.",
year: "2015",
},
{
id: 10,
title: "HPVC",
title: "Human Powered Vechile Competition",
description:
"First International Participation at HPVC East, University of Central Florida and Highest marks in Analysis Section, HPV India at IIT Delhi.",
year: "2014",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/achievements/AchievementPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ const AchievementPage = () => {
<div className="min-h-screen bg-gradient-to-br from-blue-50 via-white to-gray-50">
<div className="relative overflow-hidden h-screen w-screen">
<div
className="absolute inset-0 bg-cover bg-center bg-no-repeat"
className="absolute inset-0 bg-cover bg-center bg-no-repeat blur-[1px]"
style={{
backgroundImage: `url(${achievementImg})`,
}}
></div>

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