a part of first page created

master
YasamanKahdooei 2024-04-06 15:21:37 +03:30
parent ea7b1b5a2a
commit f9299ea3cd
83 changed files with 12752 additions and 21 deletions

View File

@ -2,28 +2,111 @@
@tailwind components;
@tailwind utilities;
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
@layer base {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
--radius: 0.5rem;
}
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.9%;
}
}
/*
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
} */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
direction: rtl;
font-family: "iranyekan";
-webkit-tap-highlight-color: transparent;
--d-header-height: 70px;
--d-sideMenu-width-open: 200px;
--d-sideMenu-width-close: 70px;
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
margin: 0;
padding: 0;
direction: rtl;
background-color: var(--main-bg);
}
a {
text-decoration: none;
}
ul {
list-style: none;
}
button,
input {
font-family: iranyekan;
}
@layer utilities {
@ -31,3 +114,102 @@ body {
text-wrap: balance;
}
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: bold;
src: url(../assets/fonts/eot/iranyekanwebboldfanum.eot);
src: url(../assets/fonts/eot/iranyekanwebboldfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(../assets/fonts/woff/iranyekanwebboldfanum.woff) format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(../assets/fonts/ttf/iranyekanwebboldfanum.ttf) format("truetype");
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: 100;
src: url(../assets/fonts/eot/iranyekanwebthinfanum.eot);
src: url(../assets/fonts/eot/iranyekanwebthinfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(../assets/fonts/woff/iranyekanwebthinfanum.woff) format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(../assets/fonts/ttf/iranyekanwebthinfanum.ttf) format("truetype");
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: 300;
src: url(../assets/fonts/eot/iranyekanweblightfanum.eot);
src: url(../assets/fonts/eot/iranyekanweblightfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(../assets/fonts/woff/iranyekanweblightfanum.woff) format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(../assets/fonts/ttf/iranyekanweblightfanum.ttf) format("truetype");
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: normal;
src: url(/fonts/eot/iranyekanwebregularfanum.eot);
src: url(/fonts/eot/iranyekanwebregularfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(/fonts/woff/iranyekanwebregularfanum.woff)
format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(/fonts/ttf/iranyekanwebregularfanum.ttf) format("truetype");
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: 500;
src: url(/fonts/eot/iranyekanwebmediumfanum.eot);
src: url(/fonts/eot/iranyekanwebmediumfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(/fonts/woff/iranyekanwebmediumfanum.woff) format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(/fonts/ttf/iranyekanwebmediumfanum.ttf) format("truetype");
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: 800;
src: url(../assets/fonts/eot/iranyekanwebextraboldfanum.eot);
src: url(../assets/fonts/eot/iranyekanwebextraboldfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(../assets/fonts/woff/iranyekanwebextraboldfanum.woff)
format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(../assets/fonts/ttf/iranyekanwebextraboldfanum.ttf) format("truetype");
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: 850;
src: url(../assets/fonts/eot/iranyekanwebblackfanum.eot);
src: url(../assets/fonts/eot/iranyekanwebblackfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(../assets/fonts/woff/iranyekanwebblackfanum.woff) format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(../assets/fonts/ttf/iranyekanwebblackfanum.ttf) format("truetype");
}
@font-face {
font-family: "iranyekan";
font-style: normal;
font-weight: 900;
src: url(../assets/fonts/eot/iranyekanwebextrablackfanum.eot);
src: url(../assets/fonts/eot/iranyekanwebextrablackfanum.eot?#iefix)
format("embedded-opentype"),
/* IE6-8 */ url(../assets/fonts/woff/iranyekanwebextrablackfanum.woff)
format("woff"),
/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url(../assets/fonts/ttf/iranyekanwebextrablackfanum.ttf) format("truetype");
}

View File

@ -1,9 +1,10 @@
import SignIn from "@/components/SignIn";
import Image from "next/image";
export default function Home() {
return (
<main>
<h1></h1>
<SignIn />
</main>
);
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 199 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 221 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 201 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 198 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 233 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 222 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 219 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

22
assets/images/bazaar.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 28 KiB

BIN
assets/images/defaultPh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
assets/images/direct.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
assets/images/excel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
assets/images/ic_137.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

BIN
assets/images/insta-B.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="35" viewBox="0 0 31.735 43.813">
<g id="prefix__location" transform="translate(-70.573)">
<g id="prefix__Group_189" data-name="Group 189" transform="translate(70.573)">
<path id="prefix__Path_581" d="M86.44 0a15.885 15.885 0 0 0-15.867 15.867c0 10.858 14.2 26.8 14.8 27.472a1.429 1.429 0 0 0 2.126 0c.6-.673 14.8-16.614 14.8-27.472A15.886 15.886 0 0 0 86.44 0zm0 23.851a7.983 7.983 0 1 1 7.983-7.983 7.992 7.992 0 0 1-7.983 7.983z" data-name="Path 581" transform="translate(-70.573)" style="fill:#ca391b"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 619 B

BIN
assets/images/login.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

BIN
assets/images/login.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

BIN
assets/images/login3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 KiB

BIN
assets/images/lp-header.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
assets/images/no-image.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/images/pdf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
assets/images/ph.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 KiB

BIN
assets/images/tel-B.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
assets/images/web-B.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
assets/images/whats-B.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
assets/images/word.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -1,9 +1,76 @@
import React from 'react'
import Image from "next/image";
import React from "react";
import img1 from "../assets/images/auth_image_1.png";
import img2 from "../assets/images/auth_image_6.png";
import img3 from "../assets/images/auth_image_4.png";
import pishgaman from "../assets/images/goroh-pishgaman-logo.png";
import shetab from "../assets/images/shetab-logo.png";
import ostandari from "../assets/images/ostandari2.png";
function SignIn() {
return (
<div>SignIn</div>
)
<section className="bg-yellow flex h-screen w-full items-stretch justify-center overflow-y-hidden">
<div className="flex flex-1 items-center justify-center flex-col bg-white rounded-tl-[50px]">
World
</div>
<div className="w-[30%] flex flex-col relative pt-10 z-0 h-screen items-center">
<div className="flex flex-1 flex-col items-center justify-start w-full">
<Image
src={img1}
width={500}
height={500}
quality={100}
alt="img1"
className="w-[90%] h-auto mb-5"
/>
<Image
src={img2}
width={500}
height={500}
quality={100}
alt="img2"
className="w-[90%] h-auto mb-5"
/>
<div className="flex flex-wrap flex-row w-full items-center justify-center">
<Image
src={pishgaman}
width={500}
height={500}
quality={100}
alt="img3"
className="w-full max-w-14 h-auto flex-1 my-0 mx-2"
/>
<Image
src={shetab}
width={500}
height={500}
quality={100}
alt="img4"
className="w-full max-w-14 h-auto flex-1 my-0 mx-2"
/>
<Image
src={ostandari}
width={500}
height={500}
quality={100}
alt="img5"
className="w-full max-w-14 h-auto flex-1 my-0 mx-2"
/>
</div>
</div>
<Image
src={img3}
width={500}
height={500}
quality={100}
alt="img6"
className="w-full m-0 max-h-[200px]"
/>
</div>
</section>
);
}
export default SignIn
export default SignIn;

View File

@ -5,6 +5,7 @@ const config: Config = {
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/**/*.{ts,tsx}",
],
theme: {
extend: {
@ -13,6 +14,14 @@ const config: Config = {
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
colors: {
gradient1: "#E44D26",
yellow: "#fcc52d",
red: "#ba181b",
green: "#006400",
lightGreen: "#06d6a0",
blue: "#003aa3",
},
},
},
plugins: [],