Skip to content

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

🐛 fix: remove black friday deal

Dillion Verma9513d12ad5df
diff --git a/app/(marketing)/layout.tsx b/app/(marketing)/layout.tsx
index 6c3eeba8..f55bffa6 100644
--- a/app/(marketing)/layout.tsx
+++ b/app/(marketing)/layout.tsx
@@ -1,4 +1,3 @@
-import { SiteBanner } from "@/components/site-banner";
import { SiteFooter } from "@/components/site-footer";
import { SiteHeader } from "@/components/site-header";
import { getCurrentUser } from "@/lib/session";
@@ -16,8 +15,7 @@ export default async function MarketingLayout({
return (
<>
- <SiteBanner />
- {/* // <div className="relative flex min-h-screen flex-col"> */}
+ {/* <SiteBanner /> */}
<SiteHeader user={user} />
<main className="flex-1">{children}</main>
<SiteFooter />
diff --git a/components/price-card.tsx b/components/price-card.tsx
index 835b6e92..cf2abd55 100644
--- a/components/price-card.tsx
+++ b/components/price-card.tsx
@@ -39,9 +39,11 @@ export const PriceCard = ({
<span className="text-7xl font-bold text-foreground">
${item.discountPrice}
</span>
- <span className="text-4xl font-bold text-gray-600 line-through dark:text-gray-400">
- ${item.price}
- </span>
+ {item.isDiscounted && (
+ <span className="text-4xl font-bold text-gray-600 line-through dark:text-gray-400">
+ ${item.price}
+ </span>
+ )}
</div>
{/* <span className="text-xl font-semibold text-foreground/20">
one-time payment
diff --git a/config/pricing.tsx b/config/pricing.tsx
index 194aa880..c7fb6197 100644
--- a/config/pricing.tsx
+++ b/config/pricing.tsx
@@ -8,10 +8,11 @@ export const plans = [
name: "Personal",
sub: "For individual developers and freelancers.",
desc: "Beautifully crafted React + Tailwind CSS + Framer Motion components and templates for your next web project.",
- discountPrice: 49,
- price: 79,
+ discountPrice: 79,
+ isDiscounted: false,
+ price: 129,
isMostPop: true,
- banner: "$30 off",
+ // banner: "$30 off",
href: env.NEXT_PUBLIC_STRIPE_PAYMENT_LINK,
featureHeader: "What's included:",
features: [