From 2a1a260cdc918480bf04298f7fed61a3c383e7fc Mon Sep 17 00:00:00 2001 From: r-freeman Date: Sun, 5 Feb 2023 22:57:54 +0000 Subject: [PATCH] Replaced mail icon and enabled mail link on about page --- components/Subscribe.tsx | 3 ++- components/icons/InboxIcon.tsx | 12 ++++++++++++ components/icons/MailIcon.tsx | 10 +++++----- pages/about.tsx | 14 +++++++------- 4 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 components/icons/InboxIcon.tsx diff --git a/components/Subscribe.tsx b/components/Subscribe.tsx index bd452fc..906cd6d 100644 --- a/components/Subscribe.tsx +++ b/components/Subscribe.tsx @@ -2,6 +2,7 @@ import {useRef, SyntheticEvent, MutableRefObject, useState} from 'react' import {Cta} from '@/components/Cta' import {MailIcon} from '@/components/icons/MailIcon' import {Button} from '@/components/Button' +import {InboxIcon} from "@/components/icons/InboxIcon"; export function Subscribe() { const inputRef = useRef() as MutableRefObject @@ -14,7 +15,7 @@ export function Subscribe() { } return ( - +

Get notified when I publish something new, and unsubscribe at any time.

diff --git a/components/icons/InboxIcon.tsx b/components/icons/InboxIcon.tsx new file mode 100644 index 0000000..6848c30 --- /dev/null +++ b/components/icons/InboxIcon.tsx @@ -0,0 +1,12 @@ +import {Props} from '@/types' + +export function InboxIcon(props: Props) { + return ( + + ) +} \ No newline at end of file diff --git a/components/icons/MailIcon.tsx b/components/icons/MailIcon.tsx index d344087..85db943 100644 --- a/components/icons/MailIcon.tsx +++ b/components/icons/MailIcon.tsx @@ -2,11 +2,11 @@ import {Props} from '@/types' export function MailIcon(props: Props) { return ( -