Skip to content

Commit 37ad230

Browse files
committed
fix: various fixes
1 parent 75f2037 commit 37ad230

File tree

7 files changed

+4894
-3958
lines changed

7 files changed

+4894
-3958
lines changed

app/home/features/Features.tsx

+4-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ import clsx from "clsx";
22
import {
33
ChromeIcon,
44
GalleryHorizontal,
5-
GhostIcon,
5+
TowerControlIcon,
66
GitBranchIcon,
77
GitPullRequestIcon,
88
LucideIcon,
99
MonitorCheckIcon,
1010
ScanSearchIcon,
1111
TabletSmartphoneIcon,
12-
VibrateIcon,
1312
Wand2Icon,
1413
} from "lucide-react";
1514

@@ -122,9 +121,9 @@ export function Features() {
122121
/>
123122
<Separator orientation="vertical" />
124123
<Feature
125-
title="Flaky test detection"
126-
icon={GhostIcon}
127-
text="Instantly identify flaky screenshots, alerting you to potential inconsistencies in your tests."
124+
title="Monitoring Mode"
125+
icon={TowerControlIcon}
126+
text="Check visual changes to detect issues early, validate releases, and ensure integration consistency."
128127
/>
129128
</Row>
130129
</div>

app/pricing/PricingCard.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import { Button, ButtonProps } from "@/components/Button";
77
import { Link } from "@/components/Link";
88
import { Tooltip } from "@/components/Tooltip";
99

10-
import { dollarFormatter } from "./DollarFormatter";
10+
import { dollarFormatter, percentFormatter } from "./formatters";
1111

12-
const PricingCardBody = twc.div`p-8 text-left text-low`;
12+
const PricingCardBody = twc.div`p-6 text-left text-low`;
1313
const Title = twc.div`mb-2 text-xl font-semibold text`;
1414
const Description = twc.div`my-2 h-12 last-of-type:mb-0`;
1515
const Badges = twc.div`block h-8`;
@@ -54,7 +54,7 @@ const PricingCard = ({
5454
<div
5555
className={clsx(
5656
"border-border w-full flex-1 shrink-0 basis-80 rounded-xl border bg-violet-1",
57-
emphasis ? "border-2 border-violet-6 pt-4" : "md:mt-4",
57+
emphasis ? "border-2 border-violet-6 pt-[calc(1rem-1px)]" : "md:mt-4",
5858
)}
5959
>
6060
{children}
@@ -189,11 +189,11 @@ export const PricingCards = ({
189189

190190
<Features>
191191
<FeaturesCaption>Everything in Pro, plus:</FeaturesCaption>
192-
<Feature>Custom amount of screenshots</Feature>
193-
<Feature>Dedicated Support</Feature>
194-
<Feature>GitHub SSO</Feature>
195192
<Feature>SAML authentication</Feature>
196-
<Feature>SLA for 99.99% Uptime</Feature>
193+
<Feature>Advanced access control</Feature>
194+
<Feature>{percentFormatter.format(0.9999)} Uptime SLA</Feature>
195+
<Feature>Onboarding and migration support</Feature>
196+
<Feature>Support SLA</Feature>
197197
</Features>
198198
</PricingCardBody>
199199
</PricingCard>

app/pricing/PricingFaq.tsx

-10
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@ export const FAQ = ({
1212
hobbyPlanScreenshotCount: number;
1313
}) => (
1414
<Accordion type="single" collapsible className="w-full max-w-2xl text-left">
15-
<AccordionItem value="apart">
16-
<AccordionTrigger>
17-
What sets Argos apart from other visual testing tools?
18-
</AccordionTrigger>
19-
<AccordionContent>
20-
Argos focuses on providing a user-friendly experience with simplicity at
21-
its core. Currently, our unique features include managing flaky tests,
22-
and we are working on offering zero-configuration visual testing.
23-
</AccordionContent>
24-
</AccordionItem>
2515
<AccordionItem value="argos-plan">
2616
<AccordionTrigger>Which Argos plan is right for me?</AccordionTrigger>
2717
<AccordionContent>

app/pricing/PricingSlider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import clsx from "clsx";
44
import * as React from "react";
55

66
import { Slider } from "../../components/Slider";
7-
import { dollarFormatter } from "./DollarFormatter";
7+
import { dollarFormatter } from "./formatters";
88

99
const MIN_SCREENSHOTS = 5000;
1010
const MAX_SCREENSHOTS = 1000000;

app/pricing/DollarFormatter.ts app/pricing/formatters.ts

+5
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ export const dollarFormatter = new Intl.NumberFormat(undefined, {
33
currency: "USD",
44
maximumSignificantDigits: 10,
55
});
6+
7+
export const percentFormatter = new Intl.NumberFormat(undefined, {
8+
maximumSignificantDigits: 5,
9+
style: 'percent'
10+
});

components/BrandTestimonials.tsx

-16
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,6 @@ import yotpo from "@/images/brands/yotpo.svg";
1717

1818
import { Container } from "./Container";
1919

20-
const Testimonials = ({ children }: { children: React.ReactNode }) => {
21-
return (
22-
<div>
23-
<Container className="mx-auto mt-8 grid w-full max-w-screen-lg grid-cols-2 items-center px-5 md:grid-cols-6 md:px-0">
24-
{children}
25-
</Container>
26-
{/* <div className="relative overflow-hidden lg:hidden">
27-
<div className="flex w-max animate-[slide_20s_linear_infinite] items-baseline gap-10 pr-10">
28-
{children}
29-
{children}
30-
</div>
31-
</div> */}
32-
</div>
33-
);
34-
};
35-
3620
export const BrandTestimonials = () => {
3721
return (
3822
<Container className="mx-auto mt-8 grid w-full max-w-screen-lg grid-cols-2 items-center justify-center gap-4 px-5 md:flex md:flex-wrap md:px-0 md:[&>*]:max-w-40">

0 commit comments

Comments
 (0)