perf(build): make standalone image deterministic
This commit is contained in:
+1
-14
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user