import 'website/src/styles/globals.css' import type { LinksFunction } from 'react-router' import { Route } from './+types/root' import { isRouteErrorResponse, Links, Meta, Outlet, Scripts, ScrollRestoration } from 'react-router' export const links: LinksFunction = () => [ { rel: 'icon', type: 'image/png', href: '/favicon-32.png', sizes: '32x32' }, { rel: 'icon', type: 'image/png', href: '/favicon-16.png', sizes: '16x16' }, ] export function Layout({ children }: { children: React.ReactNode }) { return ( {/* Inter from rsms (same source as next/font) for weight fidelity */} {children} ) } export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) { if (isRouteErrorResponse(error)) { return (

{error.status} {error.statusText}

{error.data}

) } else if (error instanceof Error) { return (

Error

{error.message}

The stack trace is:

          {error.stack}
        
) } else { return (

Unknown Error

) } } export default function App() { return }