turkmentv_front/components/lottery/rules/LotteryRulesSection.tsx

50 lines
1.9 KiB
TypeScript
Raw Normal View History

2025-01-06 13:17:03 +00:00
import { useLotteryAuth } from '@/store/useLotteryAuth';
2024-12-23 19:13:36 +00:00
2024-12-11 13:13:22 +00:00
const LotteryRulesSection = () => {
2024-12-23 19:13:36 +00:00
const { lotteryData } = useLotteryAuth();
2024-12-11 13:13:22 +00:00
return (
<section>
<div className="container">
2024-12-13 11:37:37 +00:00
<div className="flex flex-col md:gap-8 gap-6">
2024-12-29 18:02:23 +00:00
<h2 className="md:font-heading-1-regular sm:text-[32px] text-[26px] sm:leading-[40px] leading-[34px]">
2025-01-06 13:17:03 +00:00
Bijäniň düzgünleri:
2024-12-13 11:37:37 +00:00
</h2>
2024-12-29 18:02:23 +00:00
<div className="flex sm:flex-row flex-col gap-6">
<div className="flex flex-col md:gap-4 sm:gap-2 gap-4 bg-lightSurfaceContainer sm:py-4 md:px-8 sm:px-6 py-3 px-4 rounded-[12px] w-full">
<h3 className="md:font-heading-5-regular sm:text-[20px] text-[18px] sm:leading-[24px] leading-[28px]">
2024-12-13 11:37:37 +00:00
Umumy düzgünler:
</h3>
<ul className="list-disc flex flex-col md:gap-4 gap-2 pl-[16px]">
2024-12-11 13:13:22 +00:00
{Array(5)
2025-01-06 13:17:03 +00:00
.fill(' ')
2024-12-11 13:13:22 +00:00
.map((item, i) => (
<li className="font-small-regular" key={i}>
Ilkinji we dogry jogap beren sanawda ilkinji ýeri eýelýär
</li>
))}
</ul>
</div>
2024-12-29 18:02:23 +00:00
<div className="flex flex-col md:gap-4 sm:gap-2 gap-4 bg-lightSurfaceContainer sm:py-4 md:px-8 sm:px-6 py-3 px-4 rounded-[12px] w-full">
<h3 className="md:font-heading-5-regular sm:text-[20px] text-[18px] sm:leading-[24px] leading-[28px]">
2025-01-06 13:17:03 +00:00
Siziň açar sözleriňiz:
2024-12-29 18:02:23 +00:00
</h3>
2024-12-13 11:37:37 +00:00
<ul className="list-disc flex flex-col md:gap-4 gap-2 pl-[16px]">
2024-12-25 13:46:20 +00:00
{lotteryData?.user_lottery_numbers.map((item, i) => (
<li className="font-small-regular" key={i}>
{item}
</li>
))}
2024-12-11 13:13:22 +00:00
</ul>
</div>
</div>
</div>
</div>
</section>
);
};
export default LotteryRulesSection;