Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: removed coupon pricing badge
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Sep 8, 2023
1 parent e6dbd7a commit d289b85
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pages/pricing.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ export default function Premium({ user }) {
description:
"Customise your Profile further to reach a greater audience.",
mostPopular: true,
badge: "Coupon: FREETRIAL30DAYS",
badge2: "NO credit card required",
badge: "Free 30 day trial (NO credit card required)",
button: {
label: () => {
if (user.isLoggedIn && user.accountType === "premium") {
Expand Down Expand Up @@ -349,8 +348,6 @@ export default function Premium({ user }) {
{tier.name}
</h3>
{tier.badge && badge(tier.badge)}
{tier.badge2 && badge(tier.badge2, "", "hidden")}

<p className="mt-2 flex items-baseline gap-x-1 text-gray-900 mb-2">
<span className="text-4xl font-bold text-primary-medium dark:text-primary-low">
{tier.priceMonthly}
Expand Down Expand Up @@ -441,7 +438,6 @@ export default function Premium({ user }) {
className="px-6 pt-6 xl:px-8 xl:pt-8"
>
{tier.badge && badge(tier.badge)}
{tier.badge2 && badge(tier.badge2, "", "hidden")}
<div className="text-2xl font-semibold leading-7 text-primary-medium dark:text-primary-low-medium">
{tier.name}
</div>
Expand Down

0 comments on commit d289b85

Please sign in to comment.