Commit cf5e401ea5
Unsigned
Layout: unified · split
docs/.vitepress/configs/fonts/Inter-Bold.otf deleted
Binary file not shown.
docs/.vitepress/configs/fonts/Inter-Medium.otf deleted
Binary file not shown.
docs/.vitepress/configs/fonts/Inter-Regular.otf deleted
Binary file not shown.
docs/.vitepress/configs/fonts/Inter-SemiBold.otf deleted
Binary file not shown.
docs/.vitepress/configs/fonts/Inter-Variable.ttf added
Binary file not shown.
docs/.vitepress/configs/hooks/OgImageTemplate.tsx +1 −1
| @@ -12,7 +12,7 @@ export function OgImageTemplate({ title, image }: OgImageTemplateProps) { | ||
| 12 | 12 | <div tw='relative z-1 p-10 w-full min-h-0 grow flex flex-col items-center justify-between'> |
| 13 | 13 | <div tw='w-full flex justify-between items-center text-5xl font-medium'> |
| 14 | 14 | <div tw='flex items-center'> |
| 15 | <div tw='text-zinc-100 ml-2 mt-1 font-semibold'>wotaku.wiki</div> | |
| 15 | <div tw='text-zinc-100 ml-2 mt-1 font-light'>wotaku.wiki</div> | |
| 16 | 16 | </div> |
| 17 | 17 | </div> |
| 18 | 18 | <div tw='w-full pr-56 flex flex-col items-start justify-end'> |
docs/.vitepress/configs/hooks/opengraph.ts +1 −19
| @@ -20,27 +20,9 @@ const __fonts = resolve(__dirname, '../fonts') | ||
| 20 | 20 | const fonts: Font[] = [ |
| 21 | 21 | { |
| 22 | 22 | name: 'Inter', |
| 23 | data: await readFile(resolve(__fonts, 'Inter-Regular.otf')), | |
| 23 | data: await readFile(resolve(__fonts, 'Inter-Variable.ttf')), | |
| 24 | 24 | weight: 400, |
| 25 | 25 | style: 'normal' |
| 26 | }, | |
| 27 | { | |
| 28 | name: 'Inter', | |
| 29 | data: await readFile(resolve(__fonts, 'Inter-Medium.otf')), | |
| 30 | weight: 500, | |
| 31 | style: 'normal' | |
| 32 | }, | |
| 33 | { | |
| 34 | name: 'Inter', | |
| 35 | data: await readFile(resolve(__fonts, 'Inter-SemiBold.otf')), | |
| 36 | weight: 600, | |
| 37 | style: 'normal' | |
| 38 | }, | |
| 39 | { | |
| 40 | name: 'Inter', | |
| 41 | data: await readFile(resolve(__fonts, 'Inter-Bold.otf')), | |
| 42 | weight: 700, | |
| 43 | style: 'normal' | |
| 44 | 26 | } |
| 45 | 27 | ] |
| 46 | 28 | |