Skip to content

Commit 79d96d7

Browse files
committed
Add remaining pages of Reserch
1 parent 6492017 commit 79d96d7

20 files changed

+390
-198
lines changed

404.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@
8282
<body>
8383
<h1><strong>nginx error!</strong></h1>
8484

85-
<div class="content">
85+
<div className="content">
8686

8787
<h3>The page you are looking for is not found.</h3>
8888

89-
<div class="alert">
89+
<div className="alert">
9090
<h2>Website Administrator</h2>
91-
<div class="content">
91+
<div className="content">
9292
<p>Something has triggered missing webpage on your
9393
website. This is the default 404 error page for
9494
<strong>nginx</strong> that is distributed with
@@ -103,7 +103,7 @@ <h2>Website Administrator</h2>
103103
</div>
104104
</div>
105105

106-
<div class="logos">
106+
<div className="logos">
107107
<a href="http://nginx.net/"><img
108108
src="/nginx-logo.png"
109109
alt="[ Powered by nginx ]"

50x.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@
8282
<body>
8383
<h1><strong>nginx error!</strong></h1>
8484

85-
<div class="content">
85+
<div className="content">
8686

8787
<h3>The page you are looking for is temporarily unavailable. Please try again later.</h3>
8888

89-
<div class="alert">
89+
<div className="alert">
9090
<h2>Website Administrator</h2>
91-
<div class="content">
91+
<div className="content">
9292
<p>Something has triggered an error on your
9393
website. This is the default error page for
9494
<strong>nginx</strong> that is distributed with
@@ -103,7 +103,7 @@ <h2>Website Administrator</h2>
103103
</div>
104104
</div>
105105

106-
<div class="logos">
106+
<div className="logos">
107107
<a href="http://nginx.net/"><img
108108
src="/nginx-logo.png"
109109
alt="[ Powered by nginx ]"

public/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
<title>Department of Computer Science and Engineering</title>
3434
</head>
3535

36-
<body class="scrollbar scroll-smooth">
36+
<body className="scrollbar scroll-smooth">
3737
<!-- <noscript>You need to enable JavaScript to run this app.</noscript> -->
3838

39-
<div id="root" class="overflow-hidden scrollbar"></div>
39+
<div id="root" className="overflow-hidden scrollbar"></div>
4040
<script src="../src/AppRouter.js"></script>
4141
<script src="../src/App.js"></script>
4242
<script src="../src/index.js"></script>

src/AppRouter.js

+28-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Footer from './components/Footer';
22
import { useEffect, useState,useMemo } from 'react';
3-
import { BrowserRouter as Router, Routes, Route, useLocation, useNavigate, Navigate } from 'react-router-dom';
3+
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
44
import AllPlacement from './components/AllPlacement';
55
import Error from './pages/Errorpage';
66
import Homepage from './pages/Homepage';
@@ -22,7 +22,10 @@ import Alumni from './pages/Alumni';
2222
import PhdScholar from './pages/PhdScholar';
2323
import Profile from './components/Profile';
2424
import FacultyLogin from './pages/FacultyLogin';
25-
import Otherprofilelink from './forms/facultyprofile/Otherprofilelink'
25+
import ResearchArea from './pages/ResearchArea';
26+
import ResearchLab from './pages/ResearchLab';
27+
import DepartmentLab from './pages/DepartmentLab';
28+
import Publications from './pages/Publications';
2629
const AppRouter = () => {
2730
const footref = useRef();
2831
const isInViewport1 = useIsInViewport(footref);
@@ -35,24 +38,24 @@ const AppRouter = () => {
3538
const SetScrollupmenu = (val)=>{
3639
setScrollupmenu(val);
3740
}
38-
const departments={
41+
// const departments={
3942

40-
"it":"Information Technology",
41-
"cse":"Computer Science and Engineering",
42-
"bt":"Bio Technology",
43-
"ce":"Civil Engineering",
44-
"ch":"Chemical Engineering",
45-
"ec":"Electronics And Communication Engineering",
46-
"ee":"Electrical And Electronics Engineering",
47-
"ice":"Instrumentation And Control Engineering",
48-
"me":"Mechanical Engineering",
49-
"ipe":"Industrial And Production Enginnering",
50-
"ma":"Mathematics",
51-
"ph":"Physics",
52-
"tt":"Textile Technology",
53-
"hm":"Humanities",
54-
"cy":"chemistry"
55-
}
43+
// "it":"Information Technology",
44+
// "cse":"Computer Science and Engineering",
45+
// "bt":"Bio Technology",
46+
// "ce":"Civil Engineering",
47+
// "ch":"Chemical Engineering",
48+
// "ec":"Electronics And Communication Engineering",
49+
// "ee":"Electrical And Electronics Engineering",
50+
// "ice":"Instrumentation And Control Engineering",
51+
// "me":"Mechanical Engineering",
52+
// "ipe":"Industrial And Production Enginnering",
53+
// "ma":"Mathematics",
54+
// "ph":"Physics",
55+
// "tt":"Textile Technology",
56+
// "hm":"Humanities",
57+
// "cy":"chemistry"
58+
// }
5659
// const ProtectorRoute=({children})=>{
5760
// const dept=useLocation().pathname.split('/')[2];
5861

@@ -92,15 +95,19 @@ const AppRouter = () => {
9295
<Route path='/dept/:dept/Programme' element={ <Programme /> } />
9396
<Route path='/dept/:dept/contactus' element={ <ContactUs /> } />
9497
<Route path='/dept/:dept/Achievement' element={ <Achievements /> } />
95-
{/* Faculty */}
98+
{/* Person */}
9699
<Route path='/dept/:dept/Faculty' element={ <Faculty/> } />
97100
<Route path='/dept/:dept/Faculty/:id' element={ <Profile/> } />
98101
<Route path='/dept/:dept/Staff' element={ <Staff/> } />
99102
<Route path='/dept/:dept/Student' element={ <Students/> } />
100103
<Route path='/dept/:dept/Alumni' element={ <Alumni/> } />
101104
<Route path='/dept/:dept/PhdScholar' element={ <PhdScholar/> } />
102105
<Route path='/dept/:dept/login' element={ <FacultyLogin/> } />
103-
106+
{/* ResearchArea */}
107+
<Route path='/dept/:dept/ResearchArea' element={ <ResearchArea/> } />
108+
<Route path='/dept/:dept/ResearchLab' element={ <ResearchLab/> } />
109+
<Route path='/dept/:dept/DepartmentLab' element={ <DepartmentLab/> } />
110+
<Route path='/dept/:dept/Publications' element={ <Publications/> } />
104111
</Routes>
105112
</div>
106113
</div>

src/components/Departmentlower.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const Departmentlower = (props) => {
1414
{/* HOD */}
1515

1616
<div className="max-w-md w-full py-4 px-7 mx-1 border bg-white shadow-lg rounded-lg mt-16 mb-6" onClick={() => navigate(`/dept/${dept}/messageofHOD`)}>
17-
<div class="w-32 h-32 flex-grow-0 flex-shrink-0 flex justify-center md:justify-end -mt-20 mb-1 ml-auto mr-0">
18-
<img src={props?.img} class="w-full h-full object-cover object-left-top rounded-full shadow-xl flex-grow-0 flex-shrink-0" alt='' />
17+
<div className="w-32 h-32 flex-grow-0 flex-shrink-0 flex justify-center md:justify-end -mt-20 mb-1 ml-auto mr-0">
18+
<img src={props?.img} className="w-full h-full object-cover object-left-top rounded-full shadow-xl flex-grow-0 flex-shrink-0" alt='' />
1919
</div>
2020
<span className='w-full inline-block h-[140px] overflow-hidden overflow-ellipsis'>
2121
<h2 className="text-blue-800 text-2xl font-semibold">{props?.name}</h2>

0 commit comments

Comments
 (0)