From f914ff8376dd91c4f6f8ca149e1cb6becb622d88 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 2 Oct 2023 18:45:30 +0200 Subject: refactor(components): rewrite Link component * rename `external` prop to `isExternal` * rename `download` prop to `isDownload` * rewrite CSS to reduce code length and complexity * move link styles in Sass placeholders to avoid repeats because of WordPress articles * move NavLink component to molecules --- src/pages/cv.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pages/cv.tsx') diff --git a/src/pages/cv.tsx b/src/pages/cv.tsx index 5882ff6..b23c7a2 100644 --- a/src/pages/cv.tsx +++ b/src/pages/cv.tsx @@ -38,7 +38,7 @@ const ExternalLink = ({ href = '', ...props }: AnchorHTMLAttributes) => ( - + {children} ); @@ -172,7 +172,7 @@ const CVPage: NextPageWithLayout = () => { }, { link: (chunks: ReactNode) => ( - + {chunks} ), -- cgit v1.2.3