Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update price card

Dillion Verma8c1d17fce8b3
diff --git a/components/price-card.tsx b/components/price-card.tsx
index 646f4695..cd19e4ff 100644
--- a/components/price-card.tsx
+++ b/components/price-card.tsx
@@ -91,6 +91,14 @@ export const PriceCard = ({
)}
</div>
+ <Link
+ className="text-center text-xs"
+ href="mailto:[email protected]?subject=Need%20a%20discount"
+ >
+ Can't afford it? Are you a student? <br /> Need a geographic discount?
+ Please ask us <span className="underline">here.</span>
+ </Link>
+
{/* <Meteors /> */}
{/* <div className="absolute inset-[1px] rounded-2xl bg-[radial-gradient(164.75%_100%_at_50%_0%,#334155_0%,#0F172A_48.73%)]" /> */}
diff --git a/components/pricing/pricing.tsx b/components/pricing/pricing.tsx
index ddd00564..33e57499 100644
--- a/components/pricing/pricing.tsx
+++ b/components/pricing/pricing.tsx
@@ -40,10 +40,12 @@ export default async function Hero() {
<Gift className="h-4 w-4 animate-bounce" />
<span>
<strong>
- $50 off for the first {Math.ceil(payments / 100) * 100}
+ $50 off for the first {Math.ceil((payments + 1) / 100) * 100}
</strong>{" "}
customers (
- {payments > 0 ? Math.ceil(payments / 100) * 100 - payments : 0}{" "}
+ {payments > 0
+ ? Math.ceil((payments + 1) / 100) * 100 - payments
+ : 0}{" "}
left)
</span>
</div>