From 3ddf8c00400c262a0e1d024af70dca3df5a92919 Mon Sep 17 00:00:00 2001 From: Do-hyun Ko Date: Sun, 15 Sep 2024 04:28:05 +0900 Subject: [PATCH] :sparkles: Finetune printable page --- src/components/StylessA.tsx | 2 +- src/pages/home/printable/PrintablePage.tsx | 4 ++-- src/pages/home/printable/sections/ExperienceSection.tsx | 8 +++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/StylessA.tsx b/src/components/StylessA.tsx index 19b8af0..dcd2455 100644 --- a/src/components/StylessA.tsx +++ b/src/components/StylessA.tsx @@ -20,7 +20,7 @@ const StylessA = ({ href, children, hasIcon = true }: StylessAProps) => { > {children} - {href && hasIcon && } + {href && hasIcon && } ); }; diff --git a/src/pages/home/printable/PrintablePage.tsx b/src/pages/home/printable/PrintablePage.tsx index 90a76ad..8e248d5 100644 --- a/src/pages/home/printable/PrintablePage.tsx +++ b/src/pages/home/printable/PrintablePage.tsx @@ -16,7 +16,7 @@ const PrintablePage = () => { - + @@ -28,7 +28,7 @@ const PrintablePage = () => { - + diff --git a/src/pages/home/printable/sections/ExperienceSection.tsx b/src/pages/home/printable/sections/ExperienceSection.tsx index fc8096c..ceb6b50 100644 --- a/src/pages/home/printable/sections/ExperienceSection.tsx +++ b/src/pages/home/printable/sections/ExperienceSection.tsx @@ -10,9 +10,11 @@ const ExperienceSection = ({}: ExperienceSectionProps) => { const { t } = useTranslation(); const organizations = [ - ...(t("experience.experiences", { - returnObjects: true, - }) as Organization[]), + ...( + t("experience.experiences", { + returnObjects: true, + }) as Organization[] + ).toReversed(), ...(t("current.organizations", { returnObjects: true, }) as Organization[]),