-
Notifications
You must be signed in to change notification settings - Fork 455
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
Feat job seeker UI #555
Merged
VineeTagarwaL-code
merged 15 commits into
code100x:main
from
devsharmagit:feat-job-seeker-ui
Nov 1, 2024
Merged
Feat job seeker UI #555
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
07c422c
added the forms ui
devsharmagit a30e513
refactor
devsharmagit 98b3e2d
updated schema
devsharmagit d91e674
attached forms
devsharmagit 44e3c79
laoding skeleton responsivness
devsharmagit 1a8a939
added delete account
devsharmagit be8aee6
added 404 page
devsharmagit fa92ea5
updated navbar
devsharmagit 8db2993
all checked passed
devsharmagit b564fe1
added socials
devsharmagit f3258ec
social url optional
devsharmagit e44cf69
added share button + edge cases
devsharmagit c52ceb4
fix error build
devsharmagit 0bebe98
Merge branch 'main' into feat-job-seeker-ui
devsharmagit 5b9f388
fix conflicts and build
devsharmagit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
66 changes: 66 additions & 0 deletions
66
prisma/migrations/20241024174828_profileupdate/migration.sql
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,66 @@ | ||
/* | ||
Warnings: | ||
|
||
- A unique constraint covering the columns `[username]` on the table `User` will be added. If there are existing duplicate values, this will fail. | ||
- Added the required column `aboutMe` to the `User` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `contactEmail` to the `User` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `username` to the `User` table without a default value. This is not possible if the table is not empty. | ||
|
||
*/ | ||
-- CreateEnum | ||
CREATE TYPE "ProjectStack" AS ENUM ('GO', 'PYTHON', 'MERN', 'NEXTJS', 'AI_GPT_APIS', 'SPRINGBOOT', 'OTHERS'); | ||
|
||
-- CreateEnum | ||
CREATE TYPE "DegreeType" AS ENUM ('BTech', 'MTech', 'BCA', 'MCA'); | ||
|
||
-- CreateEnum | ||
CREATE TYPE "FieldOfStudyType" AS ENUM ('AI', 'Machine_Learning', 'CS', 'Mechanical'); | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "Experience" DROP CONSTRAINT "Experience_userId_fkey"; | ||
|
||
-- DropForeignKey | ||
ALTER TABLE "Project" DROP CONSTRAINT "Project_userId_fkey"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "Job" ADD COLUMN "deletedAt" TIMESTAMP(3); | ||
|
||
-- AlterTable | ||
ALTER TABLE "Project" ADD COLUMN "isFeature" BOOLEAN NOT NULL DEFAULT false, | ||
ADD COLUMN "projectThumbnail" TEXT, | ||
ADD COLUMN "stack" "ProjectStack" NOT NULL DEFAULT 'OTHERS'; | ||
|
||
-- AlterTable | ||
ALTER TABLE "User" ADD COLUMN "aboutMe" TEXT NOT NULL, | ||
ADD COLUMN "contactEmail" TEXT NOT NULL, | ||
ADD COLUMN "discordLink" TEXT, | ||
ADD COLUMN "githubLink" TEXT, | ||
ADD COLUMN "linkedinLink" TEXT, | ||
ADD COLUMN "portfolioLink" TEXT, | ||
ADD COLUMN "twitterLink" TEXT, | ||
ADD COLUMN "username" TEXT NOT NULL; | ||
|
||
-- CreateTable | ||
CREATE TABLE "Education" ( | ||
"id" SERIAL NOT NULL, | ||
"instituteName" TEXT NOT NULL, | ||
"degree" "DegreeType" NOT NULL, | ||
"fieldOfStudy" "FieldOfStudyType" NOT NULL, | ||
"startDate" TIMESTAMP(3) NOT NULL, | ||
"endDate" TIMESTAMP(3), | ||
"userId" TEXT NOT NULL, | ||
|
||
CONSTRAINT "Education_pkey" PRIMARY KEY ("id") | ||
); | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "User_username_key" ON "User"("username"); | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "Experience" ADD CONSTRAINT "Experience_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE; | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "Education" ADD CONSTRAINT "Education_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE; | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "Project" ADD CONSTRAINT "Project_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE; |
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,3 @@ | ||
-- AlterTable | ||
ALTER TABLE "User" ALTER COLUMN "aboutMe" DROP NOT NULL, | ||
ALTER COLUMN "contactEmail" DROP NOT NULL; |
2 changes: 2 additions & 0 deletions
2
prisma/migrations/20241025120951_resume_update_date/migration.sql
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,2 @@ | ||
-- AlterTable | ||
ALTER TABLE "User" ADD COLUMN "resumeUpdateDate" TIMESTAMP(3); |
11 changes: 11 additions & 0 deletions
11
prisma/migrations/20241031043344_username_remove/migration.sql
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,11 @@ | ||
/* | ||
Warnings: | ||
|
||
- You are about to drop the column `username` on the `User` table. All the data in the column will be lost. | ||
|
||
*/ | ||
-- DropIndex | ||
DROP INDEX "User_username_key"; | ||
|
||
-- AlterTable | ||
ALTER TABLE "User" DROP COLUMN "username"; |
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,26 @@ | ||
/* | ||
Warnings: | ||
|
||
- A unique constraint covering the columns `[companyId]` on the table `User` will be added. If there are existing duplicate values, this will fail. | ||
|
||
*/ | ||
-- AlterTable | ||
ALTER TABLE "User" ADD COLUMN "companyId" TEXT, | ||
ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP; | ||
|
||
-- CreateTable | ||
CREATE TABLE "Company" ( | ||
"id" TEXT NOT NULL, | ||
"companyName" TEXT NOT NULL, | ||
"companyLogo" TEXT, | ||
"companyEmail" TEXT NOT NULL, | ||
"companyBio" TEXT NOT NULL, | ||
|
||
CONSTRAINT "Company_pkey" PRIMARY KEY ("id") | ||
); | ||
|
||
-- CreateIndex | ||
CREATE UNIQUE INDEX "User_companyId_key" ON "User"("companyId"); | ||
|
||
-- AddForeignKey | ||
ALTER TABLE "User" ADD CONSTRAINT "User_companyId_fkey" FOREIGN KEY ("companyId") REFERENCES "Company"("id") ON DELETE SET NULL ON UPDATE CASCADE; |
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 |
---|---|---|
|
@@ -17,8 +17,6 @@ const users = [ | |
{ id: '3', companyId: '1', name: 'Hr', email: '[email protected]', role: Role.HR, onBoard: true }, | ||
{ id: '4', companyId: '2', name: 'John', email: '[email protected]', role: Role.HR, onBoard: true }, | ||
{ id: '5', companyId: '3', name: 'Jane', email: '[email protected]', role: Role.HR, onBoard: true }, | ||
|
||
|
||
]; | ||
|
||
|
||
|
@@ -75,7 +73,6 @@ let jobs = [ | |
minSalary: null, | ||
maxSalary: null, | ||
isVerifiedJob: false, | ||
|
||
}, | ||
{ | ||
id: '3', | ||
|
@@ -99,7 +96,7 @@ let jobs = [ | |
minSalary: 90000, | ||
maxSalary: 120000, | ||
isVerifiedJob: true, | ||
deleted: true | ||
deleted: true, | ||
}, | ||
{ | ||
id: '4', | ||
|
@@ -148,7 +145,7 @@ let jobs = [ | |
minSalary: 110000, | ||
maxSalary: 150000, | ||
isVerifiedJob: true, | ||
deleted: true | ||
deleted: true, | ||
}, | ||
{ | ||
id: '6', | ||
|
@@ -174,7 +171,6 @@ let jobs = [ | |
minSalary: 80000, | ||
maxSalary: 100000, | ||
isVerifiedJob: false, | ||
|
||
}, | ||
{ | ||
id: '7', | ||
|
@@ -199,8 +195,7 @@ let jobs = [ | |
minSalary: 70000, | ||
maxSalary: 90000, | ||
isVerifiedJob: false, | ||
delted: true | ||
|
||
delted: true, | ||
}, | ||
{ | ||
id: '8', | ||
|
@@ -225,8 +220,7 @@ let jobs = [ | |
minSalary: null, | ||
maxSalary: null, | ||
isVerifiedJob: true, | ||
deleted: true | ||
|
||
deleted: true, | ||
}, | ||
{ | ||
id: '9', | ||
|
@@ -249,7 +243,6 @@ let jobs = [ | |
minSalary: 100000, | ||
maxSalary: 130000, | ||
isVerifiedJob: true, | ||
|
||
}, | ||
{ | ||
id: '10', | ||
|
@@ -274,7 +267,6 @@ let jobs = [ | |
minSalary: 75000, | ||
maxSalary: 95000, | ||
isVerifiedJob: false, | ||
|
||
}, | ||
{ | ||
id: '11', | ||
|
@@ -296,7 +288,6 @@ let jobs = [ | |
minSalary: 25000, | ||
maxSalary: 50000, | ||
isVerifiedJob: true, | ||
|
||
}, | ||
{ | ||
id: '12', | ||
|
@@ -321,7 +312,7 @@ let jobs = [ | |
minSalary: null, | ||
maxSalary: null, | ||
isVerifiedJob: true, | ||
delted: false | ||
delted: false, | ||
}, | ||
]; | ||
|
||
|
@@ -441,4 +432,4 @@ async function main() { | |
await seedJobs(); | ||
} | ||
|
||
main(); | ||
main(); |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is "isFeature"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there was a "Feature this project" in the figma, so i added this field in the schema. If the isFeature is set to true then the project will show up other it will hide under show more button