diff --git a/src/components/generic/AddBlockMenu.jsx b/src/components/generic/AddBlockMenu.jsx new file mode 100644 index 0000000..e57ae86 --- /dev/null +++ b/src/components/generic/AddBlockMenu.jsx @@ -0,0 +1,75 @@ +// components/generic/CMS/AddBlockMenu.jsx + +import { Plus, Type, Image, ImagePlay, Video, VideoIcon } from "lucide-react"; +import { Button } from "@/components/ui/button"; +import { + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuLabel, + DropdownMenuSeparator, + DropdownMenuTrigger, +} from "@/components/ui/dropdown-menu"; + +const BLOCK_TYPES = [ + { + type: "text", + label: "Text", + description: "A rich text block", + icon: , + }, + { + type: "image", + label: "Image", + description: "A single image", + icon: , + }, + { + type: "text-image", + label: "Text + Image", + description: "Text beside an image", + icon: , + }, + { + type: "video", + label: "Video", + description: "A single video", + icon: , + }, + { + type: "text-video", + label: "Text + Video", + description: "Text beside a video", + icon: