import codeHikeStyle from "@code-hike/mdx/dist/index.css?url"; import type { LinksFunction, MetaFunction } from "@remix-run/node"; import { Link, Links, Meta, Outlet, Scripts, ScrollRestoration, isRouteErrorResponse, useRouteError, } from "@remix-run/react"; import stylesheet from "~/tailwind.css?url"; import { Body } from "./components/Body"; import { LinkWrapper } from "./components/LinkWrapper"; export const links: LinksFunction = () => [ { rel: "stylesheet", href: stylesheet }, { rel: "stylesheet", href: codeHikeStyle }, ]; export const meta: MetaFunction = () => [ { charSet: "utf-8", }, { title: "Nullndr", }, { name: "viewport", content: "width=device-width,initial-scale=1.0", }, ]; export function Layout({ children }: React.PropsWithChildren) { return (