"use client"; import React, { useState, useEffect } from "react"; import { Link, X, Clock, Share, ArrowRight, Lock } from "lucide-react"; // Replace with actual imports import { Card, CardContent } from "@app/components/ui/card"; import { Button } from "@app/components/ui/button"; import { useTranslations } from "next-intl"; export const ShareableLinksSplash = () => { const [isDismissed, setIsDismissed] = useState(false); const key = "share-links-splash-dismissed"; useEffect(() => { const dismissed = localStorage.getItem(key); if (dismissed === "true") { setIsDismissed(true); } }, []); const handleDismiss = () => { setIsDismissed(true); localStorage.setItem(key, "true"); }; const t = useTranslations(); if (isDismissed) { return null; } return (

{t('share')}

{t('shareDescription2')}

  • {t('shareEasyCreate')}
  • {t('shareConfigurableExpirationDuration')}
  • {t('shareSecureAndRevocable')}
); }; export default ShareableLinksSplash;