From fca04a0129a2bfae00e33349769e7719abbc1d66 Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaury1729@users.noreply.github.com> Date: Fri, 15 Dec 2023 19:22:21 +0100 Subject: [PATCH] feat: Don't mention 50 free emails --- src/components/Nav.tsx | 2 +- src/components/ProductCard/FreeTrial.tsx | 62 ------------------------ src/components/ProductCard/index.ts | 1 - src/pages/signup.tsx | 5 -- 4 files changed, 1 insertion(+), 69 deletions(-) delete mode 100644 src/components/ProductCard/FreeTrial.tsx diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index ab4e2fbc..10f85488 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -89,7 +89,7 @@ export function Nav(): React.ReactElement { - Get Started - 50 free emails + Sign up > diff --git a/src/components/ProductCard/FreeTrial.tsx b/src/components/ProductCard/FreeTrial.tsx deleted file mode 100644 index 68272b82..00000000 --- a/src/components/ProductCard/FreeTrial.tsx +++ /dev/null @@ -1,62 +0,0 @@ -import { Button } from "@geist-ui/react"; -import React from "react"; - -import { productName } from "@/util/subs"; -import { Card } from "./Card"; - -export interface FreeTrialProps { - active: boolean; - currency: string; -} - -export function FreeTrial({ - active, - currency, -}: FreeTrialProps): React.ReactElement { - const priceString = new Intl.NumberFormat("en-US", { - style: "currency", - currency, - minimumFractionDigits: 0, - }).format(0); - - return ( - - {active ? "Current Plan" : "Not available"} - - } - features={features} - header="Free Forever" - subtitle={50 email verifications / mo} - title={productName()} - price={priceString} - /> - ); -} - -const features = [ - "Use Reacher's servers with high IP reputation.", - - - Full-featured - {" "} - email verifications. - , - - Support via{" "} - - Github Issues - - . - , - "No credit card required.", -]; diff --git a/src/components/ProductCard/index.ts b/src/components/ProductCard/index.ts index d5df76bd..c4654fbb 100644 --- a/src/components/ProductCard/index.ts +++ b/src/components/ProductCard/index.ts @@ -1,4 +1,3 @@ export * from "./Commercial"; -export * from "./FreeTrial"; export * from "./SaaS10k"; export * from "./SaaS100k"; diff --git a/src/pages/signup.tsx b/src/pages/signup.tsx index 0a72a40a..95cf7ffe 100644 --- a/src/pages/signup.tsx +++ b/src/pages/signup.tsx @@ -117,11 +117,6 @@ export default function SignUp(): React.ReactElement { return ( - - - 50 free email verifications when you sign up. - -
- - 50 free email verifications when you sign up. - -