import React, { useState, useEffect } from "react"; import Cookies from "js-cookie"; import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Check } from "lucide-react"; export const WelcomeCard = () => { const [visible, setVisible] = useState(true); useEffect(() => { const isRead = Cookies.get("welcome-read"); if (isRead === "true") { setVisible(false); } }, []); const handleMarkAsRead = () => { Cookies.set("welcome-read", "true"); setVisible(false); }; if (!visible) return null; return ( Welcome to your dashboard

Thanks for logging in! Here you can manage your account and the services available to you.

We’re thrilled to have you on board, and if you need anything, don’t hesitate to contact support (see the sidebar).

That’s all, have a great day!

); };