From db1268ebb9eeadf5702876b69d0777e0e4928aa1 Mon Sep 17 00:00:00 2001 From: MarconLP <13001502+MarconLP@users.noreply.github.com> Date: Thu, 20 Apr 2023 19:26:12 +0200 Subject: [PATCH] remove checkout component --- src/components/Checkout.tsx | 94 ------------------------------------- 1 file changed, 94 deletions(-) delete mode 100644 src/components/Checkout.tsx diff --git a/src/components/Checkout.tsx b/src/components/Checkout.tsx deleted file mode 100644 index 629698d..0000000 --- a/src/components/Checkout.tsx +++ /dev/null @@ -1,94 +0,0 @@ -import { useRouter } from "next/router"; -import { api } from "~/utils/api"; - -export default function Checkout() { - const { mutateAsync: createCheckoutSession } = - api.stripe.createCheckoutSession.useMutation(); - const { push } = useRouter(); - - return ( -
-
-
-

- Simple no-tricks pricing -

-
-
-
-

- Pro plan -

-

- Record and share unlimited videos. With this plan, you'll - have access to all powerful features that help you create and - share high-quality videos with ease. -

-
-

- What’s included -

-
-
-
    - {[ - "Versatile screen recording: Tab, desktop, any app, camera.", - "Secure video sharing: Automatic link expiry.", - "Powerful annotation tools: Text, drawing, arrows.", - "Effortless editing: Trimming, removal of unwanted sections.", - ].map((x) => ( -
  • - - {x} -
  • - ))} -
-
-
-
-
-

- - $5 - - - USD / mo - -

- -

- Invoices and receipts available for easy company reimbursement -

-
-
-
-
-
-
- ); -}