Skip to content

Commit

Permalink
Hot fix (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj authored Jan 11, 2024
1 parent 0e42065 commit 06a70bb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/client/PricingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export default function PricingPage() {
</h3>
<div className="mt-4 flex items-baseline gap-x-2">
<span className="text-5xl font-bold tracking-tight text-gray-900">
{price.priceMonthly || price.price}
{/* {price.priceMonthly || price.price} */}
{price.priceMonthly}
</span>
{/* {price.priceMonthly && (
<span className="text-base font-semibold leading-7 text-gray-600">
Expand Down Expand Up @@ -93,11 +94,12 @@ export default function PricingPage() {
<button
onClick={clickHandler}
aria-describedby={price.id}
disabled={price.disabled}
className={`${
price.disabled &&
"disabled:opacity-25 disabled:cursor-not-allowed"
} mt-8 block rounded-md bg-yellow-400 px-3.5 py-2 text-center text-sm font-semibold leading-6 text-black shadow-sm hover:bg-yellow-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-yellow-600`}
// disabled={price.disabled}
// className={`${
// price.disabled &&
// "disabled:opacity-25 disabled:cursor-not-allowed"
// } mt-8 block rounded-md bg-yellow-400 px-3.5 py-2 text-center text-sm font-semibold leading-6 text-black shadow-sm hover:bg-yellow-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-yellow-600`}
className={`mt-8 block rounded-md bg-yellow-400 px-3.5 py-2 text-center text-sm font-semibold leading-6 text-black shadow-sm hover:bg-yellow-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-yellow-600`}
>
{isLoading ? "Loading..." : "Buy Now"}
</button>
Expand Down

0 comments on commit 06a70bb

Please sign in to comment.