diff --git a/app/globals.css b/app/globals.css index 6232afa..0d48227 100644 --- a/app/globals.css +++ b/app/globals.css @@ -132,6 +132,10 @@ body { background-position: center !important; } */ +.bg-border-t-gradient-sign { + background: linear-gradient(90deg, #E5E5E5 0%, #BABABA 48.5%, #E5E5E5 100%); +} + .bg-banner-home { background: url(../public/assets/images/banner-home.png); position: relative; diff --git a/app/signin/page.js b/app/signin/page.js index 55a5306..fbeb29f 100644 --- a/app/signin/page.js +++ b/app/signin/page.js @@ -1,11 +1,19 @@ -import RegisterPage from '@/components/register' -import SignInPage from '@/components/register/signin' +'use client'; +import RegisterPage from '@/components/register'; +import SetCodePage from '@/components/register/SetCodePage'; +import SignInPage from '@/components/register/SignInPage'; +import { useState } from 'react'; function SignIn() { + + const [isSendMsg, setIsSendMsg] = useState(false); + return (
- + {isSendMsg ? + : + }
) diff --git a/components/icons/Linkedin.js b/components/icons/Linkedin.js index 31406d8..d7f4034 100644 --- a/components/icons/Linkedin.js +++ b/components/icons/Linkedin.js @@ -1,7 +1,7 @@ function Linkedin() { return ( - + ) } diff --git a/components/register/SetCodePage.js b/components/register/SetCodePage.js new file mode 100644 index 0000000..ed5bef2 --- /dev/null +++ b/components/register/SetCodePage.js @@ -0,0 +1,7 @@ +function SetCodePage() { + return ( +
SetCodePage
+ ) +} + +export default SetCodePage \ No newline at end of file diff --git a/components/register/signin/index.js b/components/register/SignInPage.js similarity index 59% rename from components/register/signin/index.js rename to components/register/SignInPage.js index ebbd463..e085a64 100644 --- a/components/register/signin/index.js +++ b/components/register/SignInPage.js @@ -1,9 +1,10 @@ import Field from '@/app/component/element/Field' +import { Button } from '@mui/material' import React from 'react' function SignInPage() { return ( -
+

ورود یا ثبت نام در نوبت 724

شماره همراه خود را وارد نمایید.

@@ -14,6 +15,8 @@ function SignInPage() { title='شماره همراه' />
+ +

قوانین استفاده از نوبت 724 را می پذیرم.

) } diff --git a/components/register/index.js b/components/register/index.js index f14b183..c25b6d7 100644 --- a/components/register/index.js +++ b/components/register/index.js @@ -1,8 +1,10 @@ import Image from "next/image" +const about = ['سوالات متداول', 'تماس با ما', 'درباره ما']; + function RegisterPage({ children }) { return ( -
+
نوبت ۷۲۴

{children} +
+
+
+ {about.map((item, idx) => ( +

{item}

+ ))} +
+
) }