How to use several fonts in Nextjs?
Right now, my main font is Inter applied in _app.tsx like this:
I also want to use this font on headings:
https://github.com/calcom/font/blob/main/README.md
This is in my globals.css
Any help is appreciated. Thank you so much in advance!
GitHub
font/README.md at main · calcom/font
The home for our Cal Sans font. Contribute to calcom/font development by creating an account on GitHub.
2 Replies
if you want it in headings why are you applying it to the body
or if you want to use next-font i would load the font file using that and make a custom heading component
thank you so much, is there a way to apply it directly to a p tag or something?
How is import "cal-sans" used?