fix(frontend): support HTTP UUID fallback and bundle Inter fonts

This commit is contained in:
Winnie
2026-08-03 13:30:03 +08:00
parent 76a572af0d
commit fd5ea4d33e
6 changed files with 142 additions and 15 deletions
+1 -12
View File
@@ -10,18 +10,7 @@ import {
import type { Route } from "./+types/root";
import "./app.css";
export const links: Route.LinksFunction = () => [
{ 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 const links: Route.LinksFunction = () => [];
export function Layout({ children }: { children: React.ReactNode }) {
return (