|
| 1 | +import { Button } from "@/components/ui/button"; |
| 2 | +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; |
| 3 | +import Image from "next/image"; |
| 4 | +import Link from "next/link"; |
| 5 | +import { PiCheck } from "react-icons/pi"; |
| 6 | + |
| 7 | +export default function PricingPage() { |
| 8 | + |
| 9 | + if (!process.env.EE_ENABLED || process.env.EE_ENABLED !== "true") { |
| 10 | + return ( |
| 11 | + <div className="flex flex-col gap-5 items-center justify-center h-screen"> |
| 12 | + <Image src="/logo.svg" alt="404" width={50} height={50} /> |
| 13 | + <p className="text-lg">You are not authorized to access this page</p> |
| 14 | + </div> |
| 15 | + ) |
| 16 | + } |
| 17 | + |
| 18 | + return ( |
| 19 | + <div className="flex items-center justify-center min-h-screen bg-gray-100"> |
| 20 | + <Card className="w-[350px]"> |
| 21 | + <CardHeader className="flex flex-col items-center"> |
| 22 | + <Image src="/logo.svg" alt="Rowfill Logo" width={50} height={50} /> |
| 23 | + <CardTitle className="text-lg pt-2">Professional Plan</CardTitle> |
| 24 | + <p className="text-lg font-bold">Starts at ${process.env.PRO_PLAN_PRICE_MONTHLY}/month</p> |
| 25 | + <Button>Get Started</Button> |
| 26 | + </CardHeader> |
| 27 | + <CardContent className="flex flex-col gap-2 px-5"> |
| 28 | + <p className="flex items-center gap-2"><PiCheck /> {process.env.PRO_PLAN_CREDITS} Credits</p> |
| 29 | + <p className="flex items-center gap-2"><PiCheck /> Unlimited Sheets</p> |
| 30 | + <p className="flex items-center gap-2"><PiCheck /> Unlimited Sources</p> |
| 31 | + <p className="flex items-center gap-2"><PiCheck /> AI Answering Agent</p> |
| 32 | + <p className="flex items-center gap-2"><PiCheck /> AI Extraction Agent</p> |
| 33 | + <p className="flex items-center gap-2"><PiCheck /> AI Document Search Agent</p> |
| 34 | + <p className="flex items-center gap-2"><PiCheck /> Unlimited Users</p> |
| 35 | + <p className="flex items-center gap-2"><PiCheck /> Email Support</p> |
| 36 | + <p className="flex items-center gap-2"><PiCheck /> Priority Support</p> |
| 37 | + </CardContent> |
| 38 | + </Card> |
| 39 | + <div className="absolute bottom-5 right-5 flex gap-3 items-center"> |
| 40 | + <Link href="/ee/legal/privacy-policy">Privacy Policy</Link> |
| 41 | + <Link href="/ee/legal/refund-policy">Refund Policy</Link> |
| 42 | + <Link href="/ee/legal/terms-of-service">Terms of Service</Link> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + ) |
| 46 | +} |
0 commit comments