Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PricingSection.tsx #1486

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions components/defaultLanding/PricingSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,20 @@ const PricingSection = () => {
<h2 className="text-center text-4xl font-bold normal-case">
{t('pricing')}
</h2>
<p className="text-center text-xl">
<p className="text-center text-xl mb-8 mx-4">
Lorem Ipsum is simply dummy text of the printing and typesetting
industry.
</p>
<div className="flex items-center justify-center">
<div className="flex items-center justify-center">
<div className="grid grid-cols-1 gap-3 md:grid-cols-3">
{plans.map((plan, index) => {
return (
<Card
key={`plan-${index}`}
className="rounded-md dark:border-gray-200 border border-gray-300"
className="rounded-md dark:border-gray-200 mb-5 border border-gray-400 transform transition-transform duration-400 hover:scale-105 hover:shadow-lg hover:bg-[#2563eb] "
>
<Card.Body>
{' '}
<Card.Body className="transition-colors duration-400 hover:text-white">
<Card.Title tag="h2">
{plan.currency} {plan.amount} / {plan.duration}
</Card.Title>
Expand All @@ -49,8 +50,7 @@ const PricingSection = () => {
</Card.Body>
<Card.Actions className="justify-center m-2">
<Button
color="primary"
className="md:w-full w-3/4 rounded-md"
className="md:w-full bg-white border-[1px] border-gray-400 text-black font-semibold w-3/4 rounded-lg"
size="md"
>
{t('buy-now')}
Expand All @@ -67,3 +67,4 @@ const PricingSection = () => {
};

export default PricingSection;