Skip to content

Commit 54bcc86

Browse files
authored
chore(next): remove vercel.json and extra log, update fonts (#7718)
* chore: local fonts and removed some weird files * chore: use from google fonts
1 parent 581c972 commit 54bcc86

File tree

5 files changed

+6
-14
lines changed

5 files changed

+6
-14
lines changed

apps/site/next-data/generators/releaseData.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ const generateReleaseData = async () => {
3939
absolute: false,
4040
});
4141

42-
console.log('Release Announcement:', process.cwd(), releaseAnnouncements);
43-
4442
const nodevuOutput = await nodevu({ fetch: fetch });
4543

4644
const majors = Object.entries(nodevuOutput).filter(

apps/site/next.fonts.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
import { Open_Sans, IBM_Plex_Mono } from 'next/font/google';
1+
import localFont from 'next/font/local';
22

33
// This configures the Next.js Font for Open Sans
44
// We then export a variable and class name to be used
55
// within Tailwind (tailwind.config.ts) and Storybook (preview.js)
6-
export const OPEN_SANS = Open_Sans({
7-
weight: ['300', '400', '600', '700'],
6+
export const OPEN_SANS = localFont({
7+
src: './public/static/fonts/open-sans.woff2',
88
display: 'fallback',
9-
subsets: ['latin'],
109
variable: '--font-open-sans',
1110
});
1211

1312
// This configures the Next.js Font for IBM Plex Mono
1413
// We then export a variable and class name to be used
1514
// within Tailwind (tailwind.config.ts) and Storybook (preview.js)
16-
export const IBM_PLEX_MONO = IBM_Plex_Mono({
17-
weight: ['400', '600'],
18-
subsets: ['latin'],
19-
fallback: ['ui-monospace'],
15+
export const IBM_PLEX_MONO = localFont({
16+
src: './public/static/fonts/ibm-plex-mono.woff2',
17+
display: 'fallback',
2018
variable: '--font-ibm-plex-mono',
2119
});
14.5 KB
Binary file not shown.
18.2 KB
Binary file not shown.

apps/site/vercel.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)