diff --git a/src/app/bus/page.tsx b/src/app/bus/page.tsx index 9764e58..569caa4 100644 --- a/src/app/bus/page.tsx +++ b/src/app/bus/page.tsx @@ -1,4 +1,4 @@ -import { BusButtons } from "@/components/Bus/busButton"; +//import { BusButtons } from "@/components/Bus/busButton"; const busData = [ { slug: 'bus-1', name: 'Bus 1' }, @@ -9,10 +9,45 @@ const busData = [ { slug: 'bus-6', name: 'Bus 6' }, ]; -export default function BusPage() { +const BusPage: React.FC = () => { return ( -
- +
+ {/* Header */} +
+
+
+

College Bus

+ {/* Decorative wave underline */} + + + +
+
+ + {/* Subject Grid */} +
+ {busData.map((bus, index) => ( + // Use BusButtons + + ))} +
+
); -} \ No newline at end of file +}; + +export default BusPage; diff --git a/src/app/floor/page.tsx b/src/app/floor/page.tsx new file mode 100644 index 0000000..3120718 --- /dev/null +++ b/src/app/floor/page.tsx @@ -0,0 +1,50 @@ +const floors = [ + { slug: 'Floor-1', name: 'Floor 1' }, + { slug: 'Ground Floor', name: 'Ground Floor' }, + { slug: 'Floor-2', name: 'Floor 2' }, + { slug: 'Floor-3', name: 'Floor-3' }, + { slug: 'Floor-4', name: 'Floor 4' }, +]; + +const BusPage: React.FC = () => { + return ( +
+ {/* Header */} +
+
+
+

College Floor

+ {/* Decorative wave underline */} + + + +
+
+ + {/* Subject Grid */} +
+ {floors.map((floor, index) => ( + // Use BusButtons + + ))} +
+
+
+ ); +}; + +export default BusPage; diff --git a/src/app/studymaterial/page.tsx b/src/app/studymaterial/page.tsx index 3465057..f65dcc9 100644 --- a/src/app/studymaterial/page.tsx +++ b/src/app/studymaterial/page.tsx @@ -1,17 +1,9 @@ -export default function Home() { +import SemPage from "./pages/sem"; + +export default function StudyMaterialPage() { return (
-

- in this page we need folder like strucutre basically you will dynamic slect the folder basically if there cse mech - then slect cse the website should autoamtically all the folder inside the cse folder like taht - then - -2019 and 2024 schema - -deptmarntent - -sem - -subject - -notebook,textbook,question paper,notes,syllabus,previous year question paper,lab manual,lab record,lab experiment - -module wise or quesiton year wise questions -

+
); -} \ No newline at end of file +} diff --git a/src/app/studymaterial/pages/sem.tsx b/src/app/studymaterial/pages/sem.tsx new file mode 100644 index 0000000..d3ce8de --- /dev/null +++ b/src/app/studymaterial/pages/sem.tsx @@ -0,0 +1,55 @@ +import React from 'react'; + +const SemPage: React.FC = () => { + const semesters = [ + 'S1', 'S2', 'S3', 'S4', 'S5', 'S6', 'S7', 'S8' + ]; + + return ( +
+ {/* Header */} +
+
+
+

Study Material

+ {/* Decorative wave underline */} + + + +
+

SEM

+
+ + {/* Subject Grid */} +
+ {semesters.map((sem, index) => ( + + ))} +
+ + {/* Footer Text */} +
+

+ Stay focused, work hard, and believe in yourself +

+
+
+
+ ); +}; + +export default SemPage; diff --git a/src/components/Bus/busButton.tsx b/src/components/Bus/busButton.tsx index 6b22d73..cfb00b7 100644 --- a/src/components/Bus/busButton.tsx +++ b/src/components/Bus/busButton.tsx @@ -9,7 +9,7 @@ type BusData = { name: string; // Display name for the bus }; -export const BusButtons = ({ buses }: { buses: BusData[] }) => { +export const BusButtons = ({ buses }: { buses: BusData[] },) => { return (
@@ -31,4 +31,4 @@ export const BusButtons = ({ buses }: { buses: BusData[] }) => {
); -}; \ No newline at end of file +};