perf(build): make standalone image deterministic

This commit is contained in:
2026-08-09 21:34:00 +07:00 Unverified
parent c06b2ef88f
commit 1dc44e0215
10 changed files with 65 additions and 32 deletions
+1 -14
View File
@@ -1,21 +1,8 @@
import type { Metadata } from "next";
import { Inter, Anuphan } from "next/font/google";
import "./globals.css";
import { cn } from "@/lib/utils";
import { config } from "@/lib/config";
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
display: "swap",
});
const anuphan = Anuphan({
variable: "--font-anuphan",
subsets: ["latin", "thai"],
display: "swap",
});
const siteUrl = config.site.url;
export const metadata: Metadata = {
@@ -81,7 +68,7 @@ export default function RootLayout({
return (
<html
lang="th"
className={cn("h-full", "antialiased", inter.variable, anuphan.variable, "font-sans")}
className={cn("h-full", "antialiased", "font-sans")}
suppressHydrationWarning
>
<body className="font-sans" suppressHydrationWarning>