-
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.
✨feat: Home 페이지 더미 데이터 추가 및 메뉴 선택 시 스크롤 기능 구현하기 #9
- Loading branch information
Showing
8 changed files
with
146 additions
and
54 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,32 @@ | ||
import TopRightArrowIcons from '@/assets/icons/Home/TopRightArrowIcon.svg?react'; | ||
import { OngoingInterviewItemType } from '@/types/home/ongoingInterviewItem'; | ||
|
||
type HomeApplicationCardProps = { | ||
applicationData: OngoingInterviewItemType; | ||
}; | ||
|
||
const HomeApplicationCard = ({ applicationData }: HomeApplicationCardProps) => { | ||
return ( | ||
<article className="flex flex-col gap-[0.5rem] px-[1.25rem] pt-[0.75rem] pb-[1.25rem] min-w-[17.5rem] bg-white rounded-[1rem] shadow-cardShadow"> | ||
<div className="w-fit px-[0.438rem] py-[0.125rem] caption-2 bg-[#1E1926] rounded-[0.188rem] text-[#F4F4F9]"> | ||
Under the Review | ||
</div> | ||
<div className="w-full flex gap-[1rem] items-center"> | ||
<div className='w-[2rem] h-[2rem] rounded-[0.5rem] bg-cover bg-[url("/src/assets/images/JobIconExample.jpeg")]'></div> | ||
<div className="flex-1"> | ||
<h5 className="pb-[0.125rem] button-2 text-[#171719]"> | ||
{applicationData.title} | ||
</h5> | ||
<p className="caption-1 text-[#BDBDBD]"> | ||
{applicationData.address_name} | ||
</p> | ||
</div> | ||
<button className="px-[0.75rem] py-[0.25rem] bg-[#1B1B1B] rounded-[1.313rem]"> | ||
<TopRightArrowIcons /> | ||
</button> | ||
</div> | ||
</article> | ||
); | ||
}; | ||
|
||
export default HomeApplicationCard; |
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
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
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,6 @@ | ||
export type OngoingInterviewItemType = { | ||
id: number; | ||
icon_img_url: string; | ||
title: string; | ||
address_name: string; | ||
}; |
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,6 @@ | ||
export type RecommendJobPostingItemType = { | ||
id: number; | ||
title: string; // 공고 제목 | ||
recruitment_dead_line: string; // 마감일자 | ||
job_category: string; // “업직종종류", | ||
}; |