mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
42 lines
997 B
TypeScript
42 lines
997 B
TypeScript
// @refresh reload
|
|
import { Suspense } from "solid-js";
|
|
import {
|
|
A,
|
|
Body,
|
|
ErrorBoundary,
|
|
FileRoutes,
|
|
Head,
|
|
Html,
|
|
Meta,
|
|
Routes,
|
|
Scripts,
|
|
Title,
|
|
} from "solid-start";
|
|
import "./root.css";
|
|
|
|
export default function Root() {
|
|
return (
|
|
<Html lang="en">
|
|
<Head>
|
|
<Title>SolidStart - Bare</Title>
|
|
<Meta charset="utf-8" />
|
|
<Meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1"
|
|
/>
|
|
</Head>
|
|
<Body>
|
|
<Suspense>
|
|
<ErrorBoundary>
|
|
<A href="/">Index</A>
|
|
<A href="/about">About</A>
|
|
<Routes>
|
|
<FileRoutes />
|
|
</Routes>
|
|
</ErrorBoundary>
|
|
</Suspense>
|
|
<Scripts />
|
|
</Body>
|
|
</Html>
|
|
);
|
|
}
|