summaryrefslogtreecommitdiff
path: root/app/layout.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-05-13 03:38:44 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-05-13 03:38:44 +0000
commit4a817044e9a9d8e26642060616afb29a55a8d7a1 (patch)
treed9c6e09f0bb7071985e41f5f87e01e5bcf7ade13 /app/layout.tsx
parentd5af2677b423b8429f5d5fe87e111e85aa560745 (diff)
(대표님) 공통설정 변경
Diffstat (limited to 'app/layout.tsx')
-rw-r--r--app/layout.tsx23
1 files changed, 21 insertions, 2 deletions
diff --git a/app/layout.tsx b/app/layout.tsx
index 19021360..c83c1a7e 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -8,10 +8,29 @@ import { cn } from "@/lib/utils"
import { META_THEME_COLORS, siteConfig } from "@/config/site"
import { LicenseInfo } from '@mui/x-license';
import { ToasterSonner } from "@/components/ui/toasterSonner";
+import localFont from "next/font/local";
LicenseInfo.setLicenseKey(process.env.NEXT_PUBLIC_MUI_KEY as string);
-// const inter = Inter({ subsets: ['latin'] });
+const inter = localFont({
+ src: [
+ {
+ path: '../public/fonts/Inter-Regular.woff2',
+ weight: '400',
+ style: 'normal',
+ },
+ {
+ path: '../public/fonts/Inter-Medium.woff2',
+ weight: '500',
+ style: 'normal',
+ },
+ {
+ path: '../public/fonts/Inter-Bold.woff2',
+ weight: '700',
+ style: 'normal',
+ },
+ ]
+})
export const generateStaticParams = async () => {
return languages.map((lng) => ({ lng }));
@@ -61,7 +80,7 @@ export default async function RootLayout({
<body
className={cn(
"min-h-svh bg-slate-100 font-sans antialiased",
- // inter.className,
+ inter.className,
)}
>
<ThemeProvider