129 lines
5.1 KiB
XML
129 lines
5.1 KiB
XML
import { Button } from "@/components/ui/button";
|
|
import {
|
|
Dialog,
|
|
DialogClose,
|
|
DialogContent,
|
|
DialogDescription,
|
|
DialogFooter,
|
|
DialogHeader,
|
|
DialogTitle,
|
|
DialogTrigger,
|
|
} from "@/components/ui/dialog";
|
|
|
|
const SizesDialog = () => {
|
|
return (
|
|
<div className="flex flex-wrap gap-3">
|
|
<Dialog>
|
|
<DialogTrigger asChild>
|
|
<Button variant="outline" >
|
|
Default Dialog
|
|
</Button>
|
|
</DialogTrigger>
|
|
<DialogContent>
|
|
<DialogHeader>
|
|
<DialogTitle>Default Dialog</DialogTitle>
|
|
</DialogHeader>
|
|
<DialogDescription className="pb-8">
|
|
<h3 className="text-base font-medium text-default-950 my-2 mt-3">Buy me a coffe.</h3>
|
|
<p className="text-base text-default-500 mt-2">We enables fans to financially support their favorite creators through donations.</p>
|
|
<p className="text-base text-default-500 mt-2">The platform allows supporters to make one-time or recurring contributions to their favorite creators,
|
|
enhancing the financial stability and creative freedom of artists, writers, developers, and more.</p>
|
|
</DialogDescription>
|
|
<DialogFooter>
|
|
<DialogClose asChild>
|
|
<Button variant="outline" color="warning">Close</Button>
|
|
</DialogClose>
|
|
<DialogClose asChild>
|
|
<Button>Save</Button>
|
|
</DialogClose>
|
|
</DialogFooter>
|
|
</DialogContent>
|
|
</Dialog>
|
|
<Dialog>
|
|
<DialogTrigger asChild>
|
|
<Button variant="outline">
|
|
Large Dialog
|
|
</Button>
|
|
</DialogTrigger>
|
|
<DialogContent
|
|
size="lg"
|
|
>
|
|
<DialogHeader>
|
|
<DialogTitle>Large Dialog</DialogTitle>
|
|
</DialogHeader>
|
|
<DialogDescription className="pb-8">
|
|
<h3 className="text-base font-medium text-default-950 my-2 mt-3">Buy me a coffe.</h3>
|
|
<p className="text-base text-default-500 mt-2">We enables fans to financially support their favorite creators through donations.</p>
|
|
<p className="text-base text-default-500 mt-2">The platform allows supporters to make one-time or recurring contributions to their favorite creators,
|
|
enhancing the financial stability and creative freedom of artists, writers, developers, and more.</p>
|
|
</DialogDescription>
|
|
<DialogFooter className="gap-4">
|
|
<DialogClose asChild>
|
|
<Button variant="outline" color="warning">Close</Button>
|
|
</DialogClose>
|
|
<DialogClose asChild>
|
|
<Button>Save</Button>
|
|
</DialogClose>
|
|
</DialogFooter>
|
|
</DialogContent>
|
|
</Dialog>
|
|
|
|
<Dialog>
|
|
<DialogTrigger asChild>
|
|
<Button variant="outline">
|
|
Medium Dialog
|
|
</Button>
|
|
</DialogTrigger>
|
|
<DialogContent size="md">
|
|
<DialogHeader>
|
|
<DialogTitle>Medium Dialog</DialogTitle>
|
|
</DialogHeader>
|
|
<DialogDescription className="pb-8">
|
|
<h3 className="text-base font-medium text-default-950 my-2 mt-3">Buy me a coffe.</h3>
|
|
<p className="text-base text-default-500 mt-2">We enables fans to financially support their favorite creators through donations.</p>
|
|
<p className="text-base text-default-500 mt-2">The platform allows supporters to make one-time or recurring contributions to their favorite creators,
|
|
enhancing the financial stability and creative freedom of artists, writers, developers, and more.</p>
|
|
</DialogDescription>
|
|
<DialogFooter>
|
|
<DialogClose asChild>
|
|
<Button variant="outline" color="warning">Close</Button>
|
|
</DialogClose>
|
|
<DialogClose asChild>
|
|
<Button>Save</Button>
|
|
</DialogClose>
|
|
</DialogFooter>
|
|
</DialogContent>
|
|
</Dialog>
|
|
|
|
<Dialog>
|
|
<DialogTrigger asChild>
|
|
<Button variant="outline">
|
|
Small Dialog
|
|
</Button>
|
|
</DialogTrigger>
|
|
<DialogContent size="sm">
|
|
<DialogHeader>
|
|
<DialogTitle>Small Dialog</DialogTitle>
|
|
</DialogHeader>
|
|
<DialogDescription className="pb-8">
|
|
<h3 className="text-base font-medium text-default-950 my-2 mt-3">Buy me a coffe.</h3>
|
|
<p className="text-base text-default-500 mt-2">We enables fans to financially support their favorite creators through donations.</p>
|
|
<p className="text-base text-default-500 mt-2">The platform allows supporters to make one-time or recurring contributions to their favorite creators,
|
|
enhancing the financial stability and creative freedom of artists, writers, developers, and more.</p>
|
|
</DialogDescription>
|
|
<DialogFooter>
|
|
<DialogClose asChild>
|
|
<Button variant="outline" color="warning">Close</Button>
|
|
</DialogClose>
|
|
<DialogClose asChild>
|
|
<Button>Save</Button>
|
|
</DialogClose>
|
|
</DialogFooter>
|
|
</DialogContent>
|
|
</Dialog>
|
|
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default SizesDialog; |