silphius/app/root.jsx

32 lines
534 B
React
Raw Normal View History

2024-06-10 14:47:05 -05:00
import {
Links,
Meta,
Outlet,
Scripts,
ScrollRestoration,
} from "@remix-run/react";
2024-06-10 22:42:30 -05:00
import './root.css';
2024-06-10 14:47:05 -05:00
export function Layout({ children }) {
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<Meta />
<Links />
</head>
<body>
{children}
<ScrollRestoration />
<Scripts />
</body>
</html>
);
}
export default function App() {
return <Outlet />;
}