"use client"; import "./components/ui/tidal.css"; import { useState } from "react"; import { TidalGanttChart, type TidalGanttTask } from "./components/ui/gantt-chart"; import "./components/ui/gantt-chart.css"; export const sampleTasks: readonly TidalGanttTask[] = [ { id: "research", label: "Research & planning", start: "2026-10-05", end: "2026-10-09", detail: "Review the customer interviews and agree on the launch scope.", }, { id: "design", label: "Design system", start: "2026-10-08", end: "2026-10-16", detail: "Prepare the shared components and responsive screen layouts.", dependencies: ["research"], }, { id: "build", label: "Product development", start: "2026-10-14", end: "2026-10-27", detail: "Implement the agreed flows with the shared design system.", dependencies: ["design"], }, { id: "review", label: "Quality review", start: "2026-10-23", end: "2026-10-29", detail: "Test the main customer journeys on desktop and mobile.", dependencies: ["build"], }, { id: "launch", label: "Launch", start: "2026-10-30", end: "2026-10-30", detail: "Publish the reviewed release.", dependencies: ["review"], }, ]; export function GanttChartDemo() { const [selected, setSelected] = useState("design"); return ( new Intl.DateTimeFormat("en", { month: "short", day: "numeric", timeZone: "UTC", }).format(new Date(`${date}T00:00:00Z`)) } referenceDate="2026-10-15" referenceLabel="Review date" /> ); } export default function AgentExample() { return (
); }