import { LockIcon } from "@phosphor-icons/react"; import type { NavigateFunction } from "react-router-dom"; import { PATHS, ROUTES } from "../../config/routes"; import { Modal } from "../ui/Modal"; interface PostSealModalProps { sealedTargetId: string | null; navigate: NavigateFunction; type: "KEPT" | "VAULT"; } export function PostSealModal({ sealedTargetId, navigate, type = "KEPT", }: PostSealModalProps) { return (

Your letter is sealed

It's encrypted and always safe in your drawer.

{type === "KEPT" ? (

When you're ready,
you can{" "} read it,{" "} send it to someone, or{" "} burn it to release

) : (

Be assured that the letter will find you when the time is right.
Till then,{" "} take a deep breath , manifest , and{" "} let it rest .

)}
{type === "KEPT" ? ( <> ) : ( )}
); }