-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add other participants component
- Loading branch information
1 parent
0fbe580
commit bc256df
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
src/app/components/OtherParticipants/OtherParticipants.tsx
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,42 @@ | ||
import { RiCouponLine } from "react-icons/ri"; | ||
|
||
import Image from "next/image"; | ||
import imageVectorOrange from "@/assets/images/home/other-participants-vector-orange.svg"; | ||
import avatar from "@/assets/images/home/other-participants-avatar.png"; | ||
|
||
const OtherParticipants = () => { | ||
return ( | ||
<section className="flex flex-col gap-12"> | ||
<section className="my-6"> | ||
<Image | ||
src={imageVectorOrange} | ||
className="absolute right-0 -z-10 h-[59px] w-[215px] lg:h-[200px] lg:w-[720px]" | ||
alt="" | ||
/> | ||
<Image | ||
src={imageVectorOrange} | ||
alt="" | ||
className="absolute left-0 -z-10 h-[59px] w-[215px] -scale-x-[1] lg:h-[200px] lg:w-[720px]" | ||
/> | ||
<section className="flex flex-col items-center justify-center gap-2"> | ||
<RiCouponLine className="size-16 text-orange-500" /> | ||
<div> | ||
<h2 className="text-center text-2xl font-bold text-white lg:text-3xl"> | ||
دیگر شرکت کنندگان در همایش | ||
</h2> | ||
<p className="text-center text-xl text-zinc-400 lg:text-2xl"> | ||
براساس بلیتهای فروخته شده | ||
</p> | ||
</div> | ||
</section> | ||
</section> | ||
<section className="container flex w-full flex-wrap items-center justify-center gap-4 lg:gap-6"> | ||
{Array.from([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]).map((item) => ( | ||
<Image src={avatar} alt="" key={item} className="w-12 lg:w-16" /> | ||
))} | ||
</section> | ||
</section> | ||
); | ||
}; | ||
|
||
export default OtherParticipants; |