aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Copyright/Copyright.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-13 12:03:16 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-13 12:03:16 +0100
commit45335042c91c6bf5aa736658c461d54f96a6e0f2 (patch)
tree016c6237ff41314fe1690b2d97384ddfc14fbece /src/components/Copyright/Copyright.tsx
parent04c19d46f76d7359d14622b8d44fbfef6bc07732 (diff)
chore: add Copyright component
Diffstat (limited to 'src/components/Copyright/Copyright.tsx')
-rw-r--r--src/components/Copyright/Copyright.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/Copyright/Copyright.tsx b/src/components/Copyright/Copyright.tsx
new file mode 100644
index 0000000..0dc6247
--- /dev/null
+++ b/src/components/Copyright/Copyright.tsx
@@ -0,0 +1,17 @@
+import CopyrightIcon from '@assets/images/cc-by-sa.svg';
+import { config } from '@config/website';
+import styles from './Copyright.module.scss';
+
+const Copyright = () => {
+ return (
+ <p className={styles.wrapper}>
+ <span>{config.name}</span>
+ <CopyrightIcon className={styles.icon} />
+ <span>
+ {config.copyright.startYear} - {config.copyright.endYear}
+ </span>
+ </p>
+ );
+};
+
+export default Copyright;