Skip to content

Commit

Permalink
feat: add ticket price cards
Browse files Browse the repository at this point in the history
  • Loading branch information
hamid-dionysus committed Jan 21, 2024
1 parent 9cdbba2 commit 840dfb8
Showing 1 changed file with 205 additions and 3 deletions.
208 changes: 205 additions & 3 deletions src/app/components/ConferenceTicket.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { buttonVariants } from "@/components/ui/Button";
import Link from "next/link";
import { RiCouponFill, RiCouponLine, RiMenuLine } from "react-icons/ri";
import {
RiCouponFill,
RiCouponLine,
RiGroupLine,
RiMenuLine,
} from "react-icons/ri";

export default function ConferenceLocation() {
return (
Expand All @@ -13,15 +18,212 @@ export default function ConferenceLocation() {
<Link
className={`${buttonVariants({
variant: "primary",
})} gap-2 mt-4 lg:mt-6 px-2 py-1.5 lg:gap-2 lg:px-3 lg:py-2`}
})} mt-4 gap-2 px-2 py-1.5 lg:mt-6 lg:gap-2 lg:px-3 lg:py-2`}
href="#"
>
<RiCouponFill className="size-5" />
<strong>ورود و خرید بلیت</strong>
</Link>
</div>
{/* body */}
<div className="flex justify-center"></div>
<div className="grid sm:grid-cols-2 lg:grid-cols-4 gap-4">
<div className="flex w-full flex-col gap-4 rounded-xl border-2 border-zinc-700 py-5">
{/* title */}
<div className="flex flex-col items-center gap-2">
<RiGroupLine className="size-9 fill-zinc-200" />
<p className="text-2xl">ثبت نام گروهی</p>
</div>
{/* price */}
<div className="my- bg-zinc-500/30 py-6">
<p className="text-center text-3xl font-bold">تماس بگیرید</p>
</div>
{/* advantages */}
<ul className="mx-11 flex flex-col">
{[
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
].map((item, index) => {
return (
<li
key={index}
className={`list-disc marker:text-xl marker:text-green-500 ${
item.makerColor === "green"
? "marker:text-green-500"
: "marker:text-orange-500"
}`}
>
<span>{item.text}</span>
</li>
);
})}
</ul>
</div>
<div className="flex w-full flex-col gap-4 rounded-xl border-2 border-zinc-700 py-5">
{/* title */}
<div className="flex flex-col items-center gap-2">
<RiGroupLine className="size-9 fill-zinc-200" />
<p className="text-2xl">ثبت نام گروهی</p>
</div>
{/* price */}
<div className="my- bg-zinc-500/30 py-6">
<p className="text-center text-3xl font-bold">تماس بگیرید</p>
</div>
{/* advantages */}
<ul className="mx-11 flex flex-col">
{[
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
].map((item, index) => {
return (
<li
key={index}
className={`list-disc marker:text-xl marker:text-green-500 ${
item.makerColor === "green"
? "marker:text-green-500"
: "marker:text-orange-500"
}`}
>
<span>{item.text}</span>
</li>
);
})}
</ul>
</div>
<div className="flex w-full flex-col gap-4 rounded-xl border-2 border-zinc-700 py-5">
{/* title */}
<div className="flex flex-col items-center gap-2">
<RiGroupLine className="size-9 fill-zinc-200" />
<p className="text-2xl">ثبت نام گروهی</p>
</div>
{/* price */}
<div className="my- bg-zinc-500/30 py-6">
<p className="text-center text-3xl font-bold">تماس بگیرید</p>
</div>
{/* advantages */}
<ul className="mx-11 flex flex-col">
{[
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
].map((item, index) => {
return (
<li
key={index}
className={`list-disc marker:text-xl marker:text-green-500 ${
item.makerColor === "green"
? "marker:text-green-500"
: "marker:text-orange-500"
}`}
>
<span>{item.text}</span>
</li>
);
})}
</ul>
</div>
<div className="flex w-full flex-col gap-4 rounded-xl border-2 border-zinc-700 py-5">
{/* title */}
<div className="flex flex-col items-center gap-2">
<RiGroupLine className="size-9 fill-zinc-200" />
<p className="text-2xl">ثبت نام گروهی</p>
</div>
{/* price */}
<div className="my- bg-zinc-500/30 py-6">
<p className="text-center text-3xl font-bold">تماس بگیرید</p>
</div>
{/* advantages */}
<ul className="mx-11 flex flex-col">
{[
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
{
text: "تست",
makerColor: "orange",
},
{
text: "تست",
makerColor: "green",
},
].map((item, index) => {
return (
<li
key={index}
className={`list-disc marker:text-xl marker:text-green-500 ${
item.makerColor === "green"
? "marker:text-green-500"
: "marker:text-orange-500"
}`}
>
<span>{item.text}</span>
</li>
);
})}
</ul>
</div>
</div>
</div>
</section>
);
Expand Down

0 comments on commit 840dfb8

Please sign in to comment.