Skip to content

Use next/font instead of hardcoded import from google fonts #24

@toto04

Description

@toto04

references this comment

This has a couple of advantages:

  • Allows Next to "optimize" (whatever they mean by that) font loading, letting it decide when and where to load a font.
  • Allows us to not call Google's APIs at each page load, which is a plus on privacy, latency (hypothetically) and reliability (kinda).

Links:
https://nextjs.org/docs/app/api-reference/components/font

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: frontendRelates to frontend or user interface codedifficulty: easyBeginner-friendly issue — low complexitygood first issueGood entry point for new contributorshelp wantedMaintainers welcome community help on this issuepriority: lowLow priority — nice to have or minor impact

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions