{message}
{details}
{stack && (
{stack}
)}
import { isRouteErrorResponse, Links, Meta, Outlet, Scripts, ScrollRestoration } from 'react-router' import type { Route } from './+types/root' import '../styles/globals.css' export const links: Route.LinksFunction = () => [ ...(import.meta.env.DEV ? [ { rel: 'icon', type: 'image/x-icon', sizes: '16x16 32x32 48x48', href: '/favicon/local/favicon.ico', }, { rel: 'apple-touch-icon', sizes: '180x180', href: '/favicon/local/apple-icon-180x180.png', }, { rel: 'manifest', href: '/favicon/local/manifest.json' }, ] : [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]), { rel: 'preconnect', href: 'https://fonts.googleapis.com' }, { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossOrigin: 'anonymous', }, { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap', }, ] export function Layout({ children }: { children: React.ReactNode }) { return (
{details}
{stack && (
{stack}
)}