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
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 >
Original file line number Diff line number Diff line change @@ -13,19 +13,30 @@ interface Sponsor {
1313
1414const 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' ,
Original file line number Diff line number Diff line change 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" : [
You can’t perform that action at this time.
0 commit comments