Skip to content

Commit

Permalink
Update default embed
Browse files Browse the repository at this point in the history
  • Loading branch information
woducku committed Jan 4, 2025
1 parent 1ad3df0 commit 4717e84
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/hooks/opengraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ async function generateImage({
const { frontmatter, url } = page

const options: SatoriOptions = {
width: 1400,
height: 750,
width: 1942,
height: 1022,
fonts,
props: {
title:
Expand Down
4 changes: 2 additions & 2 deletions docs/.vitepress/hooks/satoriConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ const fonts: SatoriOptions['fonts'] = [
]

export default defineSatoriConfig({
width: 1400,
height: 750,
width: 1942,
height: 1022,
fonts,
props: {
title: 'Very Long Title so that I Can See How Shit Looks',
Expand Down
6 changes: 3 additions & 3 deletions docs/.vitepress/theme/components/OgImageTemplate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ defineProps<{ title: string; description?: string }>()
<template>
<span
tw="w-full h-full bg-black flex flex-col"
style="background-image: url(https://files.catbox.moe/lulxzs.png)">
style="background-image: url(https://files.catbox.moe/tzivg0.jpg)">
<span tw="p-10 w-full min-h-0 grow flex flex-col items-center justify-between">
<span tw="w-full flex justify-between items-center text-4xl font-medium">
<span tw="w-full flex justify-between items-center text-5xl font-medium">
<span tw="flex items-center">
<span tw="text-zinc-100 ml-2 mt-1 font-semibold">wotaku.wiki</span>
</span>
Expand All @@ -31,6 +31,6 @@ defineProps<{ title: string; description?: string }>()
<span style="color: #f7f7f7" tw="text-6xl font-bold" v-html="title" />
</span>
</span>
<span tw="shrink-0 h-2 w-full flex" style="background-color: #56b4fc" />
<span tw="shrink-0 h-2 w-full flex"/>
</span>
</template>
4 changes: 2 additions & 2 deletions docs/credits.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import Credits from './.vitepress/theme/components/Contributors.vue'
| **フカヒレ (Fukahire)** | [Hoshimachi Suisei](https://x.com/fuka_hire/status/1619998921757192195) | [Music banner](/qs#music) |
| **Huu** | [Rem](https://www.pixiv.net/en/artworks/79939625) | [Music banner](/music#radio) |
| **J.C.Staff** | [Taiga Aisaka](https://yande.re/post/show/46578) | [Music banner](/music#pc) |
| **可 (Ka / 996beshi)** | [15枚](https://www.pixiv.net/en/artworks/116320124) | Default link embed |
| **Kazuki Takahashi** | [Yami Yugi](https://www.zerochan.net/7739) | [Manga banner](/qs#manga) |
| **konijnsate** | [Moiré vs Non-Moiré Pattern Comparison](https://tips.clip-studio.com/en-us/articles/3489) | [Manga glossary example](/glossary/manga#artist-side) |
| **Kyoto Animation** | [Mio Akiyama](https://yande.re/post/show/255575) | [Music banner](/music#communities) |
Expand All @@ -57,7 +58,6 @@ import Credits from './.vitepress/theme/components/Contributors.vue'
| **tyasuzu** | [Ryo Yamada](https://www.pixiv.net/en/artworks/104004187) | [Music banner](/music#stream) |
| **WayForward** | [Risky Boots](https://shantae.fandom.com/wiki/Risky_Boots) | [PT banner](/websites#private-trackers) |
| **柱 (youamo)** | [Antonina](https://42lab-us.sunborngame.com/index) | [Music banner](/music#server) |
| **夕城 (Yuki)** | [Hoshimachi Suisei meteor shower](https://xfolio.jp/en/portfolio/yukiyasa1/works/3491276) | Link embed |


#### Previous Assets
Expand All @@ -84,7 +84,7 @@ import Credits from './.vitepress/theme/components/Contributors.vue'
| **TROYCA** | [Waver Velvet](https://yande.re/post/show/551600) | Fate banner |
| **티비아래underdatv** | [Smol Ina's diary](https://x.com/underdatv/status/1790765775349072046) | Favicon |
| **Walfie** | [Ninomae Ina’nis peek](https://x.com/ninomaeinanis/status/1339282161715691521) | General banner |

| **夕城 (Yuki)** | [Hoshimachi Suisei meteor shower](https://xfolio.jp/en/portfolio/yukiyasa1/works/3491276) | Default link embed |

== Glossary

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "biome lint .",
"lint:fix": "biome lint . --write",
"lint:fix:unsafe": "biome lint . --unsafe",
"og:dev": "x-satori -t ./docs/.vitepress/theme/components/OgImageTemplate.vue -c ./.vitepress/hooks/satoriConfig.ts --dev"
"og:dev": "x-satori -t ./docs/.vitepress/theme/components/OgImageTemplate.vue -c ./docs/.vitepress/hooks/satoriConfig.ts --dev"
},
"dependencies": {
"@fmhy/components": "^0.0.3",
Expand Down

0 comments on commit 4717e84

Please sign in to comment.