Skip to content

Commit

Permalink
Merge pull request #12 from udohjeremiah/dev
Browse files Browse the repository at this point in the history
Add section for Western Delta University, WDU and its available sections
  • Loading branch information
udohjeremiah authored Nov 4, 2023
2 parents 0ee859d + 7b56cef commit a5732a7
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import LinkList from "@/components/LinkList";

const courses = {
"": [
{
name: "CSC 202 - Assembly Language Processing",
route: "2nd-semester/csc202",
},
{ name: "CSC 204 - File Processing", route: "2nd-semester/csc204" },
{ name: "CSC 206 - Computer Hardware", route: "2nd-semester/cs206" },
{ name: "MTH 202 - Linear Algebra II", route: "2nd-semester/mth202" },
{ name: "MTH 206 - Mathematical Method I", route: "2nd-semeter/mth206" },
{
name: "PHY 208 - Electric Circuits and Electronics",
route: "2nd-semester/phy208",
},
],
};

export default function _2nd_semester() {
return <LinkList items={courses} isOrdered={true} />;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import LinkList from "@/components/LinkList";

const semesters = {
"": [{ name: "2nd Semester", route: "200-level/2nd-semester" }],
};

export default function _200_level() {
return <LinkList items={semesters} isOrdered={true} />;
}
9 changes: 9 additions & 0 deletions src/app/past-questions-archive/wdu/compsci/2022_2023/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import LinkList from "@/components/LinkList";

const levels = {
"": [{ name: "200 Level", route: "2022_2023/200-level" }],
};

export default function _2022_2023() {
return <LinkList items={levels} isOrdered={true} />;
}
9 changes: 9 additions & 0 deletions src/app/past-questions-archive/wdu/compsci/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import LinkList from "@/components/LinkList";

const sessions = {
"": [{ name: "2022/2023", route: "compsci/2022_2023" }],
};

export default function CompSci() {
return <LinkList items={sessions} isOrdered={true} />;
}
17 changes: 17 additions & 0 deletions src/app/past-questions-archive/wdu/layout.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import BreadCrumb from "@/components/BreadCrumb";

export const metadata = {
title: "Past Questions Archive - Western Delta University | ExamShare",
};

export default function WesternDeltaUniversityLayout({ children }) {
return (
<div className="flex flex-col items-center gap-6 px-4 py-14 shadow-[inset_0_-1px_0_0] shadow-sky-100 dark:shadow-sky-800 md:px-10">
<BreadCrumb />
<h2 className="text-center text-3xl font-extrabold text-slate-900 dark:text-white">
Western Delta University, Oghara Delta State
</h2>
<div className="flex w-full max-w-prose flex-col gap-2">{children}</div>
</div>
);
}
10 changes: 10 additions & 0 deletions src/app/past-questions-archive/wdu/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import LinkList from "@/components/LinkList";

// source from https://wdu.edu.ng/academics/academic-programmes/
const departments = {
c: [{ name: "Computer Science", route: "wdu/compsci" }],
};

export default function WesternDeltaUniversity() {
return <LinkList items={departments} isOrdered={true} />;
}

0 comments on commit a5732a7

Please sign in to comment.