"use client"; import { ArrowRight, CheckCircle2, CircleDashed, LayoutDashboard, Sparkles, } from "lucide-react"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Separator } from "@/components/ui/separator"; import { usePanelStore } from "@/lib/stores/panel-store"; import { useWorkspaceStore } from "@/lib/stores/workspace-store"; import { cn } from "@/lib/utils"; const stats = [ { label: "Open tasks", value: "24", delta: "+3 this week" }, { label: "Due this week", value: "8", delta: "2 overdue" }, { label: "Lists", value: "12", delta: "Across teams" }, ]; const recent = [ { title: "Sprint planning", meta: "List · Updated 2h ago", status: "done" as const }, { title: "Design review — navigation", meta: "Task · Updated yesterday", status: "progress" as const }, { title: "Q1 roadmap doc", meta: "Doc · Edited 3d ago", status: "progress" as const }, ]; export default function WorkspaceHomePage() { const workspace = useWorkspaceStore((s) => s.currentWorkspace); const openPanel = usePanelStore((s) => s.open); const name = workspace?.name ?? "Workspace"; return (
Your command center for tasks, docs, and boards. Pick up where you left off or open the assistant to plan the day.
Placeholder metrics until your data layer is connected.
{s.label}
{s.value}
{s.delta}
Latest updates across this workspace (sample rows).
{item.title}
{item.meta}