Skip to content

Commit

Permalink
skill-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
AryanGKulkarni committed Sep 30, 2024
1 parent ab88d20 commit 9c54f32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions src/app/(routes)/admin/jobs/[jobId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,16 +297,15 @@ const JobDetailPage = ({ params }: { params: { jobId: string } }) => {
<div>
<div className="font-semibold text-lg my-4">Skills</div>
<div className="flex flex-wrap gap-4">
{editMode ? (
<input
type="text"
name="skills"
value={formData.skills}
onChange={handleChange}
/>
) : (
job.skills
)}
<div className="flex flex-wrap !text-md">
{job.skills.map((skill, index) => (
<div key={index} className="mx-2 my-2">
<div className="border-2 border-gray-300 p-2 px-4 rounded-full bg-gray-200 text-gray-600">
{skill}
</div>
</div>
))}
</div>
</div>
<div className="flex md:flex-row flex-col flex-wrap bg-gray-200 rounded-lg justify-between py-4 px-6 my-3">
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/recruiter/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export interface JobDetailFC {
};
description: string;
attachment: string;
skills: string;
skills: string[];
offerLetterReleaseDate: string;
joiningDate: string;
location: string;
Expand Down

0 comments on commit 9c54f32

Please sign in to comment.