"use client"; import { useState } from "react"; import { Button } from "@mosaic/ui"; import { useRouter } from "next/navigation"; export function QuickCaptureWidget() { const [idea, setIdea] = useState(""); const router = useRouter(); const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); if (!idea.trim()) return; // TODO: Implement quick capture API call // For now, just show a success indicator console.log("Quick capture:", idea); setIdea(""); }; const goToTasks = () => { router.push("/tasks"); }; return (
Quickly jot down ideas or brain dumps