Skip to content

Commit c4e168c

Browse files
committed
fix: major fixes
1 parent 179e685 commit c4e168c

26 files changed

+73
-76
lines changed

src/App.jsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
import React from "react";
2-
import SponsorsSection from "../src/pages/landing-page/sponsor";
3-
import TeamSlider from "../src/pages/landing-page/Team";
4-
import teamMembers from "../src/config/teammate";
5-
import TeamPage from "../src/pages/landing-page/TeamPage";
1+
import Footer from "./components/Footer.jsx";
2+
import Navbar from "./components/Navbar.jsx";
3+
import { Outlet } from "react-router";
64

7-
function App() {
5+
const App = () => {
86
return (
97
<>
10-
<SponsorsSection />
11-
<TeamSlider />
12-
<TeamPage teamMembers={teamMembers} />
8+
<Navbar />
9+
<Outlet />
10+
<Footer />
1311
</>
1412
);
15-
}
13+
};
1614

1715
export default App;

src/Playground.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import Navbar from "./components/playground/Navbar.jsx";
1+
import Footer from "./components/Footer.jsx";
2+
import Navbar from "./components/Navbar.jsx";
23
import { Outlet } from "react-router";
34

45
const Playground = () => {

src/components/playground/AboutSection.jsx renamed to src/components/AboutSection.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Button from "../shared/Button";
2-
import { siteConfig } from "../../config/navbarHero";
1+
import Button from "./shared/Button";
2+
import { siteConfig } from "../config/navbarHero";
33

44
export default function AboutSection() {
55
return (
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { useNavigate } from "react-router";
2-
import achievementsData from "../../config/achievement";
2+
import achievementsData from "../config/achievement";
33

44
export default function Achievements() {
55
const navigate = useNavigate();
66

77
return (
88
<div className="px-4 md:px-12 py-8 max-w-screen-xl mx-auto">
9-
<div style={{ marginBottom: "12rem" }}>
9+
<div className="md:mb-48 mb-12">
1010
<h2 className="text-3xl font-bold text-blue-900 mb-4">
1111
Our Achievements
1212
</h2>
@@ -19,7 +19,7 @@ export default function Achievements() {
1919
solidifying their reputation for excellence in mechanical engineering.
2020
</p>
2121
<button
22-
className="bg-white text-blue-800 border border-blue-800 px-4 py-2 rounded hover:bg-blue-50 mb-12"
22+
className="bg-white text-blue-800 border border-blue-800 px-4 py-2 rounded hover:bg-blue-50 md:mb-12"
2323
onClick={() => navigate("/achievementpage")}
2424
>
2525
View All Achievements &gt;
@@ -30,11 +30,11 @@ export default function Achievements() {
3030
<div className="hidden md:block absolute top-1/2 left-0 w-full h-1 bg-black -translate-y-1/2 z-0"></div>
3131
<div className="md:hidden absolute left-2 top-0 h-full w-1 bg-black z-0"></div>
3232

33-
<div className="flex flex-col md:flex-row items-start md:items-center justify-between relative z-10">
33+
<div className="flex flex-col md:flex-row items-start md:items-center justify-between relative z-10 md:mb-60">
3434
{achievementsData.map((item, index) => (
3535
<div
3636
key={index}
37-
className={`w-full md:w-1/4 px-4 mb-16 md:mb-0 flex md:flex-col items-start md:items-center relative`}
37+
className={`w-full md:w-1/4 px-4 md:mb-0 flex md:flex-col items-start md:items-center relative`}
3838
>
3939
<div className="absolute md:static left-0 md:left-auto top-2 md:top-auto md:mb-4 transform -translate-y-1/2 md:translate-y-1/2 w-4.5 h-4.5 bg-black border-2 border-white rounded-full z-20"></div>
4040

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
// src/components/Footer.jsx
21
import { Link } from "react-router-dom";
3-
import React from "react";
42
import {
53
FaFacebookF,
64
FaTwitter,
75
FaInstagram,
86
FaLinkedinIn,
97
} from "react-icons/fa";
10-
import { FiMail, FiPhone } from "react-icons/fi"; // Feather Icons
11-
import { GoLocation } from "react-icons/go"; //location icons
8+
import { FiMail, FiPhone } from "react-icons/fi";
9+
import { GoLocation } from "react-icons/go";
1210
const Footer = ({
1311
title = "ASME NIT Rourkela Chapter",
1412
description = "The American Society of Mechanical Engineers Student Chapter at NIT Rourkela, fostering a culture of innovation and technical learning through innovation, collaboration, and hands-on learning.",

src/components/playground/GalarySection.jsx renamed to src/components/GallerySection.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import TButton from "../shared/TertiaryButton";
2-
import images from "../../config/galary";
1+
import TButton from "./shared/TertiaryButton";
2+
import images from "../config/galary";
33

44
export default function GalarySection() {
55
const getRandomImages = () => {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import Button from "../shared/Button";
2-
import { siteConfig } from "../../config/navbarHero";
1+
import Button from "./shared/Button";
2+
import { siteConfig } from "../config/navbarHero";
33

44
export default function HeroSection() {
55
return (

0 commit comments

Comments
 (0)