Commit cf5e401ea5

cf5e401ea52bcb5522d44fb83f20fb5b157584f7

parent: 64e2c278c3

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-07-10 09:26 UTC

light

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 <div tw='relative z-1 p-10 w-full min-h-0 grow flex flex-col items-center justify-between'> 12 <div tw='relative z-1 p-10 w-full min-h-0 grow flex flex-col items-center justify-between'>
13 <div tw='w-full flex justify-between items-center text-5xl font-medium'> 13 <div tw='w-full flex justify-between items-center text-5xl font-medium'>
14 <div tw='flex items-center'> 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 </div> 16 </div>
17 </div> 17 </div>
18 <div tw='w-full pr-56 flex flex-col items-start justify-end'> 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')
20const fonts: Font[] = [ 20const fonts: Font[] = [
21 { 21 {
22 name: 'Inter', 22 name: 'Inter',
23 data: await readFile(resolve(__fonts, 'Inter-Regular.otf')), 23 data: await readFile(resolve(__fonts, 'Inter-Variable.ttf')),
24 weight: 400, 24 weight: 400,
25 style: 'normal' 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