diff --git a/app/globals.css b/app/globals.css index ca81842..6232afa 100644 --- a/app/globals.css +++ b/app/globals.css @@ -125,8 +125,33 @@ body { font-family: kalame; } +/* .bg-banner-home, +.bg-banner-register { + background-size: cover !important; + background-repeat: no-repeat !important; + background-position: center !important; +} */ + .bg-banner-home { background: url(../public/assets/images/banner-home.png); + position: relative; +} + +.bg-banner-home::after { + content: ""; + position: absolute; + right: 0; + top: 0; + width: 100%; + height: 40%; + background: url(../public/assets/images/banner-register.png); + background-size: cover !important; + background-repeat: no-repeat !important; + background-position: center !important; +} + +.bg-banner-register { + background: url(../public/assets/images/banner-register.png); } .animate-open { diff --git a/app/signin/page.js b/app/signin/page.js index 9cb4384..55a5306 100644 --- a/app/signin/page.js +++ b/app/signin/page.js @@ -1,10 +1,12 @@ import RegisterPage from '@/components/register' -import React from 'react' +import SignInPage from '@/components/register/signin' function SignIn() { return (
- + + +
) } diff --git a/components/home/FrequentSearches.js b/components/home/FrequentSearches.js index b1fb2fa..d6864b4 100644 --- a/components/home/FrequentSearches.js +++ b/components/home/FrequentSearches.js @@ -4,7 +4,7 @@ import { Button } from "@mui/material" function FrequentSearches() { return (
-

جستجوهای پر تکرار:

+

جستجوهای پر تکرار:

diff --git a/components/icons/CalendarAddF.js b/components/icons/CalendarAddF.js new file mode 100644 index 0000000..3c89649 --- /dev/null +++ b/components/icons/CalendarAddF.js @@ -0,0 +1,19 @@ +function CalendarAddF() { + return ( + + + + + + + + + + + + + + ) +} + +export default CalendarAddF \ No newline at end of file diff --git a/components/icons/Instagram.js b/components/icons/Instagram.js index b0ba1e2..07da5be 100644 --- a/components/icons/Instagram.js +++ b/components/icons/Instagram.js @@ -1,9 +1,9 @@ function Instagram() { return ( - - - + + + ) } diff --git a/components/icons/Linkedin.js b/components/icons/Linkedin.js index 6ae4e1c..31406d8 100644 --- a/components/icons/Linkedin.js +++ b/components/icons/Linkedin.js @@ -1,7 +1,7 @@ function Linkedin() { return ( - + ) } diff --git a/components/icons/LocationF.js b/components/icons/LocationF.js new file mode 100644 index 0000000..f595a59 --- /dev/null +++ b/components/icons/LocationF.js @@ -0,0 +1,12 @@ +function LocationF() { + return ( + + + + + + + ) +} + +export default LocationF \ No newline at end of file diff --git a/components/icons/StethoscopeF.js b/components/icons/StethoscopeF.js new file mode 100644 index 0000000..0da9709 --- /dev/null +++ b/components/icons/StethoscopeF.js @@ -0,0 +1,12 @@ +function StethoscopeF() { + return ( + + + + + + + ) +} + +export default StethoscopeF \ No newline at end of file diff --git a/components/icons/Telegram.js b/components/icons/Telegram.js index 5b0f150..f5a65e6 100644 --- a/components/icons/Telegram.js +++ b/components/icons/Telegram.js @@ -1,7 +1,7 @@ function Telegram() { return ( - + ) } diff --git a/components/icons/Whatsapp.js b/components/icons/Whatsapp.js index f2eb772..1c3d4c4 100644 --- a/components/icons/Whatsapp.js +++ b/components/icons/Whatsapp.js @@ -1,8 +1,8 @@ function Whatsapp() { return ( - - + + ) } diff --git a/components/layout/Footer.js b/components/layout/Footer.js index f8dbd73..292dd30 100644 --- a/components/layout/Footer.js +++ b/components/layout/Footer.js @@ -4,6 +4,7 @@ import Linkedin from "../icons/Linkedin"; import Telegram from "../icons/Telegram"; import Whatsapp from "../icons/Whatsapp"; import Instagram from "../icons/Instagram"; +import Link from "next/link"; const socialMedias = [ , @@ -12,11 +13,17 @@ const socialMedias = [ ] +const Namads = [ + '/assets/images/footer-etehadie.png', + '/assets/images/footer-r.png', + '/assets/images/footer-namad.png' +] + function Footer() { return (
-
+
{/* Right */}
{/* Icon */} @@ -32,6 +39,18 @@ function Footer() {

724 یک وبسایت نوبت دهی آنلاین می باشد که
بستری آسان برای پزشکان و بیماران فراهم کرده
است.

+
    + {Namads.map(src => ( +
  • + logo +
  • + ))} +
{/* Center */} @@ -40,7 +59,8 @@ function Footer() {
  • {item}
  • ))} @@ -50,7 +70,8 @@ function Footer() {
  • {item}
  • ))} @@ -58,16 +79,21 @@ function Footer() { {/* Left */}
    -

    - ما را در شبکه های اجتماعی دنبال کنید: +

    + همراه با ما باشید:

      {socialMedias.map((item, idx) => (
    • - {item} + + {item} +
    • ))}
    diff --git a/components/layout/Header.js b/components/layout/Header.js index 793df9a..482e2e3 100644 --- a/components/layout/Header.js +++ b/components/layout/Header.js @@ -35,7 +35,7 @@ function Header() { ))} -
    diff --git a/components/register/index.js b/components/register/index.js index b9fb68e..f14b183 100644 --- a/components/register/index.js +++ b/components/register/index.js @@ -1,12 +1,18 @@ -import Logo from "@/components/assets/Logo" +import Image from "next/image" -function RegisterPage() { +function RegisterPage({ children }) { return ( -
    -
    - -

    نوبت ۷۲۴

    +
    +
    + logo +

    نوبت ۷۲۴

    + {children}
    ) } diff --git a/components/register/signin/index.js b/components/register/signin/index.js new file mode 100644 index 0000000..623d7fb --- /dev/null +++ b/components/register/signin/index.js @@ -0,0 +1,14 @@ +import React from 'react' + +function SignInPage() { + return ( +
    +

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

    +
    +

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

    +
    +
    + ) +} + +export default SignInPage \ No newline at end of file diff --git a/public/assets/images/banner-home.png b/public/assets/images/banner-home.png index 1bdbfc5..e7c6324 100644 Binary files a/public/assets/images/banner-home.png and b/public/assets/images/banner-home.png differ diff --git a/public/assets/images/banner-home1.png b/public/assets/images/banner-home1.png new file mode 100644 index 0000000..1bdbfc5 Binary files /dev/null and b/public/assets/images/banner-home1.png differ diff --git a/public/assets/images/banner-register.png b/public/assets/images/banner-register.png new file mode 100644 index 0000000..a58f7e7 Binary files /dev/null and b/public/assets/images/banner-register.png differ diff --git a/public/assets/images/footer-etehadie.png b/public/assets/images/footer-etehadie.png new file mode 100644 index 0000000..8dedb16 Binary files /dev/null and b/public/assets/images/footer-etehadie.png differ diff --git a/public/assets/images/footer-namad.png b/public/assets/images/footer-namad.png new file mode 100644 index 0000000..1587642 Binary files /dev/null and b/public/assets/images/footer-namad.png differ diff --git a/public/assets/images/footer-r.png b/public/assets/images/footer-r.png new file mode 100644 index 0000000..1e2fb28 Binary files /dev/null and b/public/assets/images/footer-r.png differ