-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5f45df
commit 81b3f61
Showing
29 changed files
with
1,015 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import Footer from "components/common/Footer"; | ||
import Header from "components/common/Header/Header"; | ||
import Sems from "components/Curriculum/Sems"; | ||
import { firstYearSems } from "data/semData"; | ||
import styles from '@styles/Home.module.css'; | ||
const ComputerEngineering = () => { | ||
return ( | ||
<div> | ||
<Header image="/images/blog/blog_bg.svg" text="Chemical Engineering" /> | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>First Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* second yr */} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Second Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* third Year*/} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Third Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* fourth */} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Fourth Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
<Footer /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ComputerEngineering; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import Subject from "components/Curriculum/Subject"; | ||
import { getSubjectPages } from "data/semData"; | ||
|
||
export const getStaticPaths = async () => { | ||
const paths = [ | ||
{ | ||
params: { | ||
subject: "applied-mathematics-1", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "applied-chemistry", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "thermo-dynamics", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "electrical-engineering", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "environmental-studies", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "applied-chemistry-lab", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "computer-programming-lab", | ||
}, | ||
}, | ||
]; | ||
|
||
return { | ||
paths, | ||
fallback: false, | ||
}; | ||
}; | ||
|
||
export const getStaticProps = async (context) => { | ||
let subject = context.params.subject; | ||
const data = getSubjectPages(subject); | ||
|
||
if (data == null || data == undefined) { | ||
return { notFound: true }; | ||
} | ||
|
||
return { props: { data } }; | ||
}; | ||
|
||
const GeneralSubject = ({ data }) => { | ||
return ( | ||
<> | ||
<Subject data={data} /> | ||
</> | ||
); | ||
}; | ||
|
||
export default GeneralSubject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import Footer from "components/common/Footer"; | ||
import Header from "components/common/Header/Header"; | ||
import Sems from "components/Curriculum/Sems"; | ||
import { firstYearSems } from "data/semData"; | ||
import styles from '@styles/Home.module.css'; | ||
const ComputerEngineering = () => { | ||
return ( | ||
<div> | ||
<Header image="/images/blog/blog_bg.svg" text="Civil Engineering" /> | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>First Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* second yr */} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Second Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* third Year*/} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Third Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* fourth */} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Fourth Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
<Footer /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ComputerEngineering; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import Subject from "components/Curriculum/Subject"; | ||
import { getSubjectPages } from "data/semData"; | ||
|
||
export const getStaticPaths = async () => { | ||
const paths = [ | ||
{ | ||
params: { | ||
subject: "applied-mathematics-1", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "applied-chemistry", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "thermo-dynamics", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "electrical-engineering", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "environmental-studies", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "applied-chemistry-lab", | ||
}, | ||
}, | ||
{ | ||
params: { | ||
subject: "computer-programming-lab", | ||
}, | ||
}, | ||
]; | ||
|
||
return { | ||
paths, | ||
fallback: false, | ||
}; | ||
}; | ||
|
||
export const getStaticProps = async (context) => { | ||
let subject = context.params.subject; | ||
const data = getSubjectPages(subject); | ||
|
||
if (data == null || data == undefined) { | ||
return { notFound: true }; | ||
} | ||
|
||
return { props: { data } }; | ||
}; | ||
|
||
const GeneralSubject = ({ data }) => { | ||
return ( | ||
<> | ||
<Subject data={data} /> | ||
</> | ||
); | ||
}; | ||
|
||
export default GeneralSubject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import Footer from "components/common/Footer"; | ||
import Header from "components/common/Header/Header"; | ||
import Sems from "components/Curriculum/Sems"; | ||
import { firstYearSems } from "data/semData"; | ||
import styles from '@styles/Home.module.css'; | ||
const ComputerEngineering = () => { | ||
return ( | ||
<div> | ||
<Header image="/images/blog/blog_bg.svg" text="Computer Engineering" /> | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>First Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* second yr */} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Second Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* third Year*/} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Third Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
{/* fourth */} | ||
<div | ||
data-aos='fade-up' | ||
className={styles.ourserv} | ||
id={styles.ourserv} | ||
> | ||
<h2>Fourth Year</h2> | ||
/</div> | ||
<Sems data={firstYearSems} /> | ||
<Footer /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ComputerEngineering; |
Oops, something went wrong.