fix(build): secure local fonts and spreadsheet export
This commit is contained in:
@@ -1,19 +1,10 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import { GeistSans } from "geist/font/sans";
|
||||
import { GeistMono } from "geist/font/mono";
|
||||
|
||||
import { Providers } from "@/components/providers";
|
||||
import "./globals.css";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
template: "%s · Lottery Admin",
|
||||
@@ -34,7 +25,7 @@ export default function RootLayout({
|
||||
<html
|
||||
lang="zh-Hans"
|
||||
suppressHydrationWarning
|
||||
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
||||
className={`${GeistSans.variable} ${GeistMono.variable} h-full antialiased`}
|
||||
>
|
||||
<head>
|
||||
<script
|
||||
|
||||
Reference in New Issue
Block a user