mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
feat: remove inter regular font and just use bold for social images
This commit is contained in:
@@ -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'
|
||||
@@ -52,7 +51,6 @@ export default async function OGImage(
|
||||
backgroundColor: '#1F2027',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
fontFamily: '"Inter", sans-serif',
|
||||
color: 'black'
|
||||
}}
|
||||
>
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user