From df22b92a4c0ae87b88ec0f383e303c4073d73c3e Mon Sep 17 00:00:00 2001 From: Shalitha Suranga Date: Thu, 26 Sep 2024 18:56:27 +0530 Subject: [PATCH] Update the sponsors page --- src/components/Sponsors.js | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/components/Sponsors.js b/src/components/Sponsors.js index 7ac71a4..63ed097 100644 --- a/src/components/Sponsors.js +++ b/src/components/Sponsors.js @@ -44,6 +44,10 @@ const pastDonators = [ 'Jarred', 'Varun Suryawanshi']; +const oneTimeDonators = [ + 'Paolo Caminiti', + ['BayLanka', 'https://baylanka.net']]; + function Sponsor({sponsor}) { return (
@@ -63,9 +67,11 @@ function Sponsor({sponsor}) { ); } -function Donator(props) { +function Donator({info}) { return ( -
  • {props.name}
  • + Array.isArray(info) ? +
  • {info[0]}
  • : +
  • {info}
  • ); } @@ -88,7 +94,7 @@ export default function Sponsors() {
      {currentDonators.map((props, idx) => ( - + ))}
    @@ -96,7 +102,17 @@ export default function Sponsors() {
      {pastDonators.map((props, idx) => ( - + + ))} +
    +
    +

    One-Time Donators

    +

    The following sponsors financially supported the founder of the CodeZri + organization via Patreon or another payment channel with a one-time donation.

    +
    +
      + {oneTimeDonators.map((props, idx) => ( + ))}