Skip to content

Commit

Permalink
style: update font to Saira
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlundberg committed Oct 18, 2024
1 parent 8472ef0 commit 08a0c7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down Expand Up @@ -46,7 +46,7 @@ export default async function RootLayout({

return (
<html lang={locale}>
<body className={roboto.className}>
<body className={saira.className}>
<NextIntlClientProvider messages={messages}>
<PreloadSettings>{children}</PreloadSettings>
</NextIntlClientProvider>
Expand Down
8 changes: 4 additions & 4 deletions src/fonts/fonts.ts
Original file line number Diff line number Diff line change
@@ -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 };

0 comments on commit 08a0c7f

Please sign in to comment.