Skip to content

feat: astro-font - optimize fonts & prevent CLS#14

Open
rishi-raj-jain wants to merge 1 commit intocdvillard:mainfrom
rishi-raj-jain:main
Open

feat: astro-font - optimize fonts & prevent CLS#14
rishi-raj-jain wants to merge 1 commit intocdvillard:mainfrom
rishi-raj-jain:main

Conversation

@rishi-raj-jain
Copy link
Copy Markdown

@rishi-raj-jain rishi-raj-jain commented May 21, 2024

Astro Font: https://www.launchfa.st/blog/building-astro-font

Changes

This PR integrates astro-font which automatically generates the fallback font and pass it as CSS variables.

@netlify
Copy link
Copy Markdown

netlify bot commented May 21, 2024

Deploy Preview for sleepy-neumann-d739b6 failed.

Name Link
🔨 Latest commit 77605d1
🔍 Latest deploy log https://app.netlify.com/sites/sleepy-neumann-d739b6/deploys/664d09d8a785410008e37008

@netlify
Copy link
Copy Markdown

netlify bot commented May 21, 2024

Deploy Preview for charlesvillard failed.

Name Link
🔨 Latest commit 77605d1
🔍 Latest deploy log https://app.netlify.com/sites/charlesvillard/deploys/664d09d83cb63d0008d1ab59

@cdvillard
Copy link
Copy Markdown
Owner

Hi Rishi. Thanks for the PR, though for some reason, the builds are failing. I'll take a look at this later.

@rishi-raj-jain
Copy link
Copy Markdown
Author

@cdvillard

No worries, I'm also exploring this and checking the logs.

@rishi-raj-jain
Copy link
Copy Markdown
Author

This seems to be something arbitrary. In dev mode it says that there's an unexpected literal string, while during build it totally gives another reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants