Skip to content

Commit

Permalink
Merge pull request #209 from PatilHarshh/revert-97-application-form
Browse files Browse the repository at this point in the history
Revert "Application form"
  • Loading branch information
PatilHarshh authored Jun 6, 2024
2 parents a84d918 + 31c1c16 commit 2eb96c6
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 314 deletions.
24 changes: 14 additions & 10 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Job Finder | Find Dream Job</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="./src/main.jsx"></script>
</body>

</html>
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
27 changes: 4 additions & 23 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";
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 @@ -57,27 +56,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 element={<About />} path="/about" />
<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="/"
path='/'
element={
<>
<SectionFirst />
Expand All @@ -103,13 +84,13 @@ function App() {
<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 />} />
<Route
path="/"
element={<Navigate to="/find-jobs" replace={true} />}
/>
</Route>
</Routes>
<BiArrowToTop className="fixed bottom-4 right-4 border rounded-full p-1" size={50} onClick={()=>{window.scrollTo({ top: 0, left: 0, behavior: "smooth"});}}/>
{user && <Footer />}
Expand Down
51 changes: 0 additions & 51 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,54 +155,3 @@ body {
@tailwind components;
@tailwind utilities;

/* @dhruv8433 */

.apply {
max-width: 600px;
margin: auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
}

.apply div {
margin-bottom: 15px;
}

.apply label {
display: block;
margin-bottom: 5px;
}

.apply input[type="text"],
.apply input[type="email"],
.apply textarea {
width: 100%;
padding: 8px;
margin-top: 4px;
box-sizing: border-box;
}

.apply input[type="file"] {
margin-top: 4px;
}

.apply span {
color: red;
font-size: 12px;
}

.apply button {
background-color: #0073b1;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
margin-right: 10px;
}

.apply button:hover {
background-color: #005f8c;
}

171 changes: 0 additions & 171 deletions client/src/pages/ApplyForm.jsx

This file was deleted.

Loading

0 comments on commit 2eb96c6

Please sign in to comment.