diff --git a/src/app/subscription/page.tsx b/src/app/subscription/page.tsx new file mode 100644 index 0000000..a42a0a3 --- /dev/null +++ b/src/app/subscription/page.tsx @@ -0,0 +1,129 @@ +import { CheckIcon } from "@heroicons/react/24/solid"; +import React, { FC } from "react"; +import ButtonPrimary from "@/shared/ButtonPrimary"; +import ButtonSecondary from "@/shared/ButtonSecondary"; + +export interface PageSubcriptionProps {} + +export interface PricingItem { + isPopular: boolean; + name: string; + pricing: string; + desc: string; + per: string; + features: string[]; +} + +const pricings: PricingItem[] = [ + { + isPopular: false, + name: "Starter", + pricing: "$5", + per: "/mo", + features: ["Automated Reporting", "Faster Processing", "Customizations"], + desc: ` Literally you probably haven't heard of them jean shorts.`, + }, + { + isPopular: true, + name: "Basic", + pricing: "$15", + per: "/mo", + features: [ + "Everything in Starter", + "100 Builds", + "Progress Reports", + "Premium Support", + ], + desc: ` Literally you probably haven't heard of them jean shorts.`, + }, + { + isPopular: false, + name: "Plus", + pricing: "$25", + per: "/mo", + features: [ + "Everything in Basic", + "Unlimited Builds", + "Advanced Analytics", + "Company Evaluations", + ], + desc: ` Literally you probably haven't heard of them jean shorts.`, + }, +]; + +const PageSubcription: FC = () => { + const renderPricingItem = (pricing: PricingItem, index: number) => { + return ( +
+ {pricing.isPopular && ( + + POPULAR + + )} +
+

+ {pricing.name} +

+

+ {pricing.pricing} + + {pricing.per} + +

+
+ +
+ {pricing.isPopular ? ( + Submit + ) : ( + + Submit + + )} +

+ {pricing.desc} +

+
+
+ ); + }; + + return ( +
+
+

+ 💎 + Subscription +

+ + Pricing to fit the needs of any companie size. + +
+
+
+ {pricings.map(renderPricingItem)} +
+
+
+ ); +}; + +export default PageSubcription;