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.

*/}
) }