|
| 1 | +import Link from "@docusaurus/Link"; |
| 2 | +import styles from "@site/src/components/Tiers/styles.module.css"; |
| 3 | +import clsx from "clsx"; |
| 4 | +import React from "react"; |
| 5 | + |
| 6 | +const TierList = [ |
| 7 | + { |
| 8 | + title: "Supporter", |
| 9 | + tagline: "Thank you!", |
| 10 | + pricing: "$25", |
| 11 | + link: "https://github.com/sponsors/benjie/sponsorships?tier_id=369", |
| 12 | + buttonText: "", |
| 13 | + description: ( |
| 14 | + <> |
| 15 | + <ul> |
| 16 | + <li> |
| 17 | + Your name on the{" "} |
| 18 | + <Link to="https://graphile.org/sponsor"> |
| 19 | + Graphile Sponsors page |
| 20 | + </Link>{" "} |
| 21 | + </li> |
| 22 | + <li>Post job opportunities to our Discord community</li> |
| 23 | + <li>Graphile Worker stickers</li> |
| 24 | + <li>Access to the #supporter-lounge on Discord</li> |
| 25 | + <li> |
| 26 | + The warm feeling from knowing you’re supporting Open Source Software |
| 27 | + </li> |
| 28 | + </ul> |
| 29 | + </> |
| 30 | + ), |
| 31 | + }, |
| 32 | + { |
| 33 | + title: "Production Sponsor", |
| 34 | + tagline: "Support sustainability", |
| 35 | + pricing: "$100", |
| 36 | + link: "https://github.com/sponsors/benjie/sponsorships?tier_id=368", |
| 37 | + buttonText: "", |
| 38 | + description: ( |
| 39 | + <> |
| 40 | + <ul> |
| 41 | + <li>The Supporter tier benefits and...</li> |
| 42 | + <li> |
| 43 | + Access to <strong>private security announcements</strong> |
| 44 | + </li> |
| 45 | + <li> |
| 46 | + Free access to{" "} |
| 47 | + <strong> |
| 48 | + <Link to="/pricing">Worker Pro</Link> |
| 49 | + </strong> |
| 50 | + </li> |
| 51 | + <li> |
| 52 | + Access to{" "} |
| 53 | + <Link to="https://github.com/graphile-pro"> |
| 54 | + <strong>graphile-pro</strong> |
| 55 | + </Link> |
| 56 | + </li> |
| 57 | + <li> |
| 58 | + Your name and <strong>avatar/logo</strong> featured on our websites, |
| 59 | + including this one |
| 60 | + </li> |
| 61 | + <li> |
| 62 | + The warm feeling that comes from knowing you’re making a difference |
| 63 | + to Graphile Worker’s development and sustainability |
| 64 | + </li> |
| 65 | + </ul> |
| 66 | + </> |
| 67 | + ), |
| 68 | + }, |
| 69 | + { |
| 70 | + title: "Featured Sponsor", |
| 71 | + tagline: "Get featured in the project", |
| 72 | + pricing: "$500", |
| 73 | + link: "https://github.com/sponsors/benjie/sponsorships?tier_id=367", |
| 74 | + buttonText: "", |
| 75 | + description: ( |
| 76 | + <> |
| 77 | + <ul> |
| 78 | + <li>The Production tier benefits and...</li> |
| 79 | + <li> |
| 80 | + Your name and avatar/logo{" "} |
| 81 | + <strong> |
| 82 | + featured in the READMEs of Graphile’s main OSS projects |
| 83 | + </strong>{" "} |
| 84 | + (shown on GitHub and npm) |
| 85 | + </li> |
| 86 | + <li> |
| 87 | + Your name and <strong>avatar/logo prominently featured </strong>on |
| 88 | + our websites |
| 89 | + </li> |
| 90 | + <li> |
| 91 | + Access to <strong>#vip-lounge</strong> on Discord |
| 92 | + </li> |
| 93 | + <li> |
| 94 | + Free access to{" "} |
| 95 | + <strong> |
| 96 | + <Link to="https://pgrita.com">pgRITA</Link> |
| 97 | + </strong> |
| 98 | + </li> |
| 99 | + <li> |
| 100 | + The warm feeling that comes from knowing{" "} |
| 101 | + <strong> |
| 102 | + you’re making a significant difference to Graphile Worker’s |
| 103 | + development and sustainability |
| 104 | + </strong> |
| 105 | + </li> |
| 106 | + </ul> |
| 107 | + </> |
| 108 | + ), |
| 109 | + }, |
| 110 | +]; |
| 111 | + |
| 112 | +function Tier({ title, tagline, link, buttonText, description, pricing }) { |
| 113 | + return ( |
| 114 | + <div className={styles.tier}> |
| 115 | + <h2 className={styles.title}>{title}</h2> |
| 116 | + <h3 className={styles.tagline}> |
| 117 | + <span className={styles.price}>{pricing}</span> |
| 118 | + <span className={styles.note}>/month</span> |
| 119 | + </h3> |
| 120 | + <Link |
| 121 | + className={clsx("button button--primary button--lg", styles.button)} |
| 122 | + to={link} |
| 123 | + > |
| 124 | + {buttonText} |
| 125 | + </Link> |
| 126 | + <h3 className={styles.tagline}>{tagline}</h3> |
| 127 | + <p>{description}</p> |
| 128 | + </div> |
| 129 | + ); |
| 130 | +} |
| 131 | + |
| 132 | +export default function List() { |
| 133 | + return ( |
| 134 | + <div className={clsx("", styles.tiers)}> |
| 135 | + <div className={clsx(styles.tierRow)}> |
| 136 | + {TierList.map((props, idx) => ( |
| 137 | + <Tier key={idx} {...props} /> |
| 138 | + ))} |
| 139 | + </div> |
| 140 | + </div> |
| 141 | + ); |
| 142 | +} |
0 commit comments