l-min-components 1.0.503 → 1.0.511
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/assets/adminSvg/alertIcon.jsx +64 -0
- package/src/assets/adminSvg/analyticsIcon.jsx +30 -0
- package/src/assets/adminSvg/chatIcon.jsx +36 -0
- package/src/assets/adminSvg/cmsIcon.jsx +78 -0
- package/src/assets/adminSvg/dashboardIcon.jsx +78 -0
- package/src/assets/adminSvg/flaggedIcon.jsx +30 -0
- package/src/assets/adminSvg/revenueIcon.jsx +32 -0
- package/src/assets/adminSvg/settingsIcon.jsx +30 -0
- package/src/assets/adminSvg/ticketsIcon.jsx +70 -0
- package/src/assets/adminSvg/usersIcon.jsx +70 -0
- package/src/components/AdminAppMainLayout/index.jsx +48 -0
- package/src/components/AdminAppMainLayout/index.styled.js +43 -0
- package/src/components/AdminNavbar/assets/images/User-avatar.svg.png +0 -0
- package/src/components/AdminNavbar/assets/images/logo.png +0 -0
- package/src/components/AdminNavbar/assets/svg/add.jsx +14 -0
- package/src/components/AdminNavbar/assets/svg/arrow-down.jsx +17 -0
- package/src/components/AdminNavbar/assets/svg/book.jsx +34 -0
- package/src/components/AdminNavbar/assets/svg/chevron-ddown.jsx +14 -0
- package/src/components/AdminNavbar/assets/svg/close.jsx +15 -0
- package/src/components/AdminNavbar/assets/svg/coolicon.svg +3 -0
- package/src/components/AdminNavbar/assets/svg/message.jsx +39 -0
- package/src/components/AdminNavbar/assets/svg/notification.jsx +32 -0
- package/src/components/AdminNavbar/assets/svg/people.jsx +17 -0
- package/src/components/AdminNavbar/assets/svg/search.jsx +39 -0
- package/src/components/AdminNavbar/index.jsx +63 -0
- package/src/components/AdminNavbar/index.styled.js +202 -0
- package/src/components/AdminSidebar/assets/images/logo.png +0 -0
- package/src/components/AdminSidebar/assets/svg/chevronIcon.jsx +32 -0
- package/src/components/AdminSidebar/assets/svg/logoutIcon.jsx +54 -0
- package/src/components/AdminSidebar/index.jsx +150 -0
- package/src/components/AdminSidebar/index.styled.js +296 -0
- package/src/components/fullPageLoader/index.jsx +22 -11
- package/src/components/fullPageLoader/loader.jsx +4 -4
- package/src/components/index.js +1 -0
- package/src/hooks/adminSideMenuItems.jsx +253 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const AddIcon = ({ width, height, fill }) => (
|
|
2
|
+
<svg
|
|
3
|
+
width={width || "21"}
|
|
4
|
+
height={height || "20"}
|
|
5
|
+
viewBox="0 0 21 20"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M11.5 5H9.5V9H5.5V11H9.5V15H11.5V11H15.5V9H11.5V5ZM10.5 0C4.98 0 0.5 4.48 0.5 10C0.5 15.52 4.98 20 10.5 20C16.02 20 20.5 15.52 20.5 10C20.5 4.48 16.02 0 10.5 0ZM10.5 18C6.09 18 2.5 14.41 2.5 10C2.5 5.59 6.09 2 10.5 2C14.91 2 18.5 5.59 18.5 10C18.5 14.41 14.91 18 10.5 18Z"
|
|
11
|
+
fill="#FEBF10"
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const ArrowDownIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="20"
|
|
6
|
+
height="20"
|
|
7
|
+
viewBox="0 0 20 20"
|
|
8
|
+
fill="none"
|
|
9
|
+
>
|
|
10
|
+
<path
|
|
11
|
+
fill-rule="evenodd"
|
|
12
|
+
clip-rule="evenodd"
|
|
13
|
+
d="M4.41205 6.91205C4.73748 6.58661 5.26512 6.58661 5.59056 6.91205L10.0013 11.3228L14.4121 6.91205C14.7375 6.58661 15.2651 6.58661 15.5906 6.91205C15.916 7.23748 15.916 7.76512 15.5906 8.09056L10.5906 13.0906C10.2651 13.416 9.73749 13.416 9.41205 13.0906L4.41205 8.09056C4.08661 7.76512 4.08661 7.23748 4.41205 6.91205Z"
|
|
14
|
+
fill="#637381"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const BookIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
width={width || "23"}
|
|
5
|
+
height={height || "24"}
|
|
6
|
+
viewBox="0 0 23 24"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
9
|
+
<path
|
|
10
|
+
d="M21.0807 16.1404V4.57336C21.0807 3.42336 20.1416 2.57044 19.0011 2.66627H18.9436C16.9311 2.83877 13.8741 3.86419 12.1682 4.93752L12.0053 5.04294C11.7274 5.21544 11.2674 5.21544 10.9895 5.04294L10.7499 4.89919C9.04406 3.83544 5.99656 2.81961 3.98406 2.65669C2.84365 2.56086 1.91406 3.42336 1.91406 4.56377V16.1404C1.91406 17.0604 2.66156 17.9229 3.58156 18.0379L3.85948 18.0763C5.93906 18.3542 9.14948 19.4084 10.9895 20.4146L11.0278 20.4338C11.2866 20.5775 11.6986 20.5775 11.9478 20.4338C13.7878 19.4179 17.0078 18.3542 19.097 18.0763L19.4132 18.0379C20.3332 17.9229 21.0807 17.0604 21.0807 16.1404Z"
|
|
11
|
+
stroke="#00C2C2"
|
|
12
|
+
strokeLinecap="round"
|
|
13
|
+
strokeLinejoin="round"
|
|
14
|
+
/>
|
|
15
|
+
<path
|
|
16
|
+
d="M11.5 5.35938V19.7344"
|
|
17
|
+
stroke="#00C2C2"
|
|
18
|
+
strokeLinecap="round"
|
|
19
|
+
strokeLinejoin="round"
|
|
20
|
+
/>
|
|
21
|
+
<path
|
|
22
|
+
d="M7.42969 8.23438H5.27344"
|
|
23
|
+
stroke="#00C2C2"
|
|
24
|
+
strokeLinecap="round"
|
|
25
|
+
strokeLinejoin="round"
|
|
26
|
+
/>
|
|
27
|
+
<path
|
|
28
|
+
d="M8.14844 11.1094H5.27344"
|
|
29
|
+
stroke="#00C2C2"
|
|
30
|
+
strokeLinecap="round"
|
|
31
|
+
strokeLinejoin="round"
|
|
32
|
+
/>
|
|
33
|
+
</svg>
|
|
34
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const SettingIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
width={width || "17"}
|
|
5
|
+
height={width || "21"}
|
|
6
|
+
viewBox="0 0 17 21"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
9
|
+
<path
|
|
10
|
+
d="M8.48398 20.5025L0.015625 15.5998V5.79433L8.48398 0.891602L16.9523 5.79433V15.5998L8.48398 20.5025ZM8.48398 2.95253L1.79844 6.82212V14.572L8.48398 18.4425L15.1695 14.572V6.82212L8.48398 2.95164V2.95253ZM8.48398 14.2627C7.53863 14.26 6.63248 13.8846 5.96219 13.218C4.94264 12.1981 4.63778 10.6645 5.18977 9.33225C5.74176 7.99999 7.04189 7.13144 8.48398 7.13144C9.4291 7.13398 10.335 7.50942 11.0049 8.17617C12.3968 9.56855 12.3968 11.8256 11.0049 13.218C10.3349 13.8845 9.42904 14.2599 8.48398 14.2627ZM8.48398 8.91425C7.63344 8.91407 6.90121 9.51474 6.73511 10.3489C6.56901 11.1831 7.01531 12.0184 7.80105 12.344C8.58679 12.6697 9.49313 12.3949 9.96579 11.6878C10.4384 10.9807 10.3458 10.0381 9.74443 9.43662C9.41083 9.10125 8.95701 8.91317 8.48398 8.91425Z"
|
|
11
|
+
fill="#4A4D4D"
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const CloseIcon = ({ width, height, fill, onClick }) => (
|
|
2
|
+
<svg
|
|
3
|
+
onClick={onClick}
|
|
4
|
+
width={width || "12"}
|
|
5
|
+
height={height || "12"}
|
|
6
|
+
viewBox="0 0 12 12"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
>
|
|
10
|
+
<path
|
|
11
|
+
d="M11.8307 1.3415L10.6557 0.166504L5.9974 4.82484L1.33906 0.166504L0.164062 1.3415L4.8224 5.99984L0.164062 10.6582L1.33906 11.8332L5.9974 7.17484L10.6557 11.8332L11.8307 10.6582L7.1724 5.99984L11.8307 1.3415Z"
|
|
12
|
+
fill="#323232"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
15
|
+
);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const MessageIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
width={width || "22"}
|
|
5
|
+
height={width || "22"}
|
|
6
|
+
viewBox="0 0 22 22"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
9
|
+
<path
|
|
10
|
+
d="M7.96601 16.9366H7.52031C3.95469 16.9366 2.17188 16.0452 2.17188 11.5882V7.13115C2.17188 3.56553 3.95469 1.78271 7.52031 1.78271H14.6516C18.2172 1.78271 20 3.56553 20 7.13115V11.5882C20 15.1538 18.2172 16.9366 14.6516 16.9366H14.2059C13.9295 16.9366 13.6621 17.0703 13.4927 17.2932L12.1556 19.076C11.5673 19.8604 10.6046 19.8604 10.0162 19.076L8.67914 17.2932C8.53651 17.0971 8.20669 16.9366 7.96601 16.9366Z"
|
|
11
|
+
stroke="#4A4D4D"
|
|
12
|
+
strokeWidth="1.5"
|
|
13
|
+
strokeMiterlimit="10"
|
|
14
|
+
strokeLinecap="round"
|
|
15
|
+
strokeLinejoin="round"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
d="M14.6517 9.80557H14.6598"
|
|
19
|
+
stroke="#4A4D4D"
|
|
20
|
+
strokeWidth="2"
|
|
21
|
+
strokeLinecap="round"
|
|
22
|
+
strokeLinejoin="round"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d="M11.0814 9.80557H11.0894"
|
|
26
|
+
stroke="#7C8080"
|
|
27
|
+
strokeWidth="2"
|
|
28
|
+
strokeLinecap="round"
|
|
29
|
+
strokeLinejoin="round"
|
|
30
|
+
/>
|
|
31
|
+
<path
|
|
32
|
+
d="M7.51893 9.80557H7.52694"
|
|
33
|
+
stroke="#7C8080"
|
|
34
|
+
strokeWidth="2"
|
|
35
|
+
strokeLinecap="round"
|
|
36
|
+
strokeLinejoin="round"
|
|
37
|
+
/>
|
|
38
|
+
</svg>
|
|
39
|
+
);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const NotificationIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
width="24"
|
|
5
|
+
height="24"
|
|
6
|
+
viewBox="0 0 24 24"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
>
|
|
10
|
+
<path
|
|
11
|
+
d="M12.0186 2.91016C8.70862 2.91016 6.01862 5.60016 6.01862 8.91016V11.8002C6.01862 12.4102 5.75862 13.3402 5.44862 13.8602L4.29862 15.7702C3.58862 16.9502 4.07862 18.2602 5.37862 18.7002C9.68862 20.1402 14.3386 20.1402 18.6486 18.7002C19.8586 18.3002 20.3886 16.8702 19.7286 15.7702L18.5786 13.8602C18.2786 13.3402 18.0186 12.4102 18.0186 11.8002V8.91016C18.0186 5.61016 15.3186 2.91016 12.0186 2.91016Z"
|
|
12
|
+
stroke="#313333"
|
|
13
|
+
stroke-width="1.5"
|
|
14
|
+
stroke-miterlimit="10"
|
|
15
|
+
stroke-linecap="round"
|
|
16
|
+
/>
|
|
17
|
+
<path
|
|
18
|
+
d="M13.8719 3.20141C13.5619 3.11141 13.2419 3.04141 12.9119 3.00141C11.9519 2.88141 11.0319 2.95141 10.1719 3.20141C10.4619 2.46141 11.1819 1.94141 12.0219 1.94141C12.8619 1.94141 13.5819 2.46141 13.8719 3.20141Z"
|
|
19
|
+
stroke="#313333"
|
|
20
|
+
stroke-width="1.5"
|
|
21
|
+
stroke-miterlimit="10"
|
|
22
|
+
stroke-linecap="round"
|
|
23
|
+
stroke-linejoin="round"
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d="M15.0195 19.0586C15.0195 20.7086 13.6695 22.0586 12.0195 22.0586C11.1995 22.0586 10.4395 21.7186 9.89953 21.1786C9.35953 20.6386 9.01953 19.8786 9.01953 19.0586"
|
|
27
|
+
stroke="#313333"
|
|
28
|
+
stroke-width="1.5"
|
|
29
|
+
stroke-miterlimit="10"
|
|
30
|
+
/>
|
|
31
|
+
</svg>
|
|
32
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const PeopleIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
width={width || "19"}
|
|
5
|
+
height={height || "19"}
|
|
6
|
+
viewBox="0 0 19 19"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
9
|
+
<path
|
|
10
|
+
d="M9.69453 2.88144C10.3479 2.14119 11.3038 1.67432 12.3687 1.67432C14.338 1.67432 15.9344 3.2707 15.9344 5.23994C15.9344 7.20918 14.338 8.80556 12.3687 8.80556C11.3038 8.80556 10.3479 8.33868 9.69453 7.59844M12.3687 17.7196H1.67188V16.8282C1.67188 13.8744 4.06645 11.4798 7.02031 11.4798C9.97417 11.4798 12.3687 13.8744 12.3687 16.8282V17.7196ZM12.3687 17.7196H17.7172V16.8282C17.7172 13.8744 15.3226 11.4798 12.3687 11.4798C11.3946 11.4798 10.4812 11.7402 9.69453 12.1953M10.5859 5.23994C10.5859 7.20918 8.98955 8.80556 7.02031 8.80556C5.05107 8.80556 3.45469 7.20918 3.45469 5.23994C3.45469 3.2707 5.05107 1.67432 7.02031 1.67432C8.98955 1.67432 10.5859 3.2707 10.5859 5.23994Z"
|
|
11
|
+
stroke="#313333"
|
|
12
|
+
strokeWidth="1.5"
|
|
13
|
+
strokeLinecap="round"
|
|
14
|
+
strokeLinejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const SearchIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
width={width || "22"}
|
|
5
|
+
height={height || "22"}
|
|
6
|
+
viewBox="0 0 22 22"
|
|
7
|
+
fill="none"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
9
|
+
<path
|
|
10
|
+
d="M10.2496 19.2194C14.9265 19.2194 18.718 15.428 18.718 10.7511C18.718 6.07413 14.9265 2.28271 10.2496 2.28271C5.57266 2.28271 1.78125 6.07413 1.78125 10.7511C1.78125 15.428 5.57266 19.2194 10.2496 19.2194Z"
|
|
11
|
+
stroke="#4A4D4D"
|
|
12
|
+
strokeWidth="1.33711"
|
|
13
|
+
strokeLinecap="round"
|
|
14
|
+
strokeLinejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
<path
|
|
17
|
+
d="M19.6109 20.1109L17.8281 18.3281"
|
|
18
|
+
stroke="#4A4D4D"
|
|
19
|
+
strokeWidth="1.33711"
|
|
20
|
+
strokeLinecap="round"
|
|
21
|
+
strokeLinejoin="round"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export const InputSearchIcon = ({ width, height, fill }) => (
|
|
28
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
29
|
+
<g clip-path="url(#clip0_15174_273132)">
|
|
30
|
+
<path d="M8.33333 14.1667C11.555 14.1667 14.1667 11.555 14.1667 8.33333C14.1667 5.11167 11.555 2.5 8.33333 2.5C5.11167 2.5 2.5 5.11167 2.5 8.33333C2.5 11.555 5.11167 14.1667 8.33333 14.1667Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
31
|
+
<path d="M17.5 17.5L12.5 12.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
32
|
+
</g>
|
|
33
|
+
<defs>
|
|
34
|
+
<clipPath id="clip0_15174_273132">
|
|
35
|
+
<rect width="20" height="20" fill="white"/>
|
|
36
|
+
</clipPath>
|
|
37
|
+
</defs>
|
|
38
|
+
</svg>
|
|
39
|
+
);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import {
|
|
3
|
+
Navbar,
|
|
4
|
+
SearchInputGroup,
|
|
5
|
+
SearchInput,
|
|
6
|
+
NavGroup,
|
|
7
|
+
AdminAccount,
|
|
8
|
+
} from "./index.styled";
|
|
9
|
+
import { SearchIcon } from "./assets/svg/search";
|
|
10
|
+
import { NotificationIcon } from "./assets/svg/notification";
|
|
11
|
+
import { ArrowDownIcon } from "./assets/svg/arrow-down";
|
|
12
|
+
|
|
13
|
+
const AdminNavbar = () => {
|
|
14
|
+
const [searchResultOpen, setSearchResultOpen] = useState(false);
|
|
15
|
+
const [search, setSearch] = useState("");
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<Navbar>
|
|
19
|
+
<SearchInputGroup>
|
|
20
|
+
<SearchIcon />
|
|
21
|
+
<SearchInput
|
|
22
|
+
type="search"
|
|
23
|
+
value=""
|
|
24
|
+
id="adminSearch"
|
|
25
|
+
name="search"
|
|
26
|
+
placeholder="Type to search..."
|
|
27
|
+
onChange={(e) => setSearch(e.target.value)}
|
|
28
|
+
/>
|
|
29
|
+
|
|
30
|
+
{searchResultOpen && (
|
|
31
|
+
<div className="search-result-wrapper">
|
|
32
|
+
<p>
|
|
33
|
+
Website <span>UIUX </span> Design
|
|
34
|
+
</p>
|
|
35
|
+
</div>
|
|
36
|
+
)}
|
|
37
|
+
</SearchInputGroup>
|
|
38
|
+
|
|
39
|
+
<NavGroup>
|
|
40
|
+
<span className="notification__bell">
|
|
41
|
+
<NotificationIcon />
|
|
42
|
+
</span>
|
|
43
|
+
|
|
44
|
+
<AdminAccount>
|
|
45
|
+
<div className="admin__info">
|
|
46
|
+
<p className="admin_name"> Thomas Anree</p>
|
|
47
|
+
<p className="admin_role"> Ux Designer </p>
|
|
48
|
+
</div>
|
|
49
|
+
<div className="profile__box">
|
|
50
|
+
<div className="img_box">
|
|
51
|
+
<img src="" alt="" />
|
|
52
|
+
</div>
|
|
53
|
+
<span>
|
|
54
|
+
<ArrowDownIcon />
|
|
55
|
+
</span>
|
|
56
|
+
</div>
|
|
57
|
+
</AdminAccount>
|
|
58
|
+
</NavGroup>
|
|
59
|
+
</Navbar>
|
|
60
|
+
);
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export default AdminNavbar;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
|
|
3
|
+
/* styles for header component authenticated users */
|
|
4
|
+
export const Navbar = styled.nav`
|
|
5
|
+
background-color: rgba(255, 255, 255, 1);
|
|
6
|
+
padding: 17px 30px;
|
|
7
|
+
display: flex;
|
|
8
|
+
font-family: "Nunito";
|
|
9
|
+
width: 100%;
|
|
10
|
+
align-items: center;
|
|
11
|
+
/* justify-content: space-between; */
|
|
12
|
+
position: fixed;
|
|
13
|
+
z-index: 555;
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
export const NavGroup = styled.div`
|
|
17
|
+
width: 24%;
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: end;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 55px;
|
|
22
|
+
|
|
23
|
+
.notification__bell {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
border-radius: 100%;
|
|
28
|
+
background: #e6f9f9;
|
|
29
|
+
width: 44px;
|
|
30
|
+
height: 44px;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
|
|
34
|
+
export const Nav = styled.ul`
|
|
35
|
+
display: flex;
|
|
36
|
+
list-style: none;
|
|
37
|
+
align-items: center;
|
|
38
|
+
margin: 0 10px;
|
|
39
|
+
padding: 0 5px;
|
|
40
|
+
width: 57%;
|
|
41
|
+
|
|
42
|
+
& li {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
margin: 0 10px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& li:nth-of-type(1) {
|
|
49
|
+
margin-right: 75px;
|
|
50
|
+
margin-left: 35px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
& a.active {
|
|
54
|
+
color: rgba(0, 194, 194, 1) !important;
|
|
55
|
+
font-size: 21px;
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
& svg path {
|
|
58
|
+
stroke: rgba(0, 194, 194, 1);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
& a {
|
|
63
|
+
text-decoration: none;
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
color: #4a4d4d;
|
|
67
|
+
font-size: 15px;
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
line-height: normal;
|
|
71
|
+
position: relative;
|
|
72
|
+
|
|
73
|
+
&:hover:after {
|
|
74
|
+
content: "";
|
|
75
|
+
position: absolute;
|
|
76
|
+
left: 0;
|
|
77
|
+
bottom: -9px;
|
|
78
|
+
width: 40px;
|
|
79
|
+
height: 4px;
|
|
80
|
+
background-color: rgba(0, 194, 194, 1);
|
|
81
|
+
transition: width 0.3s ease-in-out;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
& svg {
|
|
85
|
+
margin-right: 12px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
color: rgba(0, 194, 194, 1);
|
|
90
|
+
// border-bottom: 2px solid rgba(0, 194, 194, 1);
|
|
91
|
+
& svg path {
|
|
92
|
+
stroke: rgba(0, 194, 194, 1);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
`;
|
|
97
|
+
|
|
98
|
+
export const SearchInputGroup = styled.div`
|
|
99
|
+
background-color: transparent;
|
|
100
|
+
width: 45%;
|
|
101
|
+
transition: 0.5s;
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
padding: 9px;
|
|
105
|
+
margin: 0 15px;
|
|
106
|
+
position: relative;
|
|
107
|
+
|
|
108
|
+
&::placeholder {
|
|
109
|
+
color: rgba(173, 178, 178, 1);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
& .search-result-wrapper {
|
|
113
|
+
position: absolute;
|
|
114
|
+
width: 300px;
|
|
115
|
+
height: 221px;
|
|
116
|
+
background-color: #ffffff;
|
|
117
|
+
box-shadow: 0px 2px 40px rgba(0, 0, 0, 0.08);
|
|
118
|
+
border-radius: 29px;
|
|
119
|
+
top: 56px;
|
|
120
|
+
right: -23px;
|
|
121
|
+
padding: 25px;
|
|
122
|
+
|
|
123
|
+
& p {
|
|
124
|
+
font-size: 16px;
|
|
125
|
+
line-height: 22px;
|
|
126
|
+
font-family: "Nunito";
|
|
127
|
+
color: #000000;
|
|
128
|
+
margin-bottom: 16px;
|
|
129
|
+
|
|
130
|
+
&:last-child {
|
|
131
|
+
margin-bottom: 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
& span {
|
|
135
|
+
font-weight: 700;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
`;
|
|
140
|
+
|
|
141
|
+
export const SearchInput = styled.input`
|
|
142
|
+
background-color: transparent;
|
|
143
|
+
padding: 0 8px;
|
|
144
|
+
font-size: 16px;
|
|
145
|
+
font-weight: 400;
|
|
146
|
+
border: none;
|
|
147
|
+
color: rgba(173, 179, 179, 1);
|
|
148
|
+
transition: 0.5s;
|
|
149
|
+
outline: none;
|
|
150
|
+
box-shadow: none;
|
|
151
|
+
width: 100%;
|
|
152
|
+
&:active {
|
|
153
|
+
border: none;
|
|
154
|
+
outline: none;
|
|
155
|
+
box-shadow: none;
|
|
156
|
+
}
|
|
157
|
+
&::placeholder {
|
|
158
|
+
color: rgba(173, 178, 178, 1);
|
|
159
|
+
}
|
|
160
|
+
`;
|
|
161
|
+
|
|
162
|
+
export const AdminAccount = styled.div`
|
|
163
|
+
display: flex;
|
|
164
|
+
gap: 30px;
|
|
165
|
+
.admin__info {
|
|
166
|
+
.admin_name {
|
|
167
|
+
color: #212b36;
|
|
168
|
+
text-align: right;
|
|
169
|
+
font-family: "Nunito", sans-serif;
|
|
170
|
+
font-size: 14px;
|
|
171
|
+
font-weight: 600;
|
|
172
|
+
line-height: normal;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.admin_role {
|
|
176
|
+
color: #637381;
|
|
177
|
+
text-align: right;
|
|
178
|
+
font-family: "Nunito", sans-serif;
|
|
179
|
+
font-size: 12px;
|
|
180
|
+
font-weight: 600;
|
|
181
|
+
line-height: normal;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.profile__box {
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
gap: 10px;
|
|
189
|
+
.img_box {
|
|
190
|
+
width: 46px;
|
|
191
|
+
height: 46px;
|
|
192
|
+
background-color: #637381;
|
|
193
|
+
border-radius: 100%;
|
|
194
|
+
|
|
195
|
+
img {
|
|
196
|
+
width: 100%;
|
|
197
|
+
height: 100%;
|
|
198
|
+
border-radius: 100%;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
`;
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const ChevronIcon = ({ width, height, style }) => (
|
|
3
|
+
<svg
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="24"
|
|
6
|
+
height="25"
|
|
7
|
+
viewBox="0 0 24 25"
|
|
8
|
+
fill="none"
|
|
9
|
+
style={style}
|
|
10
|
+
>
|
|
11
|
+
<path
|
|
12
|
+
d="M12.0017 16.3477L18.0117 10.3377L16.5977 8.92266L11.9977 13.5227L7.39772 8.92266L5.99072 10.3377L12.0017 16.3477Z"
|
|
13
|
+
fill="#636666"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
export const ChevronIconActive = ({ width, height, fill, style }) => (
|
|
19
|
+
<svg
|
|
20
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
+
width="24"
|
|
22
|
+
height="25"
|
|
23
|
+
viewBox="0 0 24 25"
|
|
24
|
+
fill="none"
|
|
25
|
+
style={style}
|
|
26
|
+
>
|
|
27
|
+
<path
|
|
28
|
+
d="M12.0017 16.3477L18.0117 10.3377L16.5977 8.92266L11.9977 13.5227L7.39772 8.92266L5.99072 10.3377L12.0017 16.3477Z"
|
|
29
|
+
fill={fill}
|
|
30
|
+
/>
|
|
31
|
+
</svg>
|
|
32
|
+
);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export const LogoutIcon = ({ width, height, fill }) => (
|
|
3
|
+
<svg
|
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="24"
|
|
6
|
+
height="25"
|
|
7
|
+
viewBox="0 0 24 25"
|
|
8
|
+
fill="none"
|
|
9
|
+
>
|
|
10
|
+
<g clip-path="url(#clip0_2736_63595)">
|
|
11
|
+
<path
|
|
12
|
+
d="M13 3.63672H11V13.6367H13V3.63672ZM17.83 5.80672L16.41 7.22672C17.99 8.49672 19 10.4467 19 12.6367C19 16.5067 15.87 19.6367 12 19.6367C8.13 19.6367 5 16.5067 5 12.6367C5 10.4467 6.01 8.49672 7.58 7.21672L6.17 5.80672C4.23 7.45672 3 9.89672 3 12.6367C3 17.6067 7.03 21.6367 12 21.6367C16.97 21.6367 21 17.6067 21 12.6367C21 9.89672 19.77 7.45672 17.83 5.80672Z"
|
|
13
|
+
fill="#F95454"
|
|
14
|
+
/>
|
|
15
|
+
</g>
|
|
16
|
+
<defs>
|
|
17
|
+
<clipPath id="clip0_2736_63595">
|
|
18
|
+
<rect
|
|
19
|
+
width="24"
|
|
20
|
+
height="24"
|
|
21
|
+
fill="white"
|
|
22
|
+
transform="translate(0 0.636719)"
|
|
23
|
+
/>
|
|
24
|
+
</clipPath>
|
|
25
|
+
</defs>
|
|
26
|
+
</svg>
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
export const LogoutIconActive = ({ width, height, fill }) => (
|
|
30
|
+
<svg
|
|
31
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
32
|
+
width="24"
|
|
33
|
+
height="25"
|
|
34
|
+
viewBox="0 0 24 25"
|
|
35
|
+
fill="none"
|
|
36
|
+
>
|
|
37
|
+
<g clip-path="url(#clip0_2736_63595)">
|
|
38
|
+
<path
|
|
39
|
+
d="M13 3.63672H11V13.6367H13V3.63672ZM17.83 5.80672L16.41 7.22672C17.99 8.49672 19 10.4467 19 12.6367C19 16.5067 15.87 19.6367 12 19.6367C8.13 19.6367 5 16.5067 5 12.6367C5 10.4467 6.01 8.49672 7.58 7.21672L6.17 5.80672C4.23 7.45672 3 9.89672 3 12.6367C3 17.6067 7.03 21.6367 12 21.6367C16.97 21.6367 21 17.6067 21 12.6367C21 9.89672 19.77 7.45672 17.83 5.80672Z"
|
|
40
|
+
fill="#F95454"
|
|
41
|
+
/>
|
|
42
|
+
</g>
|
|
43
|
+
<defs>
|
|
44
|
+
<clipPath id="clip0_2736_63595">
|
|
45
|
+
<rect
|
|
46
|
+
width="24"
|
|
47
|
+
height="24"
|
|
48
|
+
fill="white"
|
|
49
|
+
transform="translate(0 0.636719)"
|
|
50
|
+
/>
|
|
51
|
+
</clipPath>
|
|
52
|
+
</defs>
|
|
53
|
+
</svg>
|
|
54
|
+
);
|