From 74877508ac3e67d947d78f42a937a8e65f29cffd Mon Sep 17 00:00:00 2001 From: gustavocodigo Date: Tue, 8 Aug 2023 18:02:45 -0300 Subject: [PATCH] fixed: responsivity --- src/components/Article.tsx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/components/Article.tsx b/src/components/Article.tsx index cc6b806..5391a48 100644 --- a/src/components/Article.tsx +++ b/src/components/Article.tsx @@ -8,15 +8,21 @@ interface ArticleProps { textFirst?: boolean } -export const Article = ({imageData, alt="", title, content, textFirst=false}: ArticleProps) => { +export const Article = ({ imageData, alt = "", title, content, textFirst = false }: ArticleProps) => { return ( -
- {alt} -
-

{title}

-

{content}

-
-
+
+
+ {alt} +
+

{title}

+

{content}

+
+
+
+ ) }