Skip to content

Commit db24761

Browse files
jemgillambenjie
authored andcommitted
initial tiers added
1 parent ede1576 commit db24761

File tree

2 files changed

+142
-7
lines changed

2 files changed

+142
-7
lines changed

src/components/MarketingTier.js

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import React from "react";
2+
3+
export default function MarketingTiers({ children }) {
4+
return (
5+
<div
6+
style={{
7+
display: "flex",
8+
flexDirection: "row",
9+
gap: "1rem",
10+
alignItems: "stretch",
11+
}}
12+
>
13+
{children}
14+
</div>
15+
);
16+
}
17+
18+
export class Tier extends React.Component {
19+
render() {
20+
const { name, price, tagline, href, description } = this.props;
21+
22+
return (
23+
<div
24+
style={{
25+
display: "flex",
26+
flexDirection: "column",
27+
justifyItems: "space-between",
28+
alignContent: "flex-start",
29+
backgroundColor: "white",
30+
margin: "0.5em",
31+
padding: "1rem",
32+
borderRadius: "12px",
33+
border: "4px solid #1b1b3d",
34+
color: "#1b3955",
35+
flex: "0 0 33%",
36+
}}
37+
>
38+
<h3>{name}</h3>
39+
<span>
40+
<span style={{ fontSize: "1.5rem" }}>{price}</span>{" "}
41+
<span style={{ fontSize: "0.8rem" }}>/month</span>
42+
</span>
43+
<div class="tc">
44+
<a class="button--solid" href={href}>
45+
Join on GitHub Sponsors{" "}
46+
<span class="fas fa-fw fa-external-link-square-alt" />
47+
</a>
48+
</div>
49+
<h4>{tagline}</h4>
50+
<div>
51+
<span>{description}</span>
52+
</div>
53+
</div>
54+
);
55+
}
56+
}

src/pages/sponsor.mdx

Lines changed: 86 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import MarketingProduct from "$components/MarketingProduct";
1616
import postgresPostgraphileGraphql from "$images/postgres_postgraphile_graphql.png";
1717
import Testimonial from "$components/MarketingTestimonial";
1818
import Sponsors, { Sponsor } from "$components/MarketingSponsor";
19+
import Tiers, { Tier } from "$components/MarketingTier";
1920

2021
<MarketingLayout blue>
2122
<Hero bg="medium">
@@ -216,20 +217,98 @@ directed and financially sustainable.
216217
to come is through monthly sponsorship.** Crowd-sourced funding enables us to spend the
217218
most time directly working on improving the software, which you and other users then benefit from.
218219

219-
<div class="flex">
220-
<a class="button--solid" href="https://github.com/users/benjie/sponsorship">
221-
Become a Sponsor <span class="fas fa-fw fa-external-link-square-alt" />
222-
</a>
223-
</div>
224-
225220
</MarketingSection>
226221
<MarketingDivide from="dark" to="medium" via="light" down/>
227222
<MarketingSection bg="medium" left maxWidth>
228223

229-
230224
### Sponsor tiers and benefits
231225

226+
As well as ensuring the sustainability and longevity of PostGraphile and the wider Graphile
227+
suite of developer tooling, sponsorship also gives you or your company some additional benefits
228+
such as access to security announcements and being featured in the README files of Graphile’s
229+
main open source projects. Choose the tier which matches your funding goal, higher tiers come
230+
with more benefits.
232231

232+
</MarketingSection>
233+
234+
<MarketingSection bg="medium" left>
235+
236+
<Tiers>
237+
<Tier
238+
name="Supporter"
239+
price="$25"
240+
tagline="Thank you!"
241+
href="https://github.com/sponsors/benjie/sponsorships?tier_id=369"
242+
description={<ul>
243+
<li>Your name on the Graphile Sponsors page</li>
244+
<li>Graphile stickers</li>
245+
<li>Your name among those randomly featured in the PostGraphile CLI</li>
246+
<li>Post job opportunities to our Discord community</li>
247+
<li>Access to the #supporter-lounge on Discord</li>
248+
<li>The warm feeling from knowing you’re supporting Open Source Software</li>
249+
</ul>}
250+
/>
251+
<Tier
252+
name="Production Sponsor"
253+
price="$100"
254+
tagline="Support sustainability"
255+
href="https://github.com/sponsors/benjie/sponsorships?tier_id=368"
256+
description={<ul>
257+
<li>The Supporter tier benefits and...</li>
258+
<li>
259+
Access to <strong>private security announcements</strong>
260+
</li>
261+
<li>
262+
Free access to <a href="https://postgraphile.org/pricing"><strong>PostGraphile V4 Pro</strong></a> and <a href="https://worker.graphile.org/pricing"><strong>Worker Pro</strong></a>
263+
</li>
264+
<li>Access to <a href="https://github.com/graphile-pro"><strong>graphile-pro</strong></a></li>
265+
<li>
266+
Your name and <strong>avatar/logo</strong> featured on our websites
267+
</li>
268+
<li>
269+
Your name <strong>more frequently featured</strong> in the
270+
PostGraphile CLI
271+
</li>
272+
<li>
273+
The warm feeling that comes from knowing you’re making a difference
274+
to the sustainability of the Graphile suite of tooling
275+
</li>
276+
</ul>}
277+
/>
278+
<Tier
279+
name="Featured Sponsor"
280+
price="$500"
281+
tagline="Get featured in the project"
282+
href="https://github.com/sponsors/benjie/sponsorships?tier_id=367"
283+
description={<ul>
284+
<li>The Production tier benefits and...</li>
285+
<li>
286+
Your name and avatar/logo <strong>
287+
featured in the READMEs of Graphile’s main OSS projects</strong> (shown on GitHub and npm)
288+
</li>
289+
<li>
290+
Your name and <strong>avatar/logo prominently featured </strong>on our websites
291+
</li>
292+
<li>
293+
Your name <strong>even more frequently featured</strong> in the PostGraphile CLI
294+
</li>
295+
<li>
296+
Access to <strong>#vip-lounge</strong> on Discord
297+
</li>
298+
<li>
299+
Free access to <strong>
300+
<a href="https://pgrita.com">pgRITA</a>
301+
</strong>
302+
</li>
303+
<li>
304+
The warm feeling that comes from knowing{" "}
305+
<strong>
306+
you’re making a significant difference to the development and sustainability of
307+
PostGraphile, Gra<em>fast</em>, and the wider suite of Graphile developer tooling</strong>
308+
</li>
309+
</ul>}
310+
/>
311+
</Tiers>
233312

234313

235314

0 commit comments

Comments
 (0)