-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
155 additions
and
24 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import MessageIcon from '@/assets/icons/Home/MessageIcon.svg?react'; | ||
import HomeRecommendPostCard from '@/components/Home/HomeRecommendPostCard'; | ||
|
||
const HomeRecommendPost = () => { | ||
const hasProfile = true; // 이력서 등록여부 | ||
return ( | ||
<section className="w-full flex gap-[0.5rem] px-[1.25rem] overflow-x-scroll no-scrollbar whitespace-nowrap bg-[#FEF387]"> | ||
{hasProfile ? ( | ||
// 이력서 등록 -> 추천 공고 보여주기 | ||
<> | ||
<HomeRecommendPostCard /> | ||
<HomeRecommendPostCard /> | ||
<HomeRecommendPostCard /> | ||
</> | ||
) : ( | ||
// 이력서 미등록 -> 추가 메뉴 보여주기 | ||
<> | ||
<article className="flex flex-col justify-between min-w-[11.25rem] w-[11.25rem] h-[8.75rem] pt-[0.75rem] pb-[1.125rem] px-[1.125rem] rounded-[1.5rem] border-[0.031rem] border-[#F4F4F9] shadow-cardShadow bg-[#F4F4F9]"> | ||
<MessageIcon /> | ||
<div> | ||
<p className="pb-[0.5rem] caption-1 text-[#656565]"> | ||
프로필 채우기 | ||
</p> | ||
<div className="button-2 text-[#1E1926] break-keep whitespace-normal"> | ||
프로필을 작성하면 추천 공고를 열람할 수 있어요 | ||
</div> | ||
</div> | ||
</article> | ||
<article className="flex flex-col justify-between min-w-[11.25rem] w-[11.25rem] h-[8.75rem] pt-[0.75rem] pb-[1.125rem] px-[1.125rem] rounded-[1.5rem] border-[0.031rem] border-[#F4F4F9] shadow-cardShadow bg-[#F4F4F9]"> | ||
<MessageIcon /> | ||
<div> | ||
<p className="pb-[0.5rem] caption-1 text-[#656565]"> | ||
공고 찾아보기 | ||
</p> | ||
<div className="button-2 text-[#1E1926] break-keep whitespace-normal"> | ||
맘에 쏙 드는 공고들을 저장해보세요 | ||
</div> | ||
</div> | ||
</article> | ||
</> | ||
)} | ||
</section> | ||
); | ||
}; | ||
|
||
export default HomeRecommendPost; |
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,22 @@ | ||
import HomeApplicationList from '@/components/Home/HomeApplicationList'; | ||
import HomeGuestBanner from '@/components/Home/HomeGuestBanner'; | ||
import HomeHeader from '@/components/Home/HomeHeader'; | ||
import HomeJobPostingList from '@/components/Home/HomeJobPostingList'; | ||
import HomeRecommendPost from '@/components/Home/HomeRecommendPost'; | ||
|
||
const HomePage = () => { | ||
return <>홈 페이지임</>; | ||
return ( | ||
<> | ||
<HomeHeader /> | ||
{/* 로그인을 안한 경우에 보여주는 배너 */} | ||
<HomeGuestBanner /> | ||
{/* 로그인을 하고 이력서를 등록하면 보여주는 추천 공고 리스트 */} | ||
<HomeRecommendPost /> | ||
{/* 현재 진행중인 서류가 있는 경우 */} | ||
<HomeApplicationList /> | ||
<HomeJobPostingList /> | ||
</> | ||
); | ||
}; | ||
|
||
export default HomePage; |