Skip to content

Commit de157d2

Browse files
committed
ui: add completed in newsletter
1 parent e987c08 commit de157d2

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

  • apps/web/src/app/(main)/(landing)/pricing

apps/web/src/app/(main)/(landing)/pricing/page.tsx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Link from "next/link";
99
import React from "react";
1010
import PrimaryButton from "@/components/ui/custom-button";
1111
import PaymentFlow from "@/components/payment/PaymentFlow";
12+
import { ActiveTag } from "@/components/ui/ActiveTag";
1213
const opensoxFeatures = [
1314
{
1415
id: 1,
@@ -146,13 +147,18 @@ const Pricing = () => {
146147
className="flex flex-col gap-4 w-full flex-1 "
147148
>
148149
<div className="flex flex-col gap-2 w-full">
149-
<div className="flex gap-4">
150+
<div className="flex gap-4 items-center">
150151
<div className="text-6xl font-mono font-semibold text-transparent bg-clip-text bg-gradient-to-b from-[#a472ea] to-[#341e7b]">
151152
{index + 1}
152153
</div>
153-
<h3 className="text-2xl font-medium">
154-
{feature.title}
155-
</h3>
154+
<div className="flex items-center gap-2">
155+
<h3 className="text-2xl font-medium">
156+
{feature.title}
157+
</h3>
158+
{feature.title === "OX Newsletter" && (
159+
<ActiveTag text="completed" />
160+
)}
161+
</div>
156162
</div>
157163
{Array.isArray(feature.description) ? (
158164
<div className="font-medium">
@@ -419,9 +425,10 @@ const SecondaryPricingCard = () => {
419425
<div className="space-y-3 [&>p]:flex [&>p]:items-center [&>p]:gap-2 [&>p]:font-medium">
420426
{premiumPlanCard.whatYouGetAfterLaunch.map((item, index) => {
421427
return (
422-
<p key={index}>
428+
<p key={index} className="flex items-center gap-2">
423429
<Check className="w-5 flex-shrink-0" strokeWidth={4} />{" "}
424-
{item}
430+
<span>{item}</span>
431+
{item === "Pro newsletter" && <ActiveTag text="done" />}
425432
</p>
426433
);
427434
})}

0 commit comments

Comments
 (0)