diff --git a/web/app/components/apps/footer.tsx b/web/app/components/apps/footer.tsx index 7bee272342..18b7779651 100644 --- a/web/app/components/apps/footer.tsx +++ b/web/app/components/apps/footer.tsx @@ -1,6 +1,6 @@ -import React from 'react' +import React, { useState } from 'react' import Link from 'next/link' -import { RiDiscordFill, RiGithubFill } from '@remixicon/react' +import { RiCloseLine, RiDiscordFill, RiGithubFill } from '@remixicon/react' import { useTranslation } from 'react-i18next' type CustomLinkProps = { @@ -26,9 +26,24 @@ const CustomLink = React.memo(({ const Footer = () => { const { t } = useTranslation() + const [isVisible, setIsVisible] = useState(true) + + const handleClose = () => { + setIsVisible(false) + } + + if (!isVisible) + return null return ( -