chore: add roboto font

This commit is contained in:
ValdiANS
2026-01-20 16:15:38 +07:00
parent 572e5233b4
commit 1a3ea5be8c
+10 -2
View File
@@ -1,5 +1,5 @@
import type { Metadata, Viewport } from 'next';
import { Inter } from 'next/font/google';
import { Inter, Roboto } from 'next/font/google';
import '@/app/globals.css';
import { Toaster } from 'react-hot-toast';
@@ -12,6 +12,12 @@ const inter = Inter({
subsets: ['latin'],
});
const roboto = Roboto({
variable: '--font-roboto',
subsets: ['latin'],
weight: ['200', '300', '400', '500', '600', '700', '900'],
});
export const viewport: Viewport = {
themeColor: '#1f74bf',
colorScheme: 'light',
@@ -30,7 +36,9 @@ export default function RootLayout({
}>) {
return (
<html lang='en' data-theme='lti'>
<body className={`${inter.variable} antialiased font-inter`}>
<body
className={`${inter.variable} ${roboto.variable} antialiased font-inter`}
>
<RequireAuth>
<MainDrawer>{children}</MainDrawer>
</RequireAuth>