File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11--- 
22import  Default  from  ' @astrojs/starlight/components/Hero.astro' 
3- import  { Icon  } from  ' @astrojs/starlight/components' 
43import  MyIcon  from  ' ./MyIcon.astro' 
54
6- const =  [' ddotx' 
5+ 
6+ const =  await  fetch (' https://ghs.vercel.app/v2/sponsors/tomalaforge' 
7+ const =  await  sponsorFetch .json ();
78--- 
89
910<div  class =" sponsor-header button-hover" 
1011 <p >Big thanks to the people supporting this project:
11-  { sponsors .map ((sponsor :   string ) =>  (
12-  <a  href =`https://github.com/${sponsor }`> 
12+  { sponsors .past . map (({ username ,  avatar } ) =>  (
13+  <a  href =`https://github.com/${username }`> 
1314 <img 
1415 loading = " lazy" 
15-  src = { ` https://github.com/${ sponsor }.png?size=80 ` } 
16+  src = { avatar } 
1617 width = " 40" 
1718 height = " 40" 
18-  alt = { sponsor } 
19+  alt = { username } 
1920 class = " avatar" 
2021 />
2122 < / a > 
                         You can’t perform that action at this time. 
           
                  
0 commit comments