-
Notifications
You must be signed in to change notification settings - Fork 0
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
30 changed files
with
468 additions
and
65 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
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
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 |
---|---|---|
@@ -1,3 +1,11 @@ | ||
import AppliedCompaniesList from "@/components/mypage/AppliedCompaniesList"; | ||
import DetailProfile from "@/components/mypage/DetailProfile"; | ||
|
||
export default function MyPage() { | ||
return <>mypage</>; | ||
return ( | ||
<div className="py-[56px] mx-[9vw]"> | ||
<DetailProfile /> | ||
<AppliedCompaniesList /> | ||
</div> | ||
); | ||
} |
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,26 @@ | ||
import Link from "next/link"; | ||
import { file_name_regex } from "@/util/regex"; | ||
import { Icon } from "@team-return/design-system"; | ||
|
||
interface PropsType { | ||
fileURL: string; | ||
onClick?: (props: any) => void; | ||
} | ||
|
||
export default function FileDownload({ fileURL, onClick }: PropsType) { | ||
return ( | ||
<Link | ||
href={`${process.env.NEXT_PUBLIC_IMAGE_URL}/${fileURL}`} | ||
passHref | ||
target="_blank" | ||
onClick={onClick} | ||
> | ||
<div className="flex items-center justify-center w-fit h-fit gap-2 px-3 py-1 rounded-[8px] bg-[#f7f7f7] hover:underline"> | ||
<p className="text-caption leading-caption font-r text-[#7F7F7F] max-w-[100px] overflow-hidden whitespace-nowrap text-ellipsis"> | ||
{file_name_regex(fileURL)} | ||
</p> | ||
<Icon icon="Download" size={12} color="gray60" /> | ||
</div> | ||
</Link> | ||
); | ||
} |
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,34 @@ | ||
"use client"; | ||
|
||
import { useDropDown } from "@/hook/useDropDown"; | ||
import { KebabItemType } from "@/util/type/kebabMenu"; | ||
import { Icon } from "@team-return/design-system"; | ||
|
||
interface PropsType { | ||
items: KebabItemType[]; | ||
} | ||
|
||
export default function KebabMenu({ items }: PropsType) { | ||
const { DropDownComponent, toggleDropdown, closeDropDown } = useDropDown(); | ||
return ( | ||
<div className="relative cursor-pointer" onClick={toggleDropdown}> | ||
<Icon icon="KebabMenu" size={24} color="gray80" /> | ||
<DropDownComponent> | ||
<div className="absolute top-[30px] right-0 z-[3] w-[150px] bg-white rounded-b-[16px] rounded-tl-[16px] rounded-tr-[4px] py-3 shadow-elevaiton flex flex-col items-center"> | ||
{items.map(({ label, onClick }, idx) => ( | ||
<div | ||
key={idx} | ||
className="flex items-center justify-center w-full py-3 text-b3 leading-b3 font-m text-[#7f7f7f] cursor-pointer hover:text-[#333333]" | ||
onClick={() => { | ||
closeDropDown(); | ||
onClick(); | ||
}} | ||
> | ||
{label} | ||
</div> | ||
))} | ||
</div> | ||
</DropDownComponent> | ||
</div> | ||
); | ||
} |
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,19 @@ | ||
import { ApplicationsStatusType } from "@/apis/applications/type"; | ||
import { applicationEnum, applicationStatusStyle } from "@/util/object/enum"; | ||
|
||
interface PropsType { | ||
status: ApplicationsStatusType; | ||
} | ||
|
||
export default function ApplicationStatus({ status }: PropsType) { | ||
return ( | ||
<div | ||
className="py-[6px] px-3 rounded-[4px]" | ||
style={applicationStatusStyle[status]} | ||
> | ||
<p className="text-caption leading-caption font-r"> | ||
{applicationEnum[status]} | ||
</p> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.