Skip to content

Commit

Permalink
feat :: "지원한 기업이 없어요"
Browse files Browse the repository at this point in the history
  • Loading branch information
KANGYONGSU23 committed Nov 25, 2023
1 parent 5a8bc51 commit 8588c96
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions public/Docs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/components/mypage/AppliedCompaniesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,23 @@

import { GetApplications } from "@/apis/applications";
import APpliedCompanyItem from "./AppliedICompanyItem";
import Docs from "@public/Docs.svg";
import Image from "next/image";

export default function AppliedCompaniesList() {
const { data: applications } = GetApplications();

return (
<div className="mt-10">
<p className="text-b1 leading-b1 font-m">내가 지원한 기업</p>
{!applications && (
<div className="flex flex-col items-center justify-center w-full h-[50vh]">
<Image width={140} height={90} src={Docs} alt="DOCS" />
<p className="text-caption leading-caption font-r text-[#7f7f7f] mt-2">
아직 지원한 기업이 없어요
</p>
</div>
)}
<div className="flex flex-col gap-3 mt-4">
{applications?.applications.map((item) => (
<APpliedCompanyItem {...item} />
Expand Down

0 comments on commit 8588c96

Please sign in to comment.