From bab04a4057b04d151981f47aa1eda2669d4ad99e Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 11 May 2023 17:16:14 +0200 Subject: [PATCH] refactor: use semantic elements --- src/components/article.astro | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/article.astro b/src/components/article.astro index 05d31db..3cafbd3 100644 --- a/src/components/article.astro +++ b/src/components/article.astro @@ -9,9 +9,15 @@ export interface Props { --- { -article ? ( -

{article.title}

-

by {article.author}

- - ) : '' + article ? ( +
+

{article.title}

+

+ by {article.author} +

+ +
+ ) : ( + "" + ) }