From 4717e843cb692225d0fbb6065906d5f0fbb55756 Mon Sep 17 00:00:00 2001 From: Duck <57977673+woducku@users.noreply.github.com> Date: Sat, 4 Jan 2025 15:13:13 +0600 Subject: [PATCH] Update default embed --- docs/.vitepress/hooks/opengraph.ts | 4 ++-- docs/.vitepress/hooks/satoriConfig.ts | 4 ++-- docs/.vitepress/theme/components/OgImageTemplate.vue | 6 +++--- docs/credits.md | 4 ++-- package.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/.vitepress/hooks/opengraph.ts b/docs/.vitepress/hooks/opengraph.ts index 1659f9848a..c3ab106be7 100644 --- a/docs/.vitepress/hooks/opengraph.ts +++ b/docs/.vitepress/hooks/opengraph.ts @@ -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: diff --git a/docs/.vitepress/hooks/satoriConfig.ts b/docs/.vitepress/hooks/satoriConfig.ts index d668038f23..502c900c49 100644 --- a/docs/.vitepress/hooks/satoriConfig.ts +++ b/docs/.vitepress/hooks/satoriConfig.ts @@ -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', diff --git a/docs/.vitepress/theme/components/OgImageTemplate.vue b/docs/.vitepress/theme/components/OgImageTemplate.vue index 8f344475b5..98d06bd8a3 100644 --- a/docs/.vitepress/theme/components/OgImageTemplate.vue +++ b/docs/.vitepress/theme/components/OgImageTemplate.vue @@ -20,9 +20,9 @@ defineProps<{ title: string; description?: string }>() diff --git a/docs/credits.md b/docs/credits.md index ba8012d544..d60d722d75 100644 --- a/docs/credits.md +++ b/docs/credits.md @@ -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) | @@ -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 @@ -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 diff --git a/package.json b/package.json index 1232a25829..7248b566e1 100644 --- a/package.json +++ b/package.json @@ -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",