@@ -25,6 +25,13 @@ import { Simulator } from "./Simulator";
25
25
const HOBBY_PLAN_SCREENSHOT_COUNT = 5000 ;
26
26
const PRO_PLAN_SCREENSHOT_COUNT = 15000 ;
27
27
const ADDITIONAL_SCREENSHOT_PRICE = 0.0025 ;
28
+ const GITHUB_SSO_PRICE = 50 ;
29
+
30
+ const dollarFormatter = new Intl . NumberFormat ( undefined , {
31
+ style : "currency" ,
32
+ currency : "USD" ,
33
+ maximumSignificantDigits : 10 ,
34
+ } ) ;
28
35
29
36
const Price = ( {
30
37
amount,
@@ -41,7 +48,7 @@ const Price = ({
41
48
</ div >
42
49
< div className = "flex items-baseline" >
43
50
< span className = "text-3xl font-semibold text" >
44
- $ < span className = "tracking-tight" > { amount } </ span >
51
+ < span className = "tracking-tight" > { dollarFormatter . format ( amount ) } </ span >
45
52
</ span >
46
53
{ recurring && < span className = "ml-1 text-lg text-low" > /mo</ span > }
47
54
</ div >
@@ -122,6 +129,14 @@ export const metadata: Metadata = getMetadata({
122
129
pathname : "/pricing" ,
123
130
} ) ;
124
131
132
+ function Pricey ( props : { children : React . ReactNode } ) {
133
+ return (
134
+ < Tooltip content = { props . children } >
135
+ < CircleDollarSignIcon className = "ml-1 inline-block h-5 w-5 text" />
136
+ </ Tooltip >
137
+ ) ;
138
+ }
139
+
125
140
export default function Page ( ) {
126
141
return (
127
142
< div className = "flex flex-col" >
@@ -171,18 +186,23 @@ export default function Page() {
171
186
{ PRO_PLAN_SCREENSHOT_COUNT . toLocaleString ( ) } screenshots{ " " }
172
187
< span className = "whitespace-nowrap" >
173
188
included
174
- < Tooltip
175
- content = { `Then $${ ADDITIONAL_SCREENSHOT_PRICE } per screenshot after` }
176
- >
177
- < CircleDollarSignIcon className = "ml-1 inline-block h-5 w-5 text" />
178
- </ Tooltip >
189
+ < Pricey >
190
+ Then { dollarFormatter . format ( ADDITIONAL_SCREENSHOT_PRICE ) } { " " }
191
+ per screenshot after
192
+ </ Pricey >
179
193
</ span >
180
194
</ Feature >
181
195
< Feature > Unlimited Playwright Traces</ Feature >
182
196
< Feature > Visual changes detection</ Feature >
183
197
< Feature > GitHub & GitLab integration </ Feature >
184
198
< Feature > Pro Support</ Feature >
185
199
< Feature > Collaborating visual review</ Feature >
200
+ < Feature >
201
+ GitHub Single Sign-On (SSO){ " " }
202
+ < Pricey >
203
+ { dollarFormatter . format ( GITHUB_SSO_PRICE ) } per month
204
+ </ Pricey >
205
+ </ Feature >
186
206
</ Features >
187
207
</ PricingCardBody >
188
208
</ PricingCard >
@@ -207,7 +227,8 @@ export default function Page() {
207
227
< Feature > GitHub & GitLab integration </ Feature >
208
228
< Feature > Dedicated Support</ Feature >
209
229
< Feature > Collaborating visual review</ Feature >
210
- < Feature > SAML Single-Sign-On (SSO)</ Feature >
230
+ < Feature > GitHub Single Sign-On (SSO)</ Feature >
231
+ < Feature > SAML Single Sign-On (SSO)</ Feature >
211
232
< Feature > SLA for 99.99% Uptime</ Feature >
212
233
</ Features >
213
234
</ PricingCardBody >
0 commit comments