feat: 🎸 pricing

added credit usage
This commit is contained in:
Stan Girard 2024-01-04 15:15:28 +01:00
parent d71cdd2e45
commit d1400e1b6e

View File

@ -4,7 +4,7 @@ const PUBLISHABLE_KEY = process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY;
export const StripePricingTable = (): JSX.Element => {
return (
<>
<div className="grid md:grid-cols-2 gap-4 p-6 bg-highlight">
<div className="grid md:grid-cols-2 gap-4 p-2 bg-highlight">
<div className="space-y-3 text-center">
<h3 className="text-2xl font-semibold text-black">Free Tier</h3>
<ul className="list-none space-y-2">
@ -29,12 +29,12 @@ export const StripePricingTable = (): JSX.Element => {
🙋 More credits & access to premium models (GPT4, Mistral)
</li>
<li className="text-lg font-medium text-gray-800">
🚀 Priority support
🚀 GPT3.5 = 1 credit & GPT4 = 20 credits
</li>
</ul>
</div>
</div>
<div className="p-10">
<div className="p-2">
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table
pricing-table-id={PRICING_TABLE_ID}