From 8e0c8c9255ba5ab466d8372fe223efeb5a3f0833 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 29 Dec 2021 17:52:21 +0100 Subject: chore: replace read more link with ButtonLink component I also fix the load more button position since I removed the margin auto. --- src/components/Icons/Arrow/Arrow.module.scss | 7 +++++++ src/components/Icons/Arrow/Arrow.tsx | 18 ++++++++++++++++++ src/components/Icons/index.tsx | 2 ++ 3 files changed, 27 insertions(+) create mode 100644 src/components/Icons/Arrow/Arrow.module.scss create mode 100644 src/components/Icons/Arrow/Arrow.tsx (limited to 'src/components/Icons') diff --git a/src/components/Icons/Arrow/Arrow.module.scss b/src/components/Icons/Arrow/Arrow.module.scss new file mode 100644 index 0000000..49e9b02 --- /dev/null +++ b/src/components/Icons/Arrow/Arrow.module.scss @@ -0,0 +1,7 @@ +@use "@styles/abstracts/functions" as fun; + +.icon { + fill: var(--color-primary); + width: var(--icon-size, #{fun.convert-px(30)}); + transition: all 0.25s ease-in-out 0s; +} diff --git a/src/components/Icons/Arrow/Arrow.tsx b/src/components/Icons/Arrow/Arrow.tsx new file mode 100644 index 0000000..61edfca --- /dev/null +++ b/src/components/Icons/Arrow/Arrow.tsx @@ -0,0 +1,18 @@ +import styles from './Arrow.module.scss'; + +const ArrowIcon = () => { + return ( + + + + ); +}; + +export default ArrowIcon; diff --git a/src/components/Icons/index.tsx b/src/components/Icons/index.tsx index 9144619..1594775 100644 --- a/src/components/Icons/index.tsx +++ b/src/components/Icons/index.tsx @@ -1,3 +1,4 @@ +import ArrowIcon from './Arrow/Arrow'; import BlogIcon from './Blog/Blog'; import CloseIcon from './Close/Close'; import ContactIcon from './Contact/Contact'; @@ -10,6 +11,7 @@ import SunIcon from './Sun/Sun'; import ThemeIcon from './Theme/Theme'; export { + ArrowIcon, BlogIcon, CloseIcon, ContactIcon, -- cgit v1.2.3