Skip to content

Commit 39b8937

Browse files
committed
chore: links
1 parent 59327ba commit 39b8937

File tree

3 files changed

+25
-14
lines changed

3 files changed

+25
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ Pinia is the most similar English pronunciation of the word _pineapple_ in Spani
4040

4141
<h4 align="center">Gold Sponsors</h4>
4242
<p align="center">
43-
<a href="https://www.coderabbit.ai/?utm_source=cr_org&utm_medium=github" target="_blank" rel="noopener noreferrer">
43+
<a href="https://www.coderabbit.ai/?utm_source=vuerouter&utm_medium=sponsor" target="_blank" rel="noopener noreferrer">
4444
<picture>
45-
<source srcset="https://posva-sponsors.pages.dev/logos/coderabbitai.svg" media="(prefers-color-scheme: dark)" height="72px" alt="CodeRabbit" />
46-
<img src="https://posva-sponsors.pages.dev/logos/coderabbitai.svg" height="72px" alt="CodeRabbit" />
45+
<source srcset="https://posva-sponsors.pages.dev/logos/coderabbitai-dark.svg" media="(prefers-color-scheme: dark)" height="72px" alt="CodeRabbit" />
46+
<img src="https://posva-sponsors.pages.dev/logos/coderabbitai-light.svg" height="72px" alt="CodeRabbit" />
4747
</picture>
4848
</a>
4949
</p>

packages/docs/.vitepress/theme/components/AsideSponsors.vue

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,30 @@ interface Sponsor {
1313
1414
const asideSponsors = computed(() => {
1515
return [
16+
...(sponsors.platinum.length
17+
? [
18+
{
19+
items: sponsors.platinum.map((sponsor: Sponsor) => ({
20+
name: sponsor.alt,
21+
url: sponsor.href,
22+
img: sponsor.imgSrcLight,
23+
})),
24+
},
25+
]
26+
: []),
1627
{
1728
size: 'mini',
18-
items: sponsors.platinum.length ? sponsors.platinum.map((sponsor: Sponsor) => ({
19-
name: sponsor.alt,
20-
url: sponsor.href,
21-
img: sponsor.imgSrcLight,
22-
})) : [
23-
{
29+
items: sponsors.gold
30+
.map((sponsor: Sponsor) => ({
31+
name: sponsor.alt,
32+
url: sponsor.href,
33+
img: sponsor.imgSrcLight,
34+
}))
35+
.concat({
2436
name: 'Become a sponsor',
2537
url: 'https://github.com/sponsors/posva',
26-
img: '/your-logo-here.svg'
27-
}
28-
],
38+
img: '/your-logo-here.svg',
39+
}),
2940
},
3041
{
3142
size: 'xmini',

packages/docs/.vitepress/theme/components/sponsors.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
{
55
"alt": "CodeRabbit",
66
"href": "https://www.coderabbit.ai/?utm_source=cr_org&utm_medium=github",
7-
"imgSrcDark": "https://posva-sponsors.pages.dev/logos/coderabbitai.svg",
8-
"imgSrcLight": "https://posva-sponsors.pages.dev/logos/coderabbitai.svg"
7+
"imgSrcDark": "https://posva-sponsors.pages.dev/logos/coderabbitai-dark.svg",
8+
"imgSrcLight": "https://posva-sponsors.pages.dev/logos/coderabbitai-light.svg"
99
}
1010
],
1111
"silver": [

0 commit comments

Comments
 (0)