aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/index.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-17 17:13:51 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-17 18:03:52 +0100
commit68138f0dcd8b3db2c23b31a20508726f245b5ba5 (patch)
tree0d6a31cfd0adcba4d4cb08666bc262bed6cb89ea /src/pages/index.tsx
parent86d3e30ef02585d5089dce3aa2757ca2cb4e4edf (diff)
feat: implement dark mode
Diffstat (limited to 'src/pages/index.tsx')
-rw-r--r--src/pages/index.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 99d506d..3664ae1 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -9,8 +9,8 @@ import HomePageContent from '@content/pages/homepage.mdx';
import { ButtonLink } from '@components/Buttons';
import styles from '@styles/pages/Home.module.scss';
import { t } from '@lingui/macro';
-import ContactIcon from '@assets/images/icon-contact.svg';
import FeedIcon from '@assets/images/icon-feed.svg';
+import { ContactIcon } from '@components/Icons';
const Home: NextPageWithLayout = () => {
const CodingLinks = () => {
@@ -69,13 +69,13 @@ const Home: NextPageWithLayout = () => {
<ul className={styles['links-list']}>
<li>
<ButtonLink target="/contact">
- <ContactIcon className={styles.icon} />
+ <ContactIcon />
{t`Contact me`}
</ButtonLink>
</li>
<li>
<ButtonLink target="/feed">
- <FeedIcon className={styles.icon} />
+ <FeedIcon className={styles['icon--feed']} />
{t`Subscribe`}
</ButtonLink>
</li>