From: Eduardo San Martin Morote Date: Thu, 10 Apr 2025 13:47:07 +0000 (+0200) Subject: chore: links X-Git-Tag: @pinia/nuxt@0.11.1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39b893758fd00221824568469064015315b40d40;p=thirdparty%2Fvuejs%2Fpinia.git chore: links --- diff --git a/README.md b/README.md index ccaa690f..73a5ccd8 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,10 @@ Pinia is the most similar English pronunciation of the word _pineapple_ in Spani

Gold Sponsors

- + - - CodeRabbit + + CodeRabbit

diff --git a/packages/docs/.vitepress/theme/components/AsideSponsors.vue b/packages/docs/.vitepress/theme/components/AsideSponsors.vue index fdda8419..1c0729dc 100644 --- a/packages/docs/.vitepress/theme/components/AsideSponsors.vue +++ b/packages/docs/.vitepress/theme/components/AsideSponsors.vue @@ -13,19 +13,30 @@ interface Sponsor { const asideSponsors = computed(() => { return [ + ...(sponsors.platinum.length + ? [ + { + items: sponsors.platinum.map((sponsor: Sponsor) => ({ + name: sponsor.alt, + url: sponsor.href, + img: sponsor.imgSrcLight, + })), + }, + ] + : []), { size: 'mini', - items: sponsors.platinum.length ? sponsors.platinum.map((sponsor: Sponsor) => ({ - name: sponsor.alt, - url: sponsor.href, - img: sponsor.imgSrcLight, - })) : [ - { + items: sponsors.gold + .map((sponsor: Sponsor) => ({ + name: sponsor.alt, + url: sponsor.href, + img: sponsor.imgSrcLight, + })) + .concat({ name: 'Become a sponsor', url: 'https://github.com/sponsors/posva', - img: '/your-logo-here.svg' - } - ], + img: '/your-logo-here.svg', + }), }, { size: 'xmini', diff --git a/packages/docs/.vitepress/theme/components/sponsors.json b/packages/docs/.vitepress/theme/components/sponsors.json index 0586eca4..bd35077c 100644 --- a/packages/docs/.vitepress/theme/components/sponsors.json +++ b/packages/docs/.vitepress/theme/components/sponsors.json @@ -4,8 +4,8 @@ { "alt": "CodeRabbit", "href": "https://www.coderabbit.ai/?utm_source=cr_org&utm_medium=github", - "imgSrcDark": "https://posva-sponsors.pages.dev/logos/coderabbitai.svg", - "imgSrcLight": "https://posva-sponsors.pages.dev/logos/coderabbitai.svg" + "imgSrcDark": "https://posva-sponsors.pages.dev/logos/coderabbitai-dark.svg", + "imgSrcLight": "https://posva-sponsors.pages.dev/logos/coderabbitai-light.svg" } ], "silver": [