diff --git a/index.html b/index.html index c6166e0..67f64e1 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,16 @@ - + ASME + -
+
{/* Image Section */}
@@ -16,7 +16,7 @@ export default function AboutSection() { alt="About ASME NIT Rourkela" loading="lazy" decoding="async" - className="w-full h-[400px] md:h-[500px] transition-transform duration-300 hover:scale-105 object-cover" + className="w-full h-[280px] sm:h-[400px] md:h-[500px] transition-transform duration-300 hover:scale-105 object-cover" />
@@ -25,12 +25,12 @@ export default function AboutSection() {
{/* Text Content */} -
-
-

+
+
+

{siteConfig.about.title}

-

+

{siteConfig.about.description}

diff --git a/src/components/Achievements.jsx b/src/components/Achievements.jsx index 57ea4f8..95d343f 100644 --- a/src/components/Achievements.jsx +++ b/src/components/Achievements.jsx @@ -8,12 +8,12 @@ export default function Achievements() {
{/* Header Section */} -
-
-

+
+
+

Our Achievements

-

+

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 @@ -24,9 +24,9 @@ export default function Achievements() {

-
+
diff --git a/src/components/HeroSection.jsx b/src/components/HeroSection.jsx index a3b51cd..e999b7d 100644 --- a/src/components/HeroSection.jsx +++ b/src/components/HeroSection.jsx @@ -10,9 +10,9 @@ export default function HeroSection() { }; return ( -
+
{/* Subtle background pattern */} -
+
-
+
{/* Text Content */} -
-
-
+
+
+
{siteConfig.hero.title}
- {(() => { - const words = siteConfig.hero.subtitle.split(" "); - const first = words[0]; - const rest = words.slice(1).join(" "); - return ( -

- {first} - - {rest ? ` ${rest}` : ""} - -

- ); - })()} -

+ +

+ {siteConfig.hero.subtitle} +

+ +

{siteConfig.hero.description}

-
+
{siteConfig.hero.secondaryLink} @@ -74,7 +66,7 @@ export default function HeroSection() { loading="eager" fetchpriority="high" decoding="async" - className="w-full h-[320px] sm:h-[380px] md:h-[500px] lg:h-[560px] object-cover transition-transform duration-300 hover:scale-105" + className="w-full h-[280px] sm:h-[380px] md:h-[480px] lg:h-[540px] object-cover transition-transform duration-300 hover:scale-105" />
diff --git a/src/components/MissionSection.jsx b/src/components/MissionSection.jsx index a0ca19f..7871944 100644 --- a/src/components/MissionSection.jsx +++ b/src/components/MissionSection.jsx @@ -12,7 +12,7 @@ export default function MissionSection() { return (
{/* Subtle Background Elements */}
@@ -20,13 +20,13 @@ export default function MissionSection() {
-
+
{/* Section Header */} -
-

+
+

Driving Innovation Forward

-

+

Discover the core values and principles that guide our engineering community toward innovation, collaboration, and excellence in technology. @@ -46,21 +46,21 @@ export default function MissionSection() { ))}

- {/* Bottom CTA Section - Matching Card Colors */} -
-
- {/* Decorative Elements - White with opacity */} -
-
+ {/* Bottom CTA Section */} +
+
+ {/* Decorative Elements */} +
+
-
-
+
+
-

+

Ready to Join Our Mission?

-

+

Be part of a community that's shaping the future of technology and innovation. Connect with like-minded engineers and make an impact. @@ -68,7 +68,7 @@ export default function MissionSection() {

diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 12ec5c9..ff56515 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -146,7 +146,7 @@ export default function Navbar() { {/* Mobile Menu Overlay */}
{/* Background Overlay */}
setMobileMenuOpen(false)} /> {/* Menu Content */} -
- {/* Header with Close Button */} -
- Logo -
- - -
-
- - {/* Navigation Links */} - + + {/* Navigation Links */} + +
{/* Action Buttons */} -
+
diff --git a/src/config/theme.js b/src/config/theme.js index 0427b47..4f2287a 100644 --- a/src/config/theme.js +++ b/src/config/theme.js @@ -7,11 +7,10 @@ export const getTheme = () => { export const isDark = () => { const theme = getTheme(); - if (theme === "dark") return true; if (theme === "light") return false; - // First visit → follow system - return window.matchMedia("(prefers-color-scheme: dark)").matches; + // Default theme is dark for every user + return true; }; export const applyTheme = () => { @@ -32,12 +31,3 @@ export const subscribeTheme = (callback) => { listeners = listeners.filter((cb) => cb !== callback); }; }; - -// Follow system only if user hasn't chosen a theme -const media = window.matchMedia("(prefers-color-scheme: dark)"); - -media.addEventListener("change", () => { - if (!getTheme()) { - applyTheme(); - } -}); diff --git a/src/pages/applications/Applications.jsx b/src/pages/applications/Applications.jsx index 0228d1b..d2fc0ef 100644 --- a/src/pages/applications/Applications.jsx +++ b/src/pages/applications/Applications.jsx @@ -41,7 +41,7 @@ const Applications = () => { engineering excellence.

{ @@ -75,7 +75,7 @@ const Applications = () => { journey.

{ diff --git a/src/pages/team/TeamPage.jsx b/src/pages/team/TeamPage.jsx index a92a0b1..442c9d6 100644 --- a/src/pages/team/TeamPage.jsx +++ b/src/pages/team/TeamPage.jsx @@ -62,9 +62,9 @@ const TeamPage = () => { const teams = [ { name: "All" }, { name: "Executive Body" }, - { name: "Team Bluebird" }, { name: "Team Bluestreak" }, { name: "Team Blueprint" }, + { name: "Team Bluebird" }, ]; const teamDescriptions = { @@ -92,7 +92,10 @@ const TeamPage = () => { const filteredMembers = activeTeam === "All" - ? Array.from(new Map(teamMembers.map((m) => [m.description, m])).values()) + ? teamMembers.filter( + (member, index, self) => + index === self.findIndex((m) => m.name === member.name), + ) : teamMembers.filter((member) => member.team === activeTeam); return ( @@ -120,7 +123,7 @@ const TeamPage = () => {