From e382d9ff89edd44a857e6cad9730a3b2d031c3d0 Mon Sep 17 00:00:00 2001 From: Adam Plesnik Date: Fri, 29 Nov 2024 21:38:28 +0100 Subject: [PATCH] Update text sizes --- src/components/Heading.tsx | 4 ++-- src/components/Paragraph.tsx | 4 ++-- src/components/WorkPreviewTile.tsx | 6 ++++-- src/pages/About.tsx | 7 +------ 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/components/Heading.tsx b/src/components/Heading.tsx index cd2e211..2ed33c0 100644 --- a/src/components/Heading.tsx +++ b/src/components/Heading.tsx @@ -3,10 +3,10 @@ import { HTMLAttributes } from 'react' const Heading = ({ size = 1, className, children }: TitleProps) => { if (size === 1) { - return

{children}

+ return

{children}

} else if (size === 2) { return ( -

+

{children}

) diff --git a/src/components/Paragraph.tsx b/src/components/Paragraph.tsx index 75fb0b6..20e983f 100644 --- a/src/components/Paragraph.tsx +++ b/src/components/Paragraph.tsx @@ -9,8 +9,8 @@ const Paragraph = ({ return (

diff --git a/src/components/WorkPreviewTile.tsx b/src/components/WorkPreviewTile.tsx index 1932278..690048e 100644 --- a/src/components/WorkPreviewTile.tsx +++ b/src/components/WorkPreviewTile.tsx @@ -1,12 +1,14 @@ import { clsx } from 'clsx' import { HTMLAttributes } from 'react' -import Paragraph from './Paragraph' +import Heading from './Heading' const WorkPreviewTile = ({ children, title, className, link }: WorkPreviewTileProps) => { return (

{children}
- {title} → + + {title} → + ) } diff --git a/src/pages/About.tsx b/src/pages/About.tsx index bdfb080..6158094 100644 --- a/src/pages/About.tsx +++ b/src/pages/About.tsx @@ -1,4 +1,3 @@ -import Link from '@/components/Link' import Paragraph from '@/components/Paragraph' import CvTimeline from '@/content/CvTimeline' @@ -15,11 +14,7 @@ const About = () => { work. Family time is a non-negotiable, and I put high priority in my time off, enjoying mountain bike, hiking and travel—whether with family or solo when needed. - - adam@adamplesnik.com — Bratislava, - Slovakia - -
+