Skip to content

Commit 172bd84

Browse files
feat: remove inter regular font and just use bold for social images
1 parent 6db2ce1 commit 172bd84

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

lib/fonts/inter-regular.ts

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

pages/api/social-image.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
} from 'notion-utils'
1212

1313
import * as libConfig from '@/lib/config'
14-
import interRegularFont from '@/lib/fonts/inter-regular'
1514
import interSemiBoldFont from '@/lib/fonts/inter-semibold'
1615
import { mapImageUrl } from '@/lib/map-image-url'
1716
import { notion } from '@/lib/notion-api'
@@ -52,7 +51,6 @@ export default async function OGImage(
5251
backgroundColor: '#1F2027',
5352
alignItems: 'center',
5453
justifyContent: 'center',
55-
fontFamily: '"Inter", sans-serif',
5654
color: 'black'
5755
}}
5856
>
@@ -158,12 +156,6 @@ export default async function OGImage(
158156
width: 1200,
159157
height: 630,
160158
fonts: [
161-
{
162-
name: 'Inter',
163-
data: interRegularFont,
164-
style: 'normal',
165-
weight: 400
166-
},
167159
{
168160
name: 'Inter',
169161
data: interSemiBoldFont,

0 commit comments

Comments
 (0)