diff --git a/src/Semesters/Sem1.tsx b/src/Semesters/Sem1.tsx index 724e623..f1ea69b 100644 --- a/src/Semesters/Sem1.tsx +++ b/src/Semesters/Sem1.tsx @@ -1,9 +1,27 @@ -import React from 'react' +import React from 'react'; function Sem1() { return ( -
Sem1
- ) +
+
+
+ Basic Electrical Engineering (BEE) +
+
+ Engineering Chemistry (EC-1) +
+
+ Engineering Mathematics (EM-1) +
+
+ Engineering Physics (EP-1) +
+
+ Engineering Mechanics +
+
+
+ ); } -export default Sem1 \ No newline at end of file +export default Sem1; diff --git a/src/Semesters/Sem2.tsx b/src/Semesters/Sem2.tsx index 9a957a5..4ecb0e2 100644 --- a/src/Semesters/Sem2.tsx +++ b/src/Semesters/Sem2.tsx @@ -1,9 +1,34 @@ -import React from 'react' +import React from 'react'; +import { Link } from 'react-router-dom'; function Sem2() { return ( -
Sem2
- ) +
+
+

Semester 2

+
+ + C-Programming + + + Engineering Chemistry (EC-2) + + + Engineering Graphics + + + Engineering Mathematics (EM-2) + + + Engineering Physics (EP-2) + + + Professional Communication Skills and Ethics (PCE) + +
+
+
+ ); } -export default Sem2 \ No newline at end of file +export default Sem2; diff --git a/src/components/Books.tsx b/src/components/Books.tsx index 0c195fd..6c39f7e 100644 --- a/src/components/Books.tsx +++ b/src/components/Books.tsx @@ -1,67 +1,77 @@ import React from 'react'; +import { Link, Route, Routes,Outlet } from 'react-router-dom'; +import Sem1 from '../Semesters/Sem1'; +import Sem2 from '../Semesters/Sem2'; +import Sem3 from '../Semesters/Sem3'; +import Sem4 from '../Semesters/Sem4'; +import Sem5 from '../Semesters/Sem5'; +import Sem6 from '../Semesters/Sem6'; +import Sem7 from '../Semesters/Sem7'; +import Sem8 from '../Semesters/Sem8'; import './style.css'; -import Sem1 from 'src/Semesters/Sem1'; -import Sem2 from 'src/Semesters/Sem2'; -import Sem3 from 'src/Semesters/Sem3'; -import Sem4 from 'src/Semesters/Sem4'; -import Sem5 from 'src/Semesters/Sem5'; -import Sem6 from 'src/Semesters/Sem6'; -import Sem7 from 'src/Semesters/Sem7'; -import Sem8 from 'src/Semesters/Sem8'; - - function Books() { - return ( -
-
-
-

1st Year

-
-
- Sem 1 -
-
- Sem 2 -
-
+function Books() { + return ( +
+
+
+

1st Year

+
+ + Sem 1 + + + Sem 2 +
-
-

2nd Year

-
-
- Sem 3 -
-
- Sem 4 -
-
+
+
+

2nd Year

+
+ + Sem 3 + + + Sem 4 +
-
-

3rd Year

-
-
+
+
+

3rd Year

+
+ Sem 5 -
-
+ + Sem 6 -
-
+
-
-

4th Year

-
- -
+
+
+

4th Year

+
+ Sem 7 -
-
+ + Sem 8 -
-
+
- ); - } + + + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + +
+ ); +} - export default Books; +export default Books; diff --git a/tsconfig.json b/tsconfig.json index d3af064..fae7867 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "react", + "jsx": "preserve", "baseUrl": "" }, "include": ["**/*.ts", "**/*.tsx"],