{message}
{details}
{stack && (
{stack}
)}
import { isRouteErrorResponse, Links, Meta, Outlet, Scripts, ScrollRestoration, } from 'react-router'; import type { Route } from './+types/root'; import './app.css'; export function meta() { return [ { charset: 'utf-8' }, { title: 't4t Gateway' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, { name: 'description', content: 'OpenAI-compatible API on Token4Token. 50 xBZZ welcome credit, no wallet needed.', }, ]; } export const links: Route.LinksFunction = () => [ { rel: 'preload', href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap', as: 'style', crossOrigin: 'anonymous', }, { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap', crossOrigin: 'anonymous', }, ]; export function Layout({ children }: { children: React.ReactNode }) { return (
{details}
{stack && (
{stack}
)}