Skip to content

Commit 2f5b7f4

Browse files
committed
feat: increase price
1 parent 90e7dbf commit 2f5b7f4

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

app/pricing/Simulator.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ import * as React from "react";
55

66
import { EditInline } from "@/components/EditInline";
77

8-
const PRO_PLAN_SCREENSHOT_COUNT = 15000;
9-
const PRO_PLAN_BASE_PRICE = 30;
10-
const ADDITIONAL_SCREENSHOT_PRICE = 0.0025;
8+
import {
9+
ADDITIONAL_SCREENSHOT_PRICE,
10+
PRO_PLAN_BASE_PRICE,
11+
PRO_PLAN_SCREENSHOT_COUNT,
12+
} from "./constants";
1113

1214
const strToNum = (str: string) => (str === "" ? 0 : parseInt(str, 10));
1315

app/pricing/constants.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const PRO_PLAN_BASE_PRICE = 100;
2+
export const HOBBY_PLAN_SCREENSHOT_COUNT = 5000;
3+
export const PRO_PLAN_SCREENSHOT_COUNT = 15000;
4+
export const ADDITIONAL_SCREENSHOT_PRICE = 0.004;
5+
export const GITHUB_SSO_PRICE = 50;

app/pricing/page.tsx

+12-6
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ import { Tooltip } from "@/components/Tooltip";
2222
import { getMetadata } from "@/lib/metadata";
2323

2424
import { Simulator } from "./Simulator";
25-
26-
const HOBBY_PLAN_SCREENSHOT_COUNT = 5000;
27-
const PRO_PLAN_SCREENSHOT_COUNT = 15000;
28-
const ADDITIONAL_SCREENSHOT_PRICE = 0.0025;
29-
const GITHUB_SSO_PRICE = 50;
25+
import {
26+
ADDITIONAL_SCREENSHOT_PRICE,
27+
GITHUB_SSO_PRICE,
28+
HOBBY_PLAN_SCREENSHOT_COUNT,
29+
PRO_PLAN_BASE_PRICE,
30+
PRO_PLAN_SCREENSHOT_COUNT,
31+
} from "./constants";
3032

3133
const dollarFormatter = new Intl.NumberFormat(undefined, {
3234
style: "currency",
@@ -188,7 +190,11 @@ export default function Page() {
188190
<Description>
189191
Unlimited screenshots and team collaboration.
190192
</Description>
191-
<Price amount={30} recurring={true} fixedPrice={false} />
193+
<Price
194+
amount={PRO_PLAN_BASE_PRICE}
195+
recurring={true}
196+
fixedPrice={false}
197+
/>
192198
<CTA href="https://app.argos-ci.com/signup?plan=pro">
193199
Start Free Trial
194200
</CTA>

0 commit comments

Comments
 (0)