To include Fontsource into your Next.js project, it is required to use a custom App component. Next.js Documentation.
To add Fontsource to your Next.js project, you can import it globally in the custom
_app.tsxfile. Alternatively, you can choose to import it into a specific page component, but the CSS will only be present within that page and not globally.