forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CNA: replace geist font from local to google (vercel#72618)
### Why? As Google Font added Geist, replace the CNA local font with`next/font/google`. Added `subsets` value as the font will be preloaded. Removed`weight` value as: > An array of weight values if the font is not a [variable google font](https://fonts.google.com/variablefonts). It applies to next/font/google only. x-ref: https://nextjs.org/docs/app/api-reference/components/font#subsets x-ref: https://nextjs.org/docs/app/api-reference/components/font#weight Closes NDX-462
- Loading branch information
1 parent
aaf28ab
commit 9f6f631
Showing
24 changed files
with
48 additions
and
56 deletions.
There are no files selected for viewing
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/app-tw/js/app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed
BIN
-64.7 KB
packages/create-next-app/templates/app-tw/js/app/fonts/GeistVF.woff
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/app-tw/ts/app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed
BIN
-64.7 KB
packages/create-next-app/templates/app-tw/ts/app/fonts/GeistVF.woff
Binary file not shown.
13 changes: 6 additions & 7 deletions
13
packages/create-next-app/templates/app-tw/ts/app/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/app/js/app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/app/ts/app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/default-tw/js/pages/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed
BIN
-64.7 KB
packages/create-next-app/templates/default-tw/js/pages/fonts/GeistVF.woff
Binary file not shown.
13 changes: 6 additions & 7 deletions
13
packages/create-next-app/templates/default-tw/js/pages/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/default-tw/ts/pages/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed
BIN
-64.7 KB
packages/create-next-app/templates/default-tw/ts/pages/fonts/GeistVF.woff
Binary file not shown.
13 changes: 6 additions & 7 deletions
13
packages/create-next-app/templates/default-tw/ts/pages/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/default/js/pages/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed
BIN
-64.7 KB
packages/create-next-app/templates/default/js/pages/fonts/GeistVF.woff
Binary file not shown.
13 changes: 6 additions & 7 deletions
13
packages/create-next-app/templates/default/js/pages/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-66.3 KB
packages/create-next-app/templates/default/ts/pages/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed
BIN
-64.7 KB
packages/create-next-app/templates/default/ts/pages/fonts/GeistVF.woff
Binary file not shown.
13 changes: 6 additions & 7 deletions
13
packages/create-next-app/templates/default/ts/pages/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters