export const server = (req) =>
new Response(
`<html>
<head>
<title>TLDraw React Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<style>
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap");
@import url("https://esm.sh/tldraw@2.1.0/tldraw.css");
body {
font-family: "Inter";
}
</style>
</head>
<body>
<main id="root"></main>
<script type="module" src="https://esm.town/v/tfayyaz/reacttldrawclient"></script/>
</body>
</html>`,
{
headers: {
"Content-Type": "text/html",
},
},
);