import type { ReactNode } from "react"; import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router"; import type { Route } from "./+types/root"; import "./app.css"; export const links: Route.LinksFunction = () => [ { rel: "icon", href: "/favicon.svg", type: "image/svg+xml" }, // 본문 서체 프리로드 — 프리렌더된 첫 화면의 FOUT 최소화 { rel: "preload", href: "/fonts/PretendardVariable.woff2", as: "font", type: "font/woff2", crossOrigin: "anonymous" }, ]; export function Layout({ children }: { children: ReactNode }) { return (