From d738152a59d2ef8f476b16789ba386dc57ff2211 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Sat, 8 Jan 2022 19:34:18 +0100
Subject: refactor: improve button-like links styles

The goal was to replace the "read more articles about" links with
button-like links to keep a certain consistence between buttons.
The hasIcon variable was useless so I update some components and
especially the back to top link.
---
 src/components/PostPreview/PostPreview.tsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'src/components/PostPreview/PostPreview.tsx')

diff --git a/src/components/PostPreview/PostPreview.tsx b/src/components/PostPreview/PostPreview.tsx
index 9cb7752..d89ddb5 100644
--- a/src/components/PostPreview/PostPreview.tsx
+++ b/src/components/PostPreview/PostPreview.tsx
@@ -48,11 +48,7 @@ const PostPreview = ({
         dangerouslySetInnerHTML={{ __html: post.intro }}
       ></div>
       <footer className={styles.footer}>
-        <ButtonLink
-          target={`/article/${post.slug}`}
-          position="left"
-          hasIcon={true}
-        >
+        <ButtonLink target={`/article/${post.slug}`} position="left">
           {t`Read more`}
           <span className="screen-reader-text">
             {' '}
-- 
cgit v1.2.3

