import React from 'react' ; import Link from 'next/link' ; export function Footer ( { noBadge } ) { return ( < footer className = "container relative justify-center my-8 flex flex-col items-center space-y-4" > < div className = "flex space-x-4" > < a className = "underline" href = "https://github.com/timolins/react-hot-toast" > GitHub < /a> < Link href = "/docs" > < a className = "underline" > Docs < /a> < /Link> < a className = "underline" href = "https://twitter.com/timolins" > Twitter < /a> < /div> < div className = "text-toast-600" > < span > © { new Date ( ) . getFullYear ( ) } react - hot - toast < /span> { ' · ' } < span > < span > Built by < /span> < a className = "underline" href = "https://timo.sh" > Timo Lins < /a> < /span> < /div> { ! noBadge && ( < div > < a href = "https://splitbee.io/?ref=rht" data - splitbee - event = "Click Splitbee Analytics" data - splitbee - event - location = "Footer" > < img src = "https://splitbee-cdn.fra1.cdn.digitaloceanspaces.com/static/badge/splitbee-badge.svg" alt = "Analytics by Splitbee.io" / > < /a> < /div>)} < /footer>); }