Skip to content

Commit

Permalink
Added hiring and donation link to sponsorship page (#235)
Browse files Browse the repository at this point in the history
* Added hiring and donation link to sponsorship page

* Add background color to second section Sponsor Us page

---------

Co-authored-by: mayra lucia navarro <[email protected]>
  • Loading branch information
egiurleo and luciagirasoles authored Jul 1, 2024
1 parent 6865c23 commit ef3b543
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions app/javascript/components/pages/SponsorUs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React from 'react';
import { Helmet } from 'react-helmet-async';
import SharedLayout from 'components/layout/SharedLayout';
import PageTitleWithContainer from 'components/PageTitleWithContainer';
import Card from 'components/Card';
import Button from 'components/Button';

const SponsorUs = () => (
<>
Expand All @@ -11,12 +13,53 @@ const SponsorUs = () => (

<SharedLayout>
<PageTitleWithContainer text="Sponsor Us" />
<div className="-mt-8">
<section className="container flex flex-col mx-auto md:max-w-[50rem] lg:max-w-[60rem] sponsorship-options">
<h2 className="px-10 text-2xl font-bold my-2">Sponsorship tiers</h2>

<stripe-pricing-table
pricing-table-id="prctbl_1PSlcMBHbLqUjvnWol3sB6vA"
publishable-key="pk_live_51JmdS1BHbLqUjvnWRLnx9KBZtHWLWHe67N3OpsV0FERko2K4lAZ6oyEo4pIq84YIMQPUJ8K1FY1UevXjZZPsiloq00EYai7JBQ"
/>
</div>
</section>

<section className="mt-12 lg:mt-28 bg-wnbrb-pink-light">
<div className="container mx-auto flex flex-col md:flex-row gap-8 xl:gap-16 py-20 px-10 lg:px-8 xl:px-12">
<Card className="w-100 md:w-1/2 flex-1 flex flex-col">
<h2 className="text-2xl font-bold mb-2">Hire from WNB.rb</h2>
<p className="mb-8 grow">
Even if you aren&apos;t a sponsor, you can hire from our community by
posting your open jobs on our job board.
</p>
<a
href="https://buy.stripe.com/28o4gW9cZ7oKbwQ7sJ"
target="_blank"
rel="noopener noreferrer"
>
<Button type="primary" className="max-w-[8rem] ">
Post a job
</Button>
</a>
</Card>

<Card className="w-100 md:w-1/2 flex-1 flex flex-col">
<h2 className="text-2xl font-bold mb-2">Make a donation</h2>
<p className="mb-8 grow">
Not ready to sponsor WNB.rb? That&apos;s okay! We&apos;d still greatly
appreciate a donation of any amount. All the money we earn goes back
into the community.
</p>
<a
href="https://buy.stripe.com/aEU3cS3SF9wS0ScdR5"
target="_blank"
rel="noopener noreferrer"
>
<Button type="primary" className="max-w-[8rem] ">
Donate
</Button>
</a>
</Card>
</div>
</section>
</SharedLayout>
</>
);
Expand Down

0 comments on commit ef3b543

Please sign in to comment.