echoes/frontend/app/root.tsx
lsy ba17778a8f 数据库:合并自定义字段和设计字段,所有限制移到应用层限制
后端:删除数据库构建需要等级,jwt添加rote信息
前端:修复post,删除插件机制,优化http
2024-12-18 21:54:37 +08:00

47 lines
1017 B
TypeScript

import {
Links,
Meta,
Outlet,
Scripts,
ScrollRestoration,
} from "@remix-run/react";
import { NotificationProvider } from "hooks/Notification";
import { ThemeScript } from "hooks/ThemeMode";
import "~/index.css";
export function Layout() {
return (
<html lang="en" className="h-full" suppressHydrationWarning={true}>
<head>
<meta charSet="utf-8" />
<meta httpEquiv="Expires" content="0" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
<title>Echoes</title>
<ThemeScript />
<Meta />
<Links />
</head>
<body
className="h-full"
suppressHydrationWarning={true}
data-cz-shortcut-listen="false"
>
<NotificationProvider>
<Outlet />
</NotificationProvider>
<ScrollRestoration />
<Scripts />
</body>
</html>
);
}
export default function App() {
return <Layout />;
}