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

Revert "Faqs" #192

Merged
merged 1 commit into from
Jun 4, 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
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
Loading