a part of first page created
214
app/globals.css
|
|
@ -2,28 +2,111 @@
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@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 {
|
:root {
|
||||||
--foreground-rgb: 255, 255, 255;
|
--background: 0 0% 100%;
|
||||||
--background-start-rgb: 0, 0, 0;
|
--foreground: 222.2 84% 4.9%;
|
||||||
--background-end-rgb: 0, 0, 0;
|
|
||||||
|
--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 {
|
body {
|
||||||
color: rgb(var(--foreground-rgb));
|
margin: 0;
|
||||||
background: linear-gradient(
|
padding: 0;
|
||||||
to bottom,
|
direction: rtl;
|
||||||
transparent,
|
background-color: var(--main-bg);
|
||||||
rgb(var(--background-end-rgb))
|
}
|
||||||
)
|
a {
|
||||||
rgb(var(--background-start-rgb));
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
input {
|
||||||
|
font-family: iranyekan;
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer utilities {
|
@layer utilities {
|
||||||
|
|
@ -31,3 +114,102 @@ body {
|
||||||
text-wrap: balance;
|
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");
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
|
import SignIn from "@/components/SignIn";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
<h1></h1>
|
<SignIn />
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
After Width: | Height: | Size: 199 KiB |
|
After Width: | Height: | Size: 221 KiB |
|
After Width: | Height: | Size: 201 KiB |
|
After Width: | Height: | Size: 198 KiB |
|
After Width: | Height: | Size: 233 KiB |
|
After Width: | Height: | Size: 222 KiB |
|
After Width: | Height: | Size: 219 KiB |
|
After Width: | Height: | Size: 241 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 203 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 552 KiB |
|
After Width: | Height: | Size: 171 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 155 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
|
@ -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 |
|
After Width: | Height: | Size: 224 KiB |
|
After Width: | Height: | Size: 458 KiB |
|
After Width: | Height: | Size: 449 KiB |
|
After Width: | Height: | Size: 380 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 380 KiB |
|
After Width: | Height: | Size: 480 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 140 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 773 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
|
@ -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() {
|
function SignIn() {
|
||||||
return (
|
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;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ const config: Config = {
|
||||||
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
|
"./src/**/*.{ts,tsx}",
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
|
|
@ -13,6 +14,14 @@ const config: Config = {
|
||||||
"gradient-conic":
|
"gradient-conic":
|
||||||
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
|
"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: [],
|
plugins: [],
|
||||||
|
|
|
||||||