Skip to content

Commit

Permalink
Merge pull request #192 from PatilHarshh/revert-163-faqs
Browse files Browse the repository at this point in the history
Revert "Faqs"
  • Loading branch information
PatilHarshh authored Jun 4, 2024
2 parents d41a79e + 82198e7 commit 47f3d61
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 109 deletions.
9 changes: 0 additions & 9 deletions client/package-lock.json

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

1 change: 0 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"react-icons": "^4.10.1",
"react-redux": "^8.1.1",
"react-router-dom": "^6.14.1",
"slugify": "^1.6.6",
"styled-components": "^6.1.11"
},
"devDependencies": {
Expand Down
39 changes: 17 additions & 22 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import {
UserProfile,
} from "./pages";
import { useSelector } from "react-redux";
import FAQs from "./components/FAQs.jsx";
// import ApplyForm from "./pages/ApplyForm";

import SectionFirst from "./components/Home/SectionFirst";
import SectionSecond from "./components/Home/SectionSecond";
import SectionThird from "./components/Home/SectionThird";
Expand Down Expand Up @@ -56,27 +55,9 @@ function App() {
{loading && <Loader />}
<Routes>
<Route element={<Layout />}>
<Route path="/" element={<Navigate to="/find-jobs" replace />} />
<Route path="/find-jobs" element={<FindJobs />} />
<Route path="/companies" element={<Companies />} />
<Route path="/FAQ" element={<FAQs />} />
{/* <Route path="/apply/:id/:title" element={<ApplyForm />} /> */}
<Route path="/about-us" element={<About />} />
<Route path="/user-auth" element={<AuthPage />} />
<Route path="/job-detail/:id" element={<JobDetail />} />
<Route path="/upload-job" element={<UploadJob />} />
<Route
path={
user?.user?.accountType === "seeker"
? "/user-profile"
: "/user-profile/:id"
}
element={<UserProfile />}
/>
<Route path="/company-profile" element={<CompanyProfile />} />
<Route path="/company-profile/:id" element={<CompanyProfile />} />
<Route element={<About />} path="/about" />
<Route
path="/"
path='/'
element={
<>
<SectionFirst />
Expand All @@ -88,6 +69,20 @@ function App() {
</>
}
/>
<Route path='/companies' element={<Companies />} />
<Route path="/find-jobs" element={<FindJobs />} />
<Route
path={
user?.user?.accountType === "seeker"
? "/user-profile"
: "/user-profile/:id"
}
element={<UserProfile />}
/>
<Route path="/company-profile" element={<CompanyProfile />} />
<Route path="/company-profile/:id" element={<CompanyProfile />} />
<Route path="/upload-job" element={<UploadJob />} />
<Route path="/job-detail/:id" element={<JobDetail />} />
</Route>
<Route path="/about-us" element={<About />} />
<Route path="/user-auth" element={<AuthPage />} />
Expand Down
76 changes: 0 additions & 76 deletions client/src/components/FAQs.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion client/src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Footer = () => {
{links.map((link, index) => (
<Link
key={link + index}
to={`/${link}`}
to="/"
className="text-gray-300 text-sm hover:text-white "
>
{link}
Expand Down

0 comments on commit 47f3d61

Please sign in to comment.