-
Notifications
You must be signed in to change notification settings - Fork 0
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
be06533
commit 1c57d82
Showing
4 changed files
with
115 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
import React from 'react' | ||
import React from 'react'; | ||
|
||
function Sem1() { | ||
return ( | ||
<div>Sem1</div> | ||
) | ||
<div className="mt-5 bg-custom-color"> | ||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> | ||
<div className="p-4 w-full h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center"> | ||
Basic Electrical Engineering (BEE) | ||
</div> | ||
<div className="p-4 w-full h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center"> | ||
Engineering Chemistry (EC-1) | ||
</div> | ||
<div className="p-4 w-full h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center"> | ||
Engineering Mathematics (EM-1) | ||
</div> | ||
<div className="p-4 w-full h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center"> | ||
Engineering Physics (EP-1) | ||
</div> | ||
<div className="p-4 w-full h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center"> | ||
Engineering Mechanics | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Sem1 | ||
export default Sem1; |
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 |
---|---|---|
@@ -1,9 +1,34 @@ | ||
import React from 'react' | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
function Sem2() { | ||
return ( | ||
<div>Sem2</div> | ||
) | ||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5">Semester 2</h2> | ||
<div className="flex flex-col items-center"> | ||
<Link to="/books/sem2/c-programming" className="p-4 w-1/2 h-12 md:h-16 bg-yellow-500 hover:bg-red-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
C-Programming | ||
</Link> | ||
<Link to="/books/sem2/engineering-chemistry" className="p-4 w-1/2 h-12 md:h-16 bg-yellow-500 hover:bg-red-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Engineering Chemistry (EC-2) | ||
</Link> | ||
<Link to="/books/sem2/engineering-graphics" className="p-4 w-1/2 h-12 md:h-16 bg-yellow-500 hover:bg-red-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Engineering Graphics | ||
</Link> | ||
<Link to="/books/sem2/engineering-mathematics" className="p-4 w-1/2 h-12 md:h-16 bg-yellow-500 hover:bg-red-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Engineering Mathematics (EM-2) | ||
</Link> | ||
<Link to="/books/sem2/engineering-physics" className="p-4 w-1/2 h-12 md:h-16 bg-yellow-500 hover:bg-red-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Engineering Physics (EP-2) | ||
</Link> | ||
<Link to="/books/sem2/professional-communication" className="p-4 w-1/2 h-12 md:h-16 bg-yellow-500 hover:bg-red-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Professional Communication Skills and Ethics (PCE) | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Sem2 | ||
export default Sem2; |
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 |
---|---|---|
@@ -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 ( | ||
<div className="mt-5 bg-custom-color"> | ||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white ">1st Year</h2> | ||
<div className="flex flex-col items-center"> | ||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 1 | ||
</div> | ||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 2 | ||
</div> | ||
</div> | ||
function Books() { | ||
return ( | ||
<div className="mt-5 bg-custom-color"> | ||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white ">1st Year</h2> | ||
<div className="flex flex-col items-center"> | ||
<Link to="/books/sem1" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 1 | ||
</Link> | ||
<Link to="/books/sem2" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 2 | ||
</Link> | ||
</div> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white">2nd Year</h2> | ||
<div className="flex flex-col items-center"> | ||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 3 | ||
</div> | ||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 4 | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white">2nd Year</h2> | ||
<div className="flex flex-col items-center"> | ||
<Link to="/books/sem3" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 3 | ||
</Link> | ||
<Link to="/books/sem4" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 4 | ||
</Link> | ||
</div> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white">3rd Year</h2> | ||
<div className="flex flex-col items-center"> | ||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
</div> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white">3rd Year</h2> | ||
<div className="flex flex-col items-center"> | ||
<Link to="/books/sem5" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 5 | ||
</div> | ||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
</Link> | ||
<Link to="/books/sem6" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 6 | ||
</div> | ||
</div> | ||
</Link> | ||
</div> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white">4th Year</h2> | ||
<div className="flex flex-col items-center"> | ||
|
||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
</div> | ||
<div> | ||
<h2 className="md:text-4xl text-2xl font-bold text-center mt-5 mb-5 text-white">4th Year</h2> | ||
<div className="flex flex-col items-center"> | ||
<Link to="/books/sem7" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-5 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 7 | ||
</div> | ||
<div className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center flex justify-center items-center hover:shadow-green-lg"> | ||
</Link> | ||
<Link to="/books/sem8" className="p-4 w-1/2 h-12 md:h-16 bg-blue-500 hover:bg-green-500 transition-colors duration-300 mt-10 rounded-lg shadow text-white text-xl md:text-2xl text-center flex justify-center flex justify-center items-center hover:shadow-green-lg"> | ||
Sem 8 | ||
</div> | ||
</div> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
<Outlet /> | ||
<Routes> | ||
<Route path="/books/sem1" element={<Sem1 />} /> | ||
<Route path="/books/sem2" element={<Sem2 />} /> | ||
<Route path="/books/sem3" element={<Sem3 />} /> | ||
<Route path="/books/sem4" element={<Sem4 />} /> | ||
<Route path="/books/sem5" element={<Sem5 />} /> | ||
<Route path="/books/sem6" element={<Sem6 />} /> | ||
<Route path="/books/sem7" element={<Sem7 />} /> | ||
<Route path="/books/sem8" element={<Sem8 />} /> | ||
</Routes> | ||
</div> | ||
); | ||
} | ||
|
||
export default Books; | ||
export default Books; |
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