File tree Expand file tree Collapse file tree 3 files changed +25
-14
lines changed
packages/docs/.vitepress/theme/components Expand file tree Collapse file tree 3 files changed +25
-14
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ Pinia is the most similar English pronunciation of the word _pineapple_ in Spani
40
40
41
41
<h4 align =" center " >Gold Sponsors</h4 >
42
42
<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">
44
44
<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" />
47
47
</picture>
48
48
</a >
49
49
</p >
Original file line number Diff line number Diff line change @@ -13,19 +13,30 @@ interface Sponsor {
13
13
14
14
const asideSponsors = computed (() => {
15
15
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
+ : []),
16
27
{
17
28
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 ({
24
36
name: ' Become a sponsor' ,
25
37
url: ' https://github.com/sponsors/posva' ,
26
- img: ' /your-logo-here.svg'
27
- }
28
- ],
38
+ img: ' /your-logo-here.svg' ,
39
+ }),
29
40
},
30
41
{
31
42
size: ' xmini' ,
Original file line number Diff line number Diff line change 4
4
{
5
5
"alt" : " CodeRabbit" ,
6
6
"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"
9
9
}
10
10
],
11
11
"silver" : [
You can’t perform that action at this time.
0 commit comments