import React, { useEffect, useState } from "react"; import { Button } from "@/components/ui/button"; import { ArrowRight } from "lucide-react"; import PopupModal from "@/components/Home/PopupModal"; const Footer = () => { const [showPopup, setShowPopup] = useState(true); useEffect(() => { const hasSeenPopup = localStorage.getItem("hasSeenPopup"); if (hasSeenPopup) { setShowPopup(false); } }, []); const handleClosePopup = () => { localStorage.setItem("hasSeenPopup", "true"); setShowPopup(false); }; return ( <> {showPopup && } ); }; export default Footer;