import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "./dialog"; export default function DialogDemo() { return ( <div className="flex items-center justify-center p-8"> <Dialog> <DialogTrigger className="inline-flex items-center justify-center rounded-base border-2 border-border bg-main px-4 py-2 text-sm font-base text-main-foreground shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY hover:shadow-none"> Open Dialog </DialogTrigger> <DialogContent> <DialogHeader> <DialogTitle>Edit Profile</DialogTitle> <DialogDescription> Make changes to your profile here. Click save when you're done. </DialogDescription> </DialogHeader> <div className="py-4"> <input className="w-full rounded-base border-2 border-border bg-secondary-background px-3 py-2 text-sm font-base" placeholder="Your name" defaultValue="John Doe" /> </div> <DialogFooter> <button className="inline-flex items-center justify-center rounded-base border-2 border-border bg-main px-4 py-2 text-sm font-base text-main-foreground shadow-shadow hover:translate-x-boxShadowX hover:translate-y-boxShadowY hover:shadow-none"> Save changes </button> </DialogFooter> </DialogContent> </Dialog> </div> ); }