File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
app/web_development/og/[key] Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,8 @@ export default async function Image(props: IImageProps) {
34
34
`https://${ process . env . VERCEL_URL } ` :
35
35
`http://localhost:${ process . env . PORT ?? '3000' } `
36
36
37
- // Font
38
- const permanentMarkerRegular = await fetch (
39
- new URL ( '/public/assets/fonts/PermanentMarker-Regular.ttf' , import . meta. url )
37
+ const antaRegular = await fetch (
38
+ new URL ( '/public/assets/fonts/Anta-Regular.ttf' , import . meta. url )
40
39
) . then ( res => res . arrayBuffer ( ) )
41
40
42
41
const imageData = await fetch (
@@ -77,8 +76,8 @@ export default async function Image(props: IImageProps) {
77
76
left : '0px' ,
78
77
bottom : '0px' ,
79
78
margin : 0 ,
80
- padding : '0px 27px 27px 27px ' ,
81
- fontFamily : 'PermanentMarkerRegular ' ,
79
+ padding : '30px 60px ' ,
80
+ fontFamily : 'AntaRegular ' ,
82
81
fontWeight : 400 ,
83
82
fontStyle : 'normal' ,
84
83
fontSize : '50' ,
@@ -98,8 +97,8 @@ export default async function Image(props: IImageProps) {
98
97
...size ,
99
98
fonts : [
100
99
{
101
- name : 'PermanentMarkerRegular ' ,
102
- data : permanentMarkerRegular ,
100
+ name : 'AntaRegular ' ,
101
+ data : antaRegular ,
103
102
style : 'normal' ,
104
103
weight : 400 ,
105
104
} ,
You can’t perform that action at this time.
0 commit comments