Skip to content

Commit

Permalink
Merge pull request #76 from DSM-Repo/refactor
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
six-standard authored Sep 15, 2024
2 parents 2b67701 + 22910e9 commit 77f71b9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions configs/tailwindcss-config/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ export default {
body3: ["18px", { fontWeight: 400, lineHeight: "21px" }],
body4: ["16px", { fontWeight: 500, lineHeight: "19px" }],
body5: ["14px", { fontWeight: 400, lineHeight: "17px" }],
resumeTitle: ["30px", { fontWeight: 600, lineHeight: "26px" }],
resumeTitle: ["30px", { fontWeight: 600, lineHeight: "33px" }],
resumeSubTitle: ["28px", { fontWeight: 100, lineHeight: "21px" }],
resumeInformation: ["16px", { fontWeight: 400, lineHeight: "19px" }],
resumeIntroduceHeading: ["18px", { fontWeight: 400, lineHeight: "21px" }],
resumeIntroduce: ["14px", { fontWeight: 300, lineHeight: "17px" }],
resumeSectionTitle: ["14px", { fontWeight: 500, lineHeight: "21px" }],
resumeSectionTitle: ["14px", { fontWeight: 500, lineHeight: "17px" }],
resumeItemTitle: ["16px", { fontWeight: 500, lineHeight: "19px" }],
resumeItemContent: ["14px", { fontWeight: 400, lineHeight: "17px" }]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Date = ({
action={() => setOpen((prev) => !prev)}
>
<span
className={`block w-full h-full text-body5 ${!value ? "text-gray-300" : "cursor-pointer"} ${disabled ? "cursor-[not-allowed_!important]" : ""}`}
className={`block w-full h-fit text-body5 leading-none ${!value ? "text-gray-300" : "cursor-pointer"} ${disabled ? "cursor-[not-allowed_!important]" : ""}`}
>
{value ? value : placeholder}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Dropdown = ({
action={() => setOpen((prev) => !prev)}
>
<span
className={`block w-full h-full text-body5 ${!selected ? "text-gray-400" : ""} ${disabled ? "text-gray-300 cursor-not-allowed" : "cursor-pointer"}`}
className={`block w-full h-fit text-body5 leading-none ${!selected ? "text-gray-400" : ""} ${disabled ? "text-gray-300 cursor-not-allowed" : "cursor-pointer"}`}
>
{selected ? selected : placeholder}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const File = ({
action={() => {}}
>
<span
className={`w-full truncate block text-body5 ${!value ? "text-gray-300 cursor-not-allowed" : "cursor-pointer"}`}
className={`w-full h-fit truncate block text-body5 leading-none ${!value ? "text-gray-300 cursor-not-allowed" : "cursor-pointer"}`}
>
{value ? value.original_name : placeholder}
</span>
Expand Down
8 changes: 4 additions & 4 deletions packages/ui/src/components/PDFs/Resume/Render/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ export const Projects = ({ data, setMax, keep, showPadding, scale }: IProp) => {
/>
</Ternary>
<div className="col-flex">
<div className="flex gap-[8px] items-end">
<span className="text-black text-title3">
<div className="flex gap-[8px] items-center">
<span className="text-black text-resumeTitle">
{data?.name || "무명"}
</span>
<span className="text-gray-600 text-body5">
<span className="text-gray-600 text-resumeSubTitle">
{typeAgainChange[data?.type]} 프로젝트
</span>
</div>
<Ternary data={data?.date?.start_date || data?.date?.end_date}>
<span className="text-gray-400 text-body7">
<span className="text-gray-400 text-resumeInformation">
{data?.date?.start_date} ~ {data?.date?.end_date || "진행중"}
</span>
</Ternary>
Expand Down

0 comments on commit 77f71b9

Please sign in to comment.