@@ -1,90 +1,90 @@ |
| 1 | 1 | {{ define "page" -}} |
| 2 | | -<section class="shithub-auth shithub-auth-plans"> |
| 2 | +<section class="shithub-org-plan-page"> |
| 3 | + <p class="shithub-org-plan-kicker">Choose a plan</p> |
| 3 | 4 | <h1>Pick a plan for your organization</h1> |
| 4 | | - <p class="shithub-auth-aside">Start free, or choose Team if you want paid organization features and hosted billing from the beginning.</p> |
| 5 | + <p class="shithub-org-plan-lede">Start with Free for public and basic private collaboration, or choose Team when your organization needs paid controls from the beginning.</p> |
| 5 | 6 | {{ if .Error }}<p class="shithub-flash shithub-flash-error" role="alert">{{ .Error }}</p>{{ end }} |
| 6 | 7 | |
| 7 | 8 | <div class="shithub-billing-plan-grid"> |
| 8 | | - <section class="Box"> |
| 9 | | - <div class="Box-header"><h2 class="Box-title">Free</h2></div> |
| 10 | | - <div class="Box-body"> |
| 11 | | - <p><strong>$0</strong> USD per user/month</p> |
| 12 | | - <p>Basic organizations for public work, visible teams, and standard collaboration.</p> |
| 13 | | - <p><a href="/organizations/new?plan=free" class="shithub-button">Create a free organization</a></p> |
| 9 | + <section class="shithub-pricing-card"> |
| 10 | + <div class="shithub-pricing-card-head"> |
| 11 | + <h2>Free</h2> |
| 12 | + <p>For individuals and small open-source organizations.</p> |
| 14 | 13 | </div> |
| 14 | + <p class="shithub-pricing-price"><span>$0</span> USD <small>per user/month</small></p> |
| 15 | + <p><a href="/organizations/new?plan=free" class="shithub-button">Create a free organization</a></p> |
| 16 | + <ul class="shithub-pricing-features"> |
| 17 | + <li>{{ octicon "check" }} Public and private org repositories</li> |
| 18 | + <li>{{ octicon "check" }} Org members and invitations</li> |
| 19 | + <li>{{ octicon "check" }} Visible teams</li> |
| 20 | + <li>{{ octicon "check" }} Basic branch protection</li> |
| 21 | + <li>{{ octicon "dash" }} Upgrade for secret teams</li> |
| 22 | + </ul> |
| 15 | 23 | </section> |
| 16 | 24 | |
| 17 | | - <section class="Box"> |
| 18 | | - <div class="Box-header"><h2 class="Box-title">Team</h2></div> |
| 19 | | - <div class="Box-body"> |
| 20 | | - <p><strong>$4</strong> USD per active member/month</p> |
| 21 | | - <p>Unlock secret teams, advanced private-repo branch protection, required reviewers, and org-level Actions secrets and variables.</p> |
| 22 | | - <p><a href="/organizations/new?plan=team" class="shithub-button shithub-button-primary">Continue with Team</a></p> |
| 25 | + <section class="shithub-pricing-card is-featured"> |
| 26 | + <div class="shithub-pricing-badge">Most popular</div> |
| 27 | + <div class="shithub-pricing-card-head"> |
| 28 | + <h2>Team</h2> |
| 29 | + <p>For organizations that need paid collaboration controls.</p> |
| 23 | 30 | </div> |
| 31 | + <p class="shithub-pricing-price"><span>$4</span> USD <small>per active member/month</small></p> |
| 32 | + {{ if .BillingConfigured }} |
| 33 | + <p><a href="/organizations/new?plan=team" class="shithub-button shithub-button-primary">Continue with Team</a></p> |
| 34 | + {{ else }} |
| 35 | + <p><button type="button" class="shithub-button shithub-button-primary" disabled>Continue with Team</button></p> |
| 36 | + {{ if .Viewer.IsSiteAdmin }} |
| 37 | + <p class="shithub-pricing-note">Stripe Billing is not fully configured. Set the secret key, webhook secret, and Team price ID before accepting Team checkout.</p> |
| 38 | + {{ end }} |
| 39 | + {{ end }} |
| 40 | + <ul class="shithub-pricing-features"> |
| 41 | + <li>{{ octicon "check" }} Everything in Free</li> |
| 42 | + <li>{{ octicon "check" }} Secret teams</li> |
| 43 | + <li>{{ octicon "check" }} Advanced private-repo branch protection</li> |
| 44 | + <li>{{ octicon "check" }} Required reviewers on private org repos</li> |
| 45 | + <li>{{ octicon "check" }} Org-level Actions secrets and variables</li> |
| 46 | + </ul> |
| 24 | 47 | </section> |
| 25 | 48 | |
| 26 | | - <section class="Box"> |
| 27 | | - <div class="Box-header"><h2 class="Box-title">Enterprise</h2></div> |
| 28 | | - <div class="Box-body"> |
| 29 | | - <p><strong>Contact sales</strong></p> |
| 30 | | - <p>Enterprise remains a stub until the hosted product grows into those promises.</p> |
| 31 | | - <p><a href="/organizations/new?plan=enterprise" class="shithub-button">Contact sales</a></p> |
| 49 | + <section class="shithub-pricing-card"> |
| 50 | + <div class="shithub-pricing-card-head"> |
| 51 | + <h2>Enterprise</h2> |
| 52 | + <p>For larger installations that need a contract and custom support.</p> |
| 32 | 53 | </div> |
| 54 | + <p class="shithub-pricing-price"><span>$21</span> USD <small>starting point</small></p> |
| 55 | + <p><a href="/organizations/new?plan=enterprise" class="shithub-button">Contact sales</a></p> |
| 56 | + <ul class="shithub-pricing-features"> |
| 57 | + <li>{{ octicon "check" }} Contact-sales planning</li> |
| 58 | + <li>{{ octicon "check" }} Future enterprise account structure</li> |
| 59 | + <li>{{ octicon "check" }} Future compliance and support options</li> |
| 60 | + </ul> |
| 33 | 61 | </section> |
| 34 | 62 | </div> |
| 35 | 63 | |
| 36 | | - <div class="Box shithub-billing-plan-compare"> |
| 37 | | - <div class="Box-header"><h2 class="Box-title">Compare features</h2></div> |
| 38 | | - <div class="Box-body"> |
| 39 | | - <table class="shithub-org-billing-table"> |
| 40 | | - <thead> |
| 41 | | - <tr> |
| 42 | | - <th scope="col">Feature</th> |
| 43 | | - <th scope="col">Free</th> |
| 44 | | - <th scope="col">Team</th> |
| 45 | | - <th scope="col">Enterprise</th> |
| 46 | | - </tr> |
| 47 | | - </thead> |
| 48 | | - <tbody> |
| 49 | | - <tr> |
| 50 | | - <td>Public and private org repositories</td> |
| 51 | | - <td>Included</td> |
| 52 | | - <td>Included</td> |
| 53 | | - <td>Contact sales</td> |
| 54 | | - </tr> |
| 55 | | - <tr> |
| 56 | | - <td>Visible teams</td> |
| 57 | | - <td>Included</td> |
| 58 | | - <td>Included</td> |
| 59 | | - <td>Contact sales</td> |
| 60 | | - </tr> |
| 61 | | - <tr> |
| 62 | | - <td>Secret teams</td> |
| 63 | | - <td>Upgrade</td> |
| 64 | | - <td>Included</td> |
| 65 | | - <td>Contact sales</td> |
| 66 | | - </tr> |
| 67 | | - <tr> |
| 68 | | - <td>Advanced private-repo branch protection</td> |
| 69 | | - <td>Upgrade</td> |
| 70 | | - <td>Included</td> |
| 71 | | - <td>Contact sales</td> |
| 72 | | - </tr> |
| 73 | | - <tr> |
| 74 | | - <td>Required reviewers on private org repos</td> |
| 75 | | - <td>Upgrade</td> |
| 76 | | - <td>Included</td> |
| 77 | | - <td>Contact sales</td> |
| 78 | | - </tr> |
| 79 | | - <tr> |
| 80 | | - <td>Org-level Actions secrets and variables</td> |
| 81 | | - <td>Upgrade</td> |
| 82 | | - <td>Included</td> |
| 83 | | - <td>Contact sales</td> |
| 84 | | - </tr> |
| 85 | | - </tbody> |
| 86 | | - </table> |
| 87 | | - </div> |
| 88 | | - </div> |
| 64 | + <section class="shithub-plan-compare" aria-labelledby="org-plan-compare-heading"> |
| 65 | + <h2 id="org-plan-compare-heading">Compare features</h2> |
| 66 | + <table class="shithub-org-billing-table"> |
| 67 | + <thead> |
| 68 | + <tr> |
| 69 | + <th scope="col">Capability</th> |
| 70 | + <th scope="col">Free</th> |
| 71 | + <th scope="col">Team</th> |
| 72 | + <th scope="col">Enterprise</th> |
| 73 | + </tr> |
| 74 | + </thead> |
| 75 | + <tbody> |
| 76 | + <tr><td>Public org repositories</td><td>Included</td><td>Included</td><td>Contact sales</td></tr> |
| 77 | + <tr><td>Basic private org repositories</td><td>Included</td><td>Included</td><td>Contact sales</td></tr> |
| 78 | + <tr><td>Org members and invitations</td><td>Included</td><td>Billed by active member</td><td>Contact sales</td></tr> |
| 79 | + <tr><td>Visible teams</td><td>Included</td><td>Included</td><td>Contact sales</td></tr> |
| 80 | + <tr><td>Secret teams</td><td>Upgrade</td><td>Included</td><td>Contact sales</td></tr> |
| 81 | + <tr><td>Basic branch protection</td><td>Included</td><td>Included</td><td>Contact sales</td></tr> |
| 82 | + <tr><td>Advanced private-repo branch protection</td><td>Upgrade</td><td>Included</td><td>Contact sales</td></tr> |
| 83 | + <tr><td>Required reviewers on private org repos</td><td>Upgrade</td><td>Included</td><td>Contact sales</td></tr> |
| 84 | + <tr><td>Org-level Actions secrets</td><td>Upgrade</td><td>Included</td><td>Contact sales</td></tr> |
| 85 | + <tr><td>Org-level Actions variables</td><td>Upgrade</td><td>Included</td><td>Contact sales</td></tr> |
| 86 | + </tbody> |
| 87 | + </table> |
| 88 | + </section> |
| 89 | 89 | </section> |
| 90 | 90 | {{- end }} |