@@ -44,6 +44,10 @@ const pastDonators = [
4444 'Jarred' ,
4545 'Varun Suryawanshi' ] ;
4646
47+ const oneTimeDonators = [
48+ 'Paolo Caminiti' ,
49+ [ 'BayLanka' , 'https://baylanka.net' ] ] ;
50+
4751function Sponsor ( { sponsor} ) {
4852 return (
4953 < div className = { clsx ( 'col col--4' , styles . sponsor , 'padding-vert--md' ) } >
@@ -63,9 +67,11 @@ function Sponsor({sponsor}) {
6367 ) ;
6468}
6569
66- function Donator ( props ) {
70+ function Donator ( { info } ) {
6771 return (
68- < li > { props . name } </ li >
72+ Array . isArray ( info ) ?
73+ < li > < Link href = { info [ 1 ] } > { info [ 0 ] } </ Link > </ li > :
74+ < li > { info } </ li >
6975 ) ;
7076}
7177
@@ -88,15 +94,25 @@ export default function Sponsors() {
8894 < div className = "row" >
8995 < ul >
9096 { currentDonators . map ( ( props , idx ) => (
91- < Donator key = { idx } name = { props } />
97+ < Donator key = { idx } info = { props } />
9298 ) ) }
9399 </ ul >
94100 </ div >
95101 < h2 > Past</ h2 >
96102 < div className = "row" >
97103 < ul >
98104 { pastDonators . map ( ( props , idx ) => (
99- < Donator key = { idx } name = { props } />
105+ < Donator key = { idx } info = { props } />
106+ ) ) }
107+ </ ul >
108+ </ div >
109+ < h1 className = "margin-top--lg" > One-Time Donators</ h1 >
110+ < p > The following sponsors financially supported the founder of the CodeZri
111+ organization via Patreon or another payment channel with a one-time donation.</ p >
112+ < div className = "row" >
113+ < ul >
114+ { oneTimeDonators . map ( ( props , idx ) => (
115+ < Donator key = { idx } info = { props } />
100116 ) ) }
101117 </ ul >
102118 </ div >
0 commit comments