-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from mctekk/feat/MR-19
Feat/mr 19
- Loading branch information
Showing
18 changed files
with
972 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use client"; | ||
import { Footer } from "@/components/organism/sections/footer"; | ||
import { PricingComparison } from "@/components/organism/sections/princing/comparison"; | ||
import { PricingHero } from "@/components/organism/sections/princing/princing-hero"; | ||
import { PricingPlans } from "@/components/organism/sections/princing/princing-plan"; | ||
import { PricingQuestions } from "@/components/organism/sections/princing/princing-questions"; | ||
import React, { useState } from "react"; | ||
|
||
export default function page() { | ||
const [isFull, setIsFull] = useState<boolean>(false); | ||
const handleIsFull = () => setIsFull(!isFull); | ||
return ( | ||
<div> | ||
<PricingHero/> | ||
<PricingPlans isClicked={isFull} onClick={handleIsFull}></PricingPlans> | ||
{isFull && <PricingComparison />} | ||
<PricingQuestions id="Q&A"></PricingQuestions> | ||
<Footer></Footer> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
import { translate } from "@/locales"; | ||
import { MdAdd, MdRemove } from "react-icons/md"; | ||
|
||
interface CounterProps { | ||
enable?: { | ||
add?: boolean, | ||
remove?: boolean | ||
}, | ||
add: () => void, | ||
remove: () => void, | ||
} | ||
|
||
export function Counter ({ enable = { remove: true, add: false }, add, remove }: CounterProps) { | ||
return ( | ||
<div className="flex mt-3 gap-4 items-center h-[2rem]"> | ||
{translate('pricing.pricingData.users')} | ||
|
||
|
||
|
||
</div> | ||
) | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.