diff --git a/src/features/event/components/PromotionTemplatesSection.tsx b/src/features/event/components/PromotionTemplatesSection.tsx index b9786ae..e9f8dca 100644 --- a/src/features/event/components/PromotionTemplatesSection.tsx +++ b/src/features/event/components/PromotionTemplatesSection.tsx @@ -3,6 +3,8 @@ import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; +import { Sheet, SheetContent, SheetHeader, SheetTitle } from '@/components/ui/sheet'; +import { useIsMobile } from '@/hooks/use-mobile'; type Props = { mediaUrl: string; @@ -28,6 +30,7 @@ const PromotionTemplatesSection: React.FC = ({ onFileSelected, mediaPreview, }) => { + const isMobile = useIsMobile(); const templates: PromotionTemplate[] = useMemo( () => [ { @@ -96,33 +99,92 @@ const PromotionTemplatesSection: React.FC = ({ onValueChange: (next: string) => void; selected: PromotionTemplate | null; }) => { + const [open, setOpen] = useState(false); + return (
- + + + + ) : ( + + )}
Vorschau
@@ -213,7 +275,7 @@ const PromotionTemplatesSection: React.FC = ({
-
Templates verwalten
+ {/*
Templates verwalten
*/}