Skip to content

Remove hard dependency on font loading in Layout.tsx #514

@annsch

Description

@annsch

Hi,
Would it be possible to remove the hard dependency on font loading in your Layout.tsx file?
This causes the build process to break in environments where external resources are restricted, such as for security compliance reasons.

const font = Roboto({ weight: ["400", "700"], subsets: ["latin"] });
[]
 <div
      id="layout"
      className={cn(styles.layout, font.className, styles[layoutClass])}
    >

Currently, we have to work around this using patch-package, but we'd prefer to avoid this in future builds.

Best regards, and thank you very much for sharing your work! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions