Skip to content

Commit

Permalink
feat: remove inter regular font and just use bold for social images
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Nov 8, 2024
1 parent 6db2ce1 commit 172bd84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions lib/fonts/inter-regular.ts

This file was deleted.

8 changes: 0 additions & 8 deletions pages/api/social-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
} from 'notion-utils'

import * as libConfig from '@/lib/config'
import interRegularFont from '@/lib/fonts/inter-regular'
import interSemiBoldFont from '@/lib/fonts/inter-semibold'
import { mapImageUrl } from '@/lib/map-image-url'
import { notion } from '@/lib/notion-api'
Expand Down Expand Up @@ -52,7 +51,6 @@ export default async function OGImage(
backgroundColor: '#1F2027',
alignItems: 'center',
justifyContent: 'center',
fontFamily: '"Inter", sans-serif',
color: 'black'
}}
>
Expand Down Expand Up @@ -158,12 +156,6 @@ export default async function OGImage(
width: 1200,
height: 630,
fonts: [
{
name: 'Inter',
data: interRegularFont,
style: 'normal',
weight: 400
},
{
name: 'Inter',
data: interSemiBoldFont,
Expand Down

0 comments on commit 172bd84

Please sign in to comment.