Apply a font at the root
import { IBM_Plex_Sans } from 'next/font/google';
const plex = IBM_Plex_Sans({ subsets: ['latin'], weight: ['400', '600'] });
export default function RootLayout({ children }: { children: React.ReactNode }) {
return <html lang="en" className={plex.className}><body>{children}</body></html>;
}The layout gives descendant routes a consistent font class.