Skip to content

Commit 2a39035

Browse files
committed
20221229-2
1 parent 098aded commit 2a39035

File tree

12 files changed

+190
-206
lines changed

12 files changed

+190
-206
lines changed

src/assets/css/App.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");
2+
3+
@font-face {
4+
font-family: 'Vazir';
5+
src: local('Vazir'), url(../fonts/Vazir.woff) format('woff');
6+
src: local('Vazir'), url(../fonts/Vazir.ttf) format('ttf');
7+
}
8+
29
body {
3-
font-family: "DM Sans", sans-serif;
10+
font-family: "Vazir" !important;
411
}
512

613
option {

src/assets/fonts/Vazir-Bold.ttf

88.8 KB
Binary file not shown.

src/assets/fonts/Vazir-Thin.ttf

87.5 KB
Binary file not shown.

src/assets/fonts/Vazir.eot

82.8 KB
Binary file not shown.

src/assets/fonts/Vazir.ttf

82.6 KB
Binary file not shown.

src/assets/fonts/Vazir.woff

46.7 KB
Binary file not shown.

src/assets/fonts/Vazir.woff2

37.1 KB
Binary file not shown.

src/assets/fonts/Yekan.ttf

65.7 KB
Binary file not shown.

src/assets/fonts/yekan-regular.ttf

88.5 KB
Binary file not shown.

src/layouts/auth/Default.js

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ function AuthIllustration(props) {
1818
h={{
1919
sm: "initial",
2020
md: "unset",
21-
lg: "100vh",
22-
xl: "97vh",
21+
lg: "70vh",
22+
xl: "77vh",
2323
}}
2424
w='100%'
2525
maxW={{ md: "66%", lg: "1313px" }}
@@ -29,48 +29,9 @@ function AuthIllustration(props) {
2929
ps={{ xl: "70px" }}
3030
justifyContent='start'
3131
direction='column'>
32-
<NavLink
33-
to='/admin'
34-
style={() => ({
35-
width: "fit-content",
36-
marginTop: "40px",
37-
})}>
38-
<Flex
39-
align='center'
40-
ps={{ base: "25px", lg: "0px" }}
41-
pt={{ lg: "0px", xl: "0px" }}
42-
w='fit-content'>
43-
<Icon
44-
as={FaChevronLeft}
45-
me='12px'
46-
h='13px'
47-
w='8px'
48-
color='secondaryGray.600'
49-
/>
50-
<Text ms='0px' fontSize='sm' color='secondaryGray.600'>
51-
Back to Simmmple
52-
</Text>
53-
</Flex>
54-
</NavLink>
32+
5533
{children}
56-
<Box
57-
display={{ base: "none", md: "block" }}
58-
h='100%'
59-
minH='100vh'
60-
w={{ lg: "50vw", "2xl": "44vw" }}
61-
position='absolute'
62-
right='0px'>
63-
<Flex
64-
bg={`url(${illustrationBackground})`}
65-
justify='center'
66-
align='end'
67-
w='100%'
68-
h='100%'
69-
bgSize='cover'
70-
bgPosition='50%'
71-
position='absolute'
72-
borderBottomLeftRadius={{ lg: "120px", xl: "200px" }}></Flex>
73-
</Box>
34+
7435
<Footer />
7536
</Flex>
7637
<FixedPlugin />

src/routes.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ import SignInCentered from "views/auth/signIn";
2121

2222
const routes = [
2323
{
24-
name: "Main Dashboard",
24+
name: "صفحه نخست",
2525
layout: "/admin",
2626
path: "/default",
2727
icon: <Icon as={MdHome} width='20px' height='20px' color='inherit' />,
2828
component: MainDashboard,
2929
},
3030
{
31-
name: "NFT Marketplace",
31+
name: "پروژه ها",
3232
layout: "/admin",
3333
path: "/nft-marketplace",
3434
icon: (
@@ -43,28 +43,28 @@ const routes = [
4343
secondary: true,
4444
},
4545
{
46-
name: "Data Tables",
46+
name: "امور مالی",
4747
layout: "/admin",
4848
icon: <Icon as={MdBarChart} width='20px' height='20px' color='inherit' />,
4949
path: "/data-tables",
5050
component: DataTables,
5151
},
5252
{
53-
name: "Profile",
53+
name: "حساب کاربری",
5454
layout: "/admin",
5555
path: "/profile",
5656
icon: <Icon as={MdPerson} width='20px' height='20px' color='inherit' />,
5757
component: Profile,
5858
},
5959
{
60-
name: "Sign In",
60+
name: "ورود/ثبت نام",
6161
layout: "/auth",
6262
path: "/sign-in",
6363
icon: <Icon as={MdLock} width='20px' height='20px' color='inherit' />,
6464
component: SignInCentered,
6565
},
6666
{
67-
name: "RTL Admin",
67+
name: "پیشنهادات و پروژه های من",
6868
layout: "/rtl",
6969
path: "/rtl-default",
7070
icon: <Icon as={MdHome} width='20px' height='20px' color='inherit' />,

0 commit comments

Comments
 (0)