import "./components/ui/tidal.css"; import { useState, type MouseEvent } from "react"; import { TidalFooterWordmark, type TidalFooterWordmarkLinkItem } from "./components/ui/footer-wordmark"; import "./components/ui/footer-wordmark.css"; const tidalExampleStyles = ".tidal-scope .footer-pilot-demo,\n.tidal-scope .footer-pilot-demo * {\n box-sizing: border-box;\n}\n\n.tidal-scope .footer-pilot-demo {\n inline-size: min(100%, 1240px);\n min-inline-size: 0;\n margin-inline: auto;\n}"; function isPlainPrimary(event: MouseEvent) { return ( event.button === 0 && !event.metaKey && !event.ctrlKey && !event.shiftKey && !event.altKey ); } export function FooterWordmarkDemo() { const [notice, setNotice] = useState("Sample footer ready."); function sampleLink(id: string, label: string): TidalFooterWordmarkLinkItem { return { id, label, href: "#footer-wordmark-demo", onClick: (event: import("react").MouseEvent) => { if (!isPlainPrimary(event)) return; event.preventDefault(); setNotice(`${label} selected locally.`); }, }; } return ( ); } export default function AgentExample() { return (
); }