diff --git a/components/ui/Subscribe.tsx b/components/ui/Subscribe.tsx deleted file mode 100644 index de47f88..0000000 --- a/components/ui/Subscribe.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import {useRef, SyntheticEvent, MutableRefObject, useState} from 'react' -import {Cta} from '@/components/ui/Cta' -import {Button} from '@/components/ui/Button' -import {InboxIcon} from '@/components/icons/InboxIcon' - -export function Subscribe() { - const inputRef = useRef() as MutableRefObject - const [message, setMessage] = useState('') - - const subscribe = async (e: SyntheticEvent) => { - e.preventDefault() - - inputRef.current.value = '' - } - - return ( - -

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

- {/*

Success! 🎉 You are now subscribed to the newsletter.

*/} -
- - -
-
- ) -} \ No newline at end of file