"use client" import { AnimatePresence, motion } from "motion/react" import { useState, type ReactNode } from "react" import { ease } from "./motion" // Formulare der Vorlagen senden nichts – nach dem Absenden erscheint eine Bestätigung mit Demo-Hinweis export function DemoForm({ children, success, className }: { children: ReactNode; success: ReactNode; className?: string }) { const [sent, setSent] = useState(false) return ( {sent ? ( {success}

Demo-Hinweis: Auf Ihrer fertigen Webseite landet diese Anfrage direkt in Ihrem Postfach.

) : ( { event.preventDefault() setSent(true) }} > {children} )}
) }