diff --git a/app/(main)/(lottery)/lottery/page.tsx b/app/(main)/(lottery)/lottery/page.tsx index a01e01e..9c7d4cc 100644 --- a/app/(main)/(lottery)/lottery/page.tsx +++ b/app/(main)/(lottery)/lottery/page.tsx @@ -1,14 +1,15 @@ +import CountDown from '@/components/lottery/countDown/CountDown'; import Image from 'next/image'; import React from 'react'; const page = () => { return ( -
-
+
+

Bije

-
+
{ className="rounded-[12px]" />
+ +
-
+
+ {/* Winners */} +
+
+

Results

+

The results after each stage will be shown here.

+
+ + {[...Array(5)].map((item, index) => ( +
+

The winner of the {index + 1} stage:

+

8 XX XX-XX-XX

+
+ ))} +
+ + {/* Sping the wheel */} +
+
+
+
+ +
+
+
+

Lotereýanyň duzgunleri:

+
+
+

Umumy düzgünler:

+
    + {Array(5) + .fill(' ') + .map((item) => ( +
  • + Ilkinji we dogry jogap beren sanawda ilkinji ýeri eýelýär +
  • + ))} +
+
+ +
+

Üns beriň:

+
    + {Array(1) + .fill(' ') + .map((item) => ( +
  • SMS = 1 manat
  • + ))} +
+
+
+
diff --git a/app/globals.css b/app/globals.css index c262fb1..8aa308e 100644 --- a/app/globals.css +++ b/app/globals.css @@ -215,3 +215,22 @@ big { @apply font-roboto text-[56px] leading-[64px] -tracking-[1%] font-normal; } } + +.font-heading-1-regular { + @apply -tracking-[1%] text-[36px] leading-[44px]; +} + +.font-heading-3-regular { + @apply -tracking-[1%] text-[28px] leading-[36px]; +} + +.font-heading-5-regular { + @apply -tracking-[1%] text-[24px] leading-[32px]; +} + +.font-base-medium { + @apply font-medium -tracking-[1%] text-[16px] leading-[24px]; +} +.font-small-regular { + @apply -tracking-[1%] text-[14px] leading-[20px]; +} diff --git a/components/lottery/countDown/CountDown.tsx b/components/lottery/countDown/CountDown.tsx new file mode 100644 index 0000000..ff2502d --- /dev/null +++ b/components/lottery/countDown/CountDown.tsx @@ -0,0 +1,57 @@ +const CountDown = () => { + return ( +
+ {/* Countdown */} +
+ {/* {Array(5) + .fill(' ') + .map((item, index) => + index % 2 === 0 ? ( +
+

12

+

sagat

+
+ ) : ( +
+
+
+
+ ), + )} */} +
+

12

+

sagat

+
+ +
+
+
+
+ +
+

44

+

minut

+
+ +
+
+
+
+ +
+

36

+

sekund

+
+
+ + {/* Seperator */} +
+ +
+ -dan başlar +
+
+ ); +}; + +export default CountDown; diff --git a/components/lottery/countDown/CountDownCell.tsx b/components/lottery/countDown/CountDownCell.tsx new file mode 100644 index 0000000..ee286d1 --- /dev/null +++ b/components/lottery/countDown/CountDownCell.tsx @@ -0,0 +1,15 @@ +interface IProps { + number: string; + title: string; +} + +const CountDownCell = ({ number, title }: IProps) => { + return ( +
+

{number}

+

{title}

+
+ ); +}; + +export default CountDownCell; diff --git a/components/lottery/countDown/CountDownSemicolmn.tsx b/components/lottery/countDown/CountDownSemicolmn.tsx new file mode 100644 index 0000000..c3e8b97 --- /dev/null +++ b/components/lottery/countDown/CountDownSemicolmn.tsx @@ -0,0 +1,10 @@ +const CountDownSemicolmn = () => { + return ( +
+
+
+
+ ); +}; + +export default CountDownSemicolmn;