Skip to content

Commit

Permalink
fix pricing tiers
Browse files Browse the repository at this point in the history
  • Loading branch information
stcalica committed May 4, 2024
1 parent 6034701 commit fd4cca4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/PricingTiers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type tierType = {
const PricingTier = ({tier}: {tier: tierType}) => (
<figure className="flex flex-col items-center justify-center p-4 bg-white rounded-lg shadow-lg transition-all hover:shadow-xl
w-full xl:min-w-[400px] h-[250px]">
<h1 className="text-8xl font-extrabold text-sans leading-none mb-2 text-gray-800">{tier.price}</h1>
<h1 className="text-8xl font-extrabold text-sans leading-none mb-2 text-gray-800">${tier.price}</h1>
<figcaption className="text-xl font-semibold text-gray-600">{tier.title}</figcaption>
</figure>
);
Expand Down
6 changes: 3 additions & 3 deletions constants/tiers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ export const tiers = [
{
id: "0",
title: "Early Registration",
price: parseFloat("$65"),
price: parseFloat("65"),
startDate: "",
endDate: ""
},
{
id: "1",
title: "Regular Registration",
price: parseFloat("$85"),
price: parseFloat("85"),
startDate: "",
endDate: ""
},
{
id: "2",
title: "Late Registration",
price: parseFloat("$105"),
price: parseFloat("105"),
startDate: "",
endDate: ""
},
Expand Down
1 change: 0 additions & 1 deletion templates/HomePage/Pricing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import PricingTier from "@/components/PricingTiers";
import { tiers } from "@/constants/tiers";

type PropTypes = {};
console.log("tiers", tiers);

const Pricing = ({}: PropTypes) => (
<div className="w-full flex flex-col items-center justify-center">
Expand Down

0 comments on commit fd4cca4

Please sign in to comment.