import { useState } from 'react'; import { XMarkIcon } from '@heroicons/react/20/solid'; import { Transition } from '@headlessui/react'; export default function Layout({ children }: { children: React.ReactNode }) { const [isShowing, setShow] = useState(true); return ( <> This is a replica to the awesome{' '} data.fivethirtyeight.com {' '} website.{' '} Read more here {' '} setShow(false)} className="-m-3 p-3 focus-visible:outline-offset-[-4px]" > Dismiss FiveThirtyEight {' '} replica Built with 🌀PortalJS Github PortalJS View on Github {children} > ); }
This is a replica to the awesome{' '} data.fivethirtyeight.com {' '} website.{' '} Read more here {' '}