Commit ded774743c
Unsigned
Layout: unified · split
docs/.vitepress/configs/hooks/OgImageTemplate.tsx +2 −1
| @@ -14,6 +14,7 @@ export function OgImageTemplate({ title, image }: OgImageTemplateProps) { | |||
| 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-semibold'>wotaku.wiki</div> |
| 16 | </div> | 16 | </div> |
| 17 | <img tw='h-12 w-12' src='/asset/logo.svg' /> | ||
| 17 | </div> | 18 | </div> |
| 18 | <div tw='w-full pr-56 flex flex-col items-start justify-end'> | 19 | <div tw='w-full pr-56 flex flex-col items-start justify-end'> |
| 19 | <div tw='text-[#f7f7f7] text-6xl font-bold'>{title}</div> | 20 | <div tw='text-[#f7f7f7] text-6xl font-bold'>{title}</div> |
| @@ -22,4 +23,4 @@ export function OgImageTemplate({ title, image }: OgImageTemplateProps) { | |||
| 22 | <div tw='shrink-0 h-2 w-full flex' /> | 23 | <div tw='shrink-0 h-2 w-full flex' /> |
| 23 | </div> | 24 | </div> |
| 24 | ) | 25 | ) |
| 25 | } | 26 | }\ No newline at end of file |