stripe env
This commit is contained in:
parent
c8c3db8a78
commit
dfa3dfe133
|
@ -2,7 +2,6 @@ import dayjs from "dayjs";
|
||||||
import Layout from "../components/Layout";
|
import Layout from "../components/Layout";
|
||||||
import useSWR from "swr";
|
import useSWR from "swr";
|
||||||
import ky from "ky/umd";
|
import ky from "ky/umd";
|
||||||
import { CardElement } from "@stripe/react-stripe-js";
|
|
||||||
|
|
||||||
const plans = [
|
const plans = [
|
||||||
{ id: "initial_free", name: "Free", price: 0, description: "Unlimited bandwidth with throttled speed" },
|
{ id: "initial_free", name: "Free", price: 0, description: "Unlimited bandwidth with throttled speed" },
|
||||||
|
@ -66,23 +65,6 @@ export default function Payments() {
|
||||||
</div>
|
</div>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<CardElement
|
|
||||||
options={{
|
|
||||||
style: {
|
|
||||||
base: {
|
|
||||||
fontSize: "16px",
|
|
||||||
color: "#424770",
|
|
||||||
"::placeholder": {
|
|
||||||
color: "#aab7c4",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
invalid: {
|
|
||||||
color: "#9e2146",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Plan */}
|
{/* Plan */}
|
||||||
<section aria-labelledby="plan_heading">
|
<section aria-labelledby="plan_heading">
|
||||||
<form action="#" method="POST">
|
<form action="#" method="POST">
|
||||||
|
|
Reference in New Issue