Skip to content

Commit e025199

Browse files
committed
Update TiersPlus to include annual plan
1 parent ac811a8 commit e025199

File tree

3 files changed

+129
-55
lines changed

3 files changed

+129
-55
lines changed

website/src/components/TiersPlus/index.js

Lines changed: 39 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,28 @@ const TierList = [
1111
was: "$1,500",
1212
link: "https://github.com/sponsors/benjie/sponsorships?tier_id=42012",
1313
buttonText: "",
14-
frequency: "per month",
15-
comparison: "",
14+
frequency: "/mo",
15+
comparison: "Cancel any time",
16+
badge: "Updated August 2025",
1617
description: (
1718
<>
1819
<ul>
19-
<li>All the benefits of a Featured Sponsor and...</li>
20-
<li>One-to-one access to the Graphile team throughout the year </li>
2120
<li>
22-
<strong>Priority support straight from the maintainer</strong>
21+
Start today with <strong>payment through GitHub</strong>
2322
</li>
2423
<li>
25-
Add the Graphile team to your chat server for timely responses
24+
<strong>Flexible</strong>
25+
</li>
26+
<li>New lower price for 2025</li>
27+
<li>
28+
<strong>Predictable monthly cost</strong> with no surprises
2629
</li>
27-
<li>Add the Graphile team to your GitHub/GitLab organization</li>
28-
<li>Reference your code verbatim</li>
29-
<li>Calls arranged as required</li>
30-
<li>NDA available</li>
3130
<li>
3231
<strong>Access to discounted consultancy packages</strong>
3332
</li>
3433
<li>
35-
The warm feeling that comes from knowing{" "}
36-
<strong>
37-
you’re making a significant difference to Graphile Worker’s
38-
development and sustainability
39-
</strong>
34+
Includes a <strong>formal contract</strong> for your procurement
35+
process
4036
</li>
4137
</ul>
4238
</>
@@ -45,38 +41,35 @@ const TierList = [
4541
{
4642
title: "Annual Plan",
4743
tagline: "Maximum savings with full year commitment",
48-
pricing: "$9,999",
49-
was: "$11,988",
44+
pricing: "$899",
45+
hint: "10% discount",
46+
//was: "$11,988",
5047
link: "mailto:team@graphile.com?subject=Private%20Advisor%20enquiry",
5148
buttonText: "",
52-
frequency: "per year",
53-
comparison: "That's just $833.25/month",
54-
badge: "Best Value - Save $1,999 ",
49+
frequency: "/mo",
50+
comparison: "Paid annually — $10,788/yr",
51+
badge: "Best Value Save $1,999",
5552
featured: true,
5653
description: (
5754
<>
5855
<ul>
59-
<li>All the benefits of a Featured Sponsor and...</li>
60-
<li>One-to-one access to the Graphile team throughout the year </li>
6156
<li>
62-
<strong>Priority support straight from the maintainer</strong>
57+
<strong>Lock in your rate</strong> for a full year
58+
</li>
59+
60+
<li>
61+
<strong>Save money</strong> — pay once, enjoy the lowest rate
6362
</li>
6463
<li>
65-
Add the Graphile team to your chat server for timely responses
64+
<strong>One invoice, one payment</strong> — no monthly admin
65+
headaches
6666
</li>
67-
<li>Add the Graphile team to your GitHub/GitLab organization</li>
68-
<li>Reference your code verbatim</li>
69-
<li>Calls arranged as required</li>
70-
<li>NDA available</li>
7167
<li>
7268
<strong>Access to discounted consultancy packages</strong>
7369
</li>
7470
<li>
75-
The warm feeling that comes from knowing{" "}
76-
<strong>
77-
you’re making a significant difference to Graphile Worker’s
78-
development and sustainability
79-
</strong>
71+
Includes a <strong>formal contract</strong> for your procurement
72+
process
8073
</li>
8174
</ul>
8275
</>
@@ -96,21 +89,26 @@ function Tier({
9689
comparison,
9790
badge,
9891
featured,
92+
hint,
9993
}) {
10094
return (
10195
<div className={clsx(styles.tier, featured ? styles.featured : null)}>
10296
{badge ? <div className={styles.badge}>{badge}</div> : null}
10397
<div className={styles.banner}>
10498
<div className={styles.info}>
10599
<h2 className={styles.title}>{title}</h2>
106-
<h3 className={styles.tagline}>{tagline}</h3>
107-
<h3 className={styles.tagline}>
108-
<span className={styles.was}>{was}</span>
109-
<br />
110-
<span className={styles.price}>{pricing}</span>&nbsp;
111-
<span className={styles.note}>{frequency}</span>
100+
<div className={styles.tagline}>{tagline}</div>
101+
<div className={styles.priceline}>
102+
{was ? <span className={styles.was}>{was}</span> : null}{" "}
103+
<span className={styles.price}>
104+
{pricing}
105+
<span className={styles.pricesub}>{frequency}</span>
106+
</span>
107+
{hint ? <span className={styles.hint}>{hint}</span> : null}
108+
</div>
109+
<div className={styles.qualifierline}>
112110
<span className={styles.note}>{comparison}</span>
113-
</h3>
111+
</div>
114112
</div>
115113
<div className={styles.info}>
116114
<Link
@@ -121,7 +119,7 @@ function Tier({
121119
</Link>
122120
</div>
123121
</div>
124-
<p>{description}</p>
122+
<div className={styles.description}>{description}</div>
125123
</div>
126124
);
127125
}

website/src/components/TiersPlus/styles.module.css

Lines changed: 67 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.tiers {
22
display: flex;
3-
width: 100%;
4-
flex-direction: row;
3+
flex-direction: column;
54
}
65

76
.tierRow {
@@ -14,7 +13,7 @@
1413
position: relative;
1514
display: flex;
1615
flex-direction: column;
17-
flex: 0 0 33%;
16+
flex: 0 0 40%;
1817
justify-content: flex-start;
1918
align-items: flex-start;
2019
font-weight: normal;
@@ -24,23 +23,37 @@
2423
border: 2px solid var(--ifm-color-primary-darker);
2524
border-radius: 12px;
2625
&.featured {
27-
background-color: #fff4ec;
26+
background-color: #fff9f5;
2827
border: 3px solid var(--ifm-color-primary);
2928
}
3029
}
3130

31+
.hint {
32+
background: rgb(230, 246, 230);
33+
color: rgb(0, 49, 0);
34+
padding: 0 0.8rem 0.1rem;
35+
font-size: 0.8rem;
36+
border-radius: calc(infinity * 1px);
37+
margin-left: 1rem;
38+
height: 1.5rem;
39+
}
40+
3241
.badge {
33-
position: absolute;
42+
/* position: absolute;
3443
left: 50%;
3544
top: 0%;
36-
transform: translate(-50%, -50%);
45+
transform: translate(-50%, -50%); */
46+
margin: -1.8rem 0 0;
3747
background-color: white;
3848
border-radius: calc(infinity * 1px);
39-
padding: 0.4rem;
49+
border: 1px solid var(--ifm-color-primary-darker);
50+
padding: 0rem 0.8rem 0.1rem;
4051
.featured & {
4152
background-color: var(--ifm-color-primary);
53+
border: 1px solid var(--ifm-color-primary);
4254
color: white;
4355
font-weight: bold;
56+
margin: -1.8rem auto 0;
4457
}
4558
}
4659

@@ -53,23 +66,35 @@
5366
width: 100%;
5467
justify-content: space-between;
5568
flex-direction: column;
69+
margin-top: 0.2rem;
5670
}
5771

5872
.info {
5973
display: flex;
6074
flex-direction: column;
6175
justify-content: flex-start;
62-
align-items: flex-start;
76+
align-items: center;
77+
> * {
78+
text-align: center;
79+
}
6380
}
6481

6582
.title {
6683
color: var(--ifm-color-primary-darker);
84+
font-size: 2rem;
85+
font-weight: bold;
86+
.featured & {
87+
color: var(--ifm-color-primary);
88+
}
6789
}
6890

6991
.note {
70-
font-size: 0.8rem;
92+
font-size: 0.9rem;
7193
color: var(--ifm-color-primary-darker);
7294
font-weight: var(--ifm-font-weight-base);
95+
.featured & {
96+
color: var(--ifm-color-primary);
97+
}
7398
}
7499

75100
[data-theme="dark"] .title,
@@ -78,16 +103,34 @@
78103
}
79104

80105
.tagline {
106+
text-align: center;
107+
font-size: 1rem;
108+
}
109+
110+
.priceline {
81111
font-weight: var(--ifm-heading-font-weight);
112+
text-align: center;
113+
font-size: 2rem;
114+
display: flex;
115+
align-items: center;
82116
}
83117

84118
.price {
85119
font-weight: bold;
86120
}
87121

122+
.pricesub {
123+
font-size: 1rem;
124+
color: var(--ifm-color-primary-darker);
125+
.featured & {
126+
color: var(--ifm-color-primary);
127+
}
128+
}
129+
88130
.was {
89131
color: var(--ifm-color-gray-400);
90132
text-decoration: line-through;
133+
margin-right: 1rem;
91134
}
92135

93136
[data-theme="dark"] .was {
@@ -99,27 +142,37 @@
99142
padding: 0.5rem 0 0.5rem 0;
100143
}
101144

145+
.description li::marker {
146+
font-size: 20px;
147+
color: var(--ifm-color-primary-darker);
148+
content: "✓ ";
149+
}
150+
102151
.button {
103152
width: 100%;
104-
margin: 0 0 1rem 0;
153+
margin: 1rem 0 0 0;
105154
}
106155

107-
.tier .button {
156+
.button {
108157
background-color: var(--ifm-color-primary-darker);
109158
border-color: var(--ifm-color-primary-darker);
159+
.featured & {
160+
background-color: var(--ifm-color-primary);
161+
border-color: var(--ifm-color-primary);
162+
}
110163
}
111164

112-
.tier .button:hover {
165+
.button:hover {
113166
background-color: var(--ifm-color-primary-darkest);
114167
border-color: var(--ifm-color-primary-darkest);
115168
}
116169

117-
[data-theme="dark"] .tier .button {
170+
[data-theme="dark"] .button {
118171
background-color: var(--ifm-color-primary);
119172
border-color: var(--ifm-color-primary);
120173
}
121174

122-
[data-theme="dark"] .tier .button:hover {
175+
[data-theme="dark"] .button:hover {
123176
border: 1px solid var(--ifm-color-primary-lightest);
124177
background-color: var(--ifm-color-primary-lightest);
125178
}

website/src/pages/sponsors.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,27 @@ wider Graphile suite, and other tools in the ecosystem such as TypeScript, SQL,
119119
Node.js, GraphQL and more. If you’re running any of the Graphile tools, you
120120
won’t find anyone more qualified to help.
121121

122+
<ul>
123+
<li>All the benefits of a Featured Sponsor and...</li>
124+
<li>One-to-one access to the Graphile team throughout the year </li>
125+
<li>
126+
<strong>Priority support straight from the maintainer</strong>
127+
</li>
128+
<li>Add the Graphile team to your chat server for timely responses</li>
129+
<li>Add the Graphile team to your GitHub/GitLab organization</li>
130+
<li>Reference your code verbatim</li>
131+
<li>Calls arranged as required</li>
132+
<li>NDA available</li>
133+
<li>
134+
<strong>Access to discounted consultancy packages</strong>
135+
</li>
136+
<li>
137+
The warm feeling that comes from knowing{" "}
138+
<strong>
139+
you’re making a significant difference to Graphile Worker’s development
140+
and sustainability
141+
</strong>
142+
</li>
143+
</ul>
144+
122145
<TierPlusList />

0 commit comments

Comments
 (0)