Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature/contactus page added #110

Merged
merged 2 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions hiring-portal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 23 additions & 26 deletions hiring-portal/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import './App.css';
import React, { useState } from 'react';
import Homepage from './Components/Homepage';
import HeroSection from './Components/HeroSection';
import { BrowserRouter as Router, Routes, Route,Navigate} from "react-router-dom";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Signup from './Components/Signup';
import Jobpage from './Components/Jobpage';
import Job from './Components/Job';
Expand All @@ -25,40 +25,37 @@ import AssessmentResultDetail from './Components/AssessmentResultDetails';
import About from './Components/About';
import Contactus from './Components/Contactus';
import BackToTop from "./Components/BackToTop.jsx";
import NotFound from './Components/NotFound.jsx';
function App() {
const [test, setTest] = useState(null);

return (
<Router>
<Routes>
<Route exact path='/' element={<Homepage />}/>
<Route exact path='/signup' element={<Signup />}/>
<Route exact path='/jobcard' element={<Jobpage />}/>
<Route exact path="/job/:id" element={<Job/>} />
<Route exact path="/owner" element={<Employer/>}/>
<Route exact path="/ownerside" element={<Dashboard/>}/>
<Route exact path="/admin" element={<AdminDashboard/>}/>
<Route exact path="/postjob" element ={<JobPostForm/>}/>
<Route exact path='/about' element={<About/>}/>
<Route exact path='/contactus' element={<Contactus/>}/>
<Route exact path="/company" element={<CompanyRegistration/>}/>
<Route exact path="/profile" element={<Profile/>}/>
<Route exact path="/signin" element={<SignIn/>}/>
<Route exact path='/uploadedjobs' element={<UploadedJobs/>}/>
<Route exact path='/code/:assessmentId' element={<Coding />} />
<Route exact path='/manage-assesment/:jobId' element={<CreateAssessment />} />
<Route exact path="/managejobs/:jobId" element={<ManageJobs />} />
<Route exact path="/application" element={<ApplicationForm />} />
<Route exact path='/shortlist/:jobId' element={<Shortlist />} />
<Route exact path='/assessment-results/:jobId' element={<AssessmentResults />} />
<Route exact path='/assessment-results/result/:assessmentId' element={<AssessmentResultDetail />} />
<Route path='/not-found' element={<NotFound/>}/>
<Route path="*" element={<Navigate to="/not-found" replace />} />
<Route path='/' element={<Homepage />}/>
<Route path='/signup' element={<Signup />}/>
<Route path='/jobcard' element={<Jobpage />}/>
<Route path="/job/:id" element={<Job/>} />
<Route path="/owner" element={<Employer/>}/>
<Route path="/ownerside" element={<Dashboard/>}/>
<Route path="/admin" element={<AdminDashboard/>}/>
<Route path="/postjob" element ={<JobPostForm/>}/>
<Route path='/about' element={<About/>}/>
<Route path='/contact' element={<Contactus/>}/>
<Route path="/company" element={<CompanyRegistration/>}/>
<Route path="/profile" element={<Profile/>}/>
<Route path="/signin" element={<SignIn/>}/>
<Route path='/uploadedjobs' element={<UploadedJobs/>}/>
<Route path='/code/:assessmentId' element={<Coding />} />
<Route path='/manage-assesment/:jobId' element={<CreateAssessment />} />
<Route path="/managejobs/:jobId" element={<ManageJobs />} />
<Route path="/application" element={<ApplicationForm />} />
<Route path='/shortlist/:jobId' element={<Shortlist />} />
<Route path='/assessment-results/:jobId' element={<AssessmentResults />} />
<Route path='/assessment-results/result/:assessmentId' element={<AssessmentResultDetail />} />
</Routes>
<BackToTop />
</Router>
);
}

export default App;
export default App;
Loading