Back

Version 307

3/7/2024
// (c) easrng 2024 all rights reserved

/** @jsx jsx */
/** @jsxFrag Fragment */
import {
createContext,
type FC,
Fragment,
jsx,
type PropsWithChildren,
useContext,
} from "https://deno.land/x/hono@v4.0.10/jsx/index.ts";
import { Hono } from "https://deno.land/x/hono@v4.0.10/mod.ts";
import { API_URL } from "https://esm.town/v/std/API_URL?v=5";
import { encodeBase64 } from "jsr:@std/encoding/base64";
import { parse as parseStack } from "npm:error-stack-parser-es@0.1.1";
import * as SuperJSON from "npm:superjson@2.2.1";

const app = new Hono();

const Layout: FC<PropsWithChildren<{ title: string }>> = (props) => {
return (
<html>
<head>
<title>{props.title}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
{String.raw`
* {
box-sizing: border-box;
}
body, html {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
easrng-playground.web.val.run
Updated: March 19, 2024