From 03e643ecb5908cb996dd7a2f137b9fe43dcdf05d Mon Sep 17 00:00:00 2001 From: Jorge Moya Date: Wed, 20 Nov 2024 10:08:02 -0600 Subject: [PATCH] chore(core): add roboto mono font --- core/app/[locale]/layout.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/core/app/[locale]/layout.tsx b/core/app/[locale]/layout.tsx index b961db5909..cd9a6b3b74 100644 --- a/core/app/[locale]/layout.tsx +++ b/core/app/[locale]/layout.tsx @@ -1,7 +1,7 @@ import { Analytics } from '@vercel/analytics/react'; import { SpeedInsights } from '@vercel/speed-insights/next'; import type { Metadata } from 'next'; -import { DM_Serif_Text, Inter } from 'next/font/google'; +import { DM_Serif_Text, Inter, Roboto_Mono } from 'next/font/google'; import { NextIntlClientProvider } from 'next-intl'; import { getMessages, setRequestLocale } from 'next-intl/server'; import { PropsWithChildren } from 'react'; @@ -28,6 +28,12 @@ const dm_serif_text = DM_Serif_Text({ variable: '--font-family-heading', }); +const roboto_mono = Roboto_Mono({ + subsets: ['latin'], + display: 'swap', + variable: '--font-family-mono', +}); + const RootLayoutMetadataQuery = graphql(` query RootLayoutMetadataQuery { site { @@ -102,7 +108,7 @@ export default async function RootLayout({ params, children }: Props) { return ( - + {children}