Skip to content

Commit

Permalink
Merge pull request #17 from mctekk/feat/MR-19
Browse files Browse the repository at this point in the history
Feat/mr 19
  • Loading branch information
Arzoid29 authored Oct 18, 2023
2 parents f86b96c + 828974a commit 8c2a52f
Show file tree
Hide file tree
Showing 18 changed files with 972 additions and 74 deletions.
21 changes: 21 additions & 0 deletions src/app/pricing/page.tsx
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>
);
}
23 changes: 23 additions & 0 deletions src/components/atoms/counter/index.tsx
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.
Loading

0 comments on commit 8c2a52f

Please sign in to comment.