From 08a0c7f931ffb26e677ce5193c9c85ecb9d59673 Mon Sep 17 00:00:00 2001 From: Bryan Lundberg Date: Thu, 17 Oct 2024 20:45:22 -0600 Subject: [PATCH] style: update font to Saira --- src/app/[locale]/layout.tsx | 4 ++-- src/fonts/fonts.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index c60b7a52..a53fcee9 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -1,7 +1,7 @@ import { Toaster } from "@/components/ui/sonner"; import "./globals.css"; import PreloadSettings from "@/components/PreloadSettings"; -import { roboto } from "@/fonts/fonts"; +import { saira } from "@/fonts/fonts"; import { NextIntlClientProvider } from "next-intl"; import { getMessages, getTranslations } from "next-intl/server"; @@ -46,7 +46,7 @@ export default async function RootLayout({ return ( - + {children} diff --git a/src/fonts/fonts.ts b/src/fonts/fonts.ts index 4d4a30a7..63416075 100644 --- a/src/fonts/fonts.ts +++ b/src/fonts/fonts.ts @@ -1,8 +1,8 @@ -import { Roboto } from "next/font/google"; +import { Saira } from "next/font/google"; -const roboto = Roboto({ +const saira = Saira({ subsets: ["latin"], - weight: ["100", "300", "400", "500", "700", "900"], + weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"], }); -export { roboto }; +export { saira };