diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-14 19:06:01 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-14 19:11:42 +0100 |
| commit | 905b819d9a7b5a336989c6e7621e18b1d9daa531 (patch) | |
| tree | 87200f6e792d5339b37edc6ca90dfce705b33d6f /src/pages/index.tsx | |
| parent | 69ad6d611a64d6232fdb9871acea483670aef3cd (diff) | |
chore(homepage): add icons to some buttons
Diffstat (limited to 'src/pages/index.tsx')
| -rw-r--r-- | src/pages/index.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 886552c..99d506d 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -9,6 +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'; const Home: NextPageWithLayout = () => { const CodingLinks = () => { @@ -66,10 +68,16 @@ const Home: NextPageWithLayout = () => { return ( <ul className={styles['links-list']}> <li> - <ButtonLink target="/contact">{t`Contact me`}</ButtonLink> + <ButtonLink target="/contact"> + <ContactIcon className={styles.icon} /> + {t`Contact me`} + </ButtonLink> </li> <li> - <ButtonLink target="/feed">{t`Subscribe`}</ButtonLink> + <ButtonLink target="/feed"> + <FeedIcon className={styles.icon} /> + {t`Subscribe`} + </ButtonLink> </li> </ul> ); |
