AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add global font and styles to the root layout #345

Open nozomione opened 2 months ago

nozomione commented 2 months ago

Context

Resources: Next.js: Font Module, Next.js: Global Style

In the page router, we added the link tag to the _document file for Google font (the global font) and the global styles to the _app file.

In the app router, we'll add them to the root layout and load Google font using the Next.js font module.

Problem or idea

As stated above, add the global font and styles to the root layout.

Solution or next step

Add the following items to the root layout: