-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ui revamp for explore job page
* ui-revamp * updated-font/satoshi * footer-added * nav-bar * mobile-nav * responsive/job-form * new-schema * added-skills * mobile-nav * mobile-nav * minor/ui-bugs
- Loading branch information
1 parent
00176e5
commit 1705644
Showing
25 changed files
with
745 additions
and
652 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
Warnings: | ||
- Changed the type of `type` on the `Job` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required. | ||
*/ | ||
-- CreateEnum | ||
CREATE TYPE "EmployementType" AS ENUM ('Full_time', 'Part_time', 'Internship', 'Contract'); | ||
|
||
-- AlterTable | ||
ALTER TABLE "Job" ADD COLUMN "has_experience_range" BOOLEAN NOT NULL DEFAULT false, | ||
ADD COLUMN "maxExperience" INTEGER, | ||
ADD COLUMN "minExperience" INTEGER, | ||
ADD COLUMN "skills" TEXT[], | ||
DROP COLUMN "type", | ||
ADD COLUMN "type" "EmployementType" NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* eslint-disable no-console */ | ||
import { Currency, Role, WorkMode } from '@prisma/client'; | ||
import { Currency, EmployementType, Role, WorkMode } from '@prisma/client'; | ||
import { faker } from '@faker-js/faker'; | ||
import bcrypt from 'bcryptjs'; | ||
import prisma from '../src/config/prisma.config'; | ||
|
@@ -20,10 +20,13 @@ let jobs = [ | |
'Leading tech solutions provider specializing in innovative web development.', | ||
companyEmail: '[email protected]', | ||
category: 'development', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.remote, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 60000, | ||
|
@@ -40,10 +43,11 @@ let jobs = [ | |
'Innovatech specializes in backend systems and cloud-based solutions.', | ||
companyEmail: '[email protected]', | ||
category: 'development', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.office, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: false, | ||
companyLogo: '', | ||
hasSalaryRange: false, | ||
minSalary: null, | ||
|
@@ -60,10 +64,13 @@ let jobs = [ | |
'Global Solutions offers comprehensive IT services for businesses worldwide.', | ||
companyEmail: '[email protected]', | ||
category: 'development', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.hybrid, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 3, | ||
maxExperience: 4, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 90000, | ||
|
@@ -81,10 +88,13 @@ let jobs = [ | |
'DevOps Ltd. specializes in automation and cloud infrastructure management.', | ||
companyEmail: '[email protected]', | ||
category: 'development', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.remote, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 50000, | ||
|
@@ -102,10 +112,11 @@ let jobs = [ | |
'Productive Minds helps businesses achieve their goals through strategic product management.', | ||
companyEmail: '[email protected]', | ||
category: 'management', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.hybrid, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: false, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 110000, | ||
|
@@ -123,10 +134,13 @@ let jobs = [ | |
'Data Insights provides data-driven solutions to empower businesses.', | ||
companyEmail: '[email protected]', | ||
category: 'development', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.office, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 80000, | ||
|
@@ -144,10 +158,13 @@ let jobs = [ | |
'Creative Designs excels in crafting intuitive and visually appealing user interfaces.', | ||
companyEmail: '[email protected]', | ||
category: 'design', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.remote, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 70000, | ||
|
@@ -164,10 +181,13 @@ let jobs = [ | |
'App Innovators is a leader in mobile application development and innovation.', | ||
companyEmail: '[email protected]', | ||
category: 'development', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.hybrid, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: false, | ||
minSalary: null, | ||
|
@@ -183,10 +203,13 @@ let jobs = [ | |
companyBio: 'Cloud Works provides cutting-edge cloud computing solutions.', | ||
companyEmail: '[email protected]', | ||
category: 'development', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.office, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 100000, | ||
|
@@ -203,10 +226,13 @@ let jobs = [ | |
'SecureTech specializes in cybersecurity solutions for modern businesses.', | ||
companyEmail: '[email protected]', | ||
category: 'support', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.remote, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 75000, | ||
|
@@ -223,13 +249,13 @@ let jobs = [ | |
'QA Solutions ensures top-notch quality assurance services for software.', | ||
companyEmail: '[email protected]', | ||
category: 'support', | ||
type: 'full-time', | ||
type: EmployementType.Full_time, | ||
workMode: WorkMode.remote, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
companyLogo: '', | ||
hasSalaryRange: true, | ||
minSalary: 45000, | ||
hasExperiencerange: false, | ||
maxSalary: 50000, | ||
isVerifiedJob: true, | ||
}, | ||
|
@@ -243,10 +269,13 @@ let jobs = [ | |
'WriteTech specializes in high-quality technical writing services.', | ||
companyEmail: '[email protected]', | ||
category: 'writing', | ||
type: 'contract', | ||
type: EmployementType.Contract, | ||
workMode: WorkMode.remote, | ||
currency: Currency.USD, | ||
application: '[email protected]', | ||
hasExperiencerange: true, | ||
minExperience: 1, | ||
maxExperience: 2, | ||
companyLogo: '', | ||
hasSalaryRange: false, | ||
minSalary: null, | ||
|
@@ -304,10 +333,23 @@ async function seedJobs() { | |
application: j.application, | ||
city: faker.location.city(), | ||
address: faker.location.streetAddress(), | ||
companyLogo: j.companyLogo, | ||
hasExperiencerange: j.hasExperiencerange, | ||
minExperience: j.minExperience, | ||
maxExperience: j.maxExperience, | ||
companyLogo: '/spotify.png', | ||
hasSalaryRange: j.hasSalaryRange, | ||
minSalary: j.minSalary, | ||
maxSalary: j.maxSalary, | ||
skills: [ | ||
'Java', | ||
'REST API', | ||
'React', | ||
'Node.js', | ||
'CSS', | ||
'HTML', | ||
'Python', | ||
'SQL', | ||
], | ||
isVerifiedJob: j.isVerifiedJob, | ||
}, | ||
update: {}, | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.