aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Copyright/Copyright.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-17 16:41:53 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-17 16:41:53 +0100
commit86d3e30ef02585d5089dce3aa2757ca2cb4e4edf (patch)
tree8102a6f3fe093322062bdb6b11d97f8fa5f388df /src/components/Copyright/Copyright.tsx
parent90ffd597a35891f71665ee442b90e99d6e579118 (diff)
chore: replace copyright icon import with custom component
It allows me to set the colors with CSS and it will be easier to implement dark mode.
Diffstat (limited to 'src/components/Copyright/Copyright.tsx')
-rw-r--r--src/components/Copyright/Copyright.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Copyright/Copyright.tsx b/src/components/Copyright/Copyright.tsx
index 0dc6247..9a57f9c 100644
--- a/src/components/Copyright/Copyright.tsx
+++ b/src/components/Copyright/Copyright.tsx
@@ -1,4 +1,4 @@
-import CopyrightIcon from '@assets/images/cc-by-sa.svg';
+import { CopyrightIcon } from '@components/Icons';
import { config } from '@config/website';
import styles from './Copyright.module.scss';
@@ -6,7 +6,7 @@ const Copyright = () => {
return (
<p className={styles.wrapper}>
<span>{config.name}</span>
- <CopyrightIcon className={styles.icon} />
+ <CopyrightIcon />
<span>
{config.copyright.startYear} - {config.copyright.endYear}
</span>