update 12 files and delete 21 files

master
mahdi 3 years ago
parent 8370a22fa1
commit afff3e621b
  1. 2
      public/images/CustomToastpen-icon.svg
  2. 0
      public/images/DropDownmore2.svg
  3. 0
      public/images/FileManagerarrow-left.svg
  4. 0
      public/images/FileManagergray-search-icon.svg
  5. 0
      public/images/FileManagerplus.svg
  6. 0
      public/images/Folderlistfolder-open.svg
  7. 0
      public/images/Folderlistmore.svg
  8. 0
      public/images/Folderlistprofile-pic1.svg
  9. 0
      public/images/Folderlistprofile-pic2.svg
  10. 0
      public/images/Folderlistprofile-pic3.svg
  11. 0
      public/images/ProfilePicNextToEachOtherprofilePic1.svg
  12. 0
      public/images/ProfilePicNextToEachOtherprofilePic2.svg
  13. 0
      public/images/ProfilePicNextToEachOtherprofilePic3.svg
  14. 0
      public/images/ProfilePicNextToEachOtherprofilePic4.svg
  15. 0
      public/images/ProfilePicNextToEachOtherprofilePic5.svg
  16. 0
      public/images/SearchBoxsearch-normal.svg
  17. 0
      public/images/SearchBoxzarbedar-icon.svg
  18. 4
      src/components/CardDesgin/CardDesign3/index.js
  19. 4
      src/components/CardDesgin/CustomToast/index.js
  20. 56
      src/components/CardDesgin/CustomToast2/index.js
  21. 4
      src/components/CardDesgin/index.js
  22. 2
      src/components/CurrentDateTime/DateTime/index.js
  23. 2
      src/components/CurrentDateTime/index.js
  24. 20
      src/components/FileManager/index.js
  25. 0
      src/components/FileManager/index.scss
  26. 39
      src/components/Folderlist/index.js
  27. 0
      src/components/Folderlist/index.scss
  28. 8
      src/components/MiniComponents/DropDown/index.js
  29. 2
      src/components/MiniComponents/index.js
  30. 7
      src/components/SearchDesign/SearchBox/index.js
  31. 2
      src/components/Sidebar/SidebarDesign2/index.js
  32. 33
      src/redux/data.js

@ -7,4 +7,4 @@
<path id="Vector-4" data-name="Vector" d="M0,0H24V24H0Z" fill="none" opacity="0"/>
</g>
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 749 B

After

Width:  |  Height:  |  Size: 749 B

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 470 B

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 641 B

After

Width:  |  Height:  |  Size: 641 B

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 545 B

After

Width:  |  Height:  |  Size: 545 B

@ -2,11 +2,11 @@
import React from "react";
import CustomToast2 from "../../CustomToast2";
import CustomToast2 from "../CustomToast2";
import TitleSubtitle from "../../MiniComponents/TitleSubtitle";
import SearchBox from "../../SearchBox";
import SearchBox from "../../SearchDesign/SearchBox";
const CardDesign3 = () => {
return (

@ -1,7 +1,5 @@
import React from "react";
import penIcon from "./pen-icon.svg";
const CustomToast = ({ className, icon }) => {
return (
<div className={`flex flex-row items-center text-sm rounded ${className} `}>
@ -16,5 +14,5 @@ export default CustomToast;
CustomToast.defaultProps = {
className:
"p-4 bg-[#489BEC33] border-[#489BEC] text-[#0555A4] mt-4 border-2 font-sansbold",
icon: penIcon,
icon: "images/CustomToastpen-icon.svg",
};

@ -1,12 +1,5 @@
import React from "react";
import profilePic1 from "./images/profilePic1.svg";
import profilePic2 from "./images/profilePic2.svg";
import profilePic3 from "./images/profilePic3.svg";
import profilePic4 from "./images/profilePic4.svg";
import profilePic5 from "./images/profilePic5.svg";
import pen from "./pen.svg";
const CustomToast2 = ({ items, num }) => {
return (
<>
@ -39,7 +32,11 @@ const CustomToast2 = ({ items, num }) => {
<span className="px-2 py-0.5 mr-2 rounded-sm bg-[#C9E2B388] text-[#468722] font-sansbold">
{item.number}
</span>
<img src={pen} alt="pen" className="mr-4 cursor-pointer" />
<img
src="images/CustomToastpen-icon.svg"
alt="pen"
className="mr-4 cursor-pointer"
/>
</div>
</div>
))}
@ -54,70 +51,77 @@ CustomToast2.defaultProps = {
items: [
{
profilePic: profilePic1,
profilePic: "images/CustomToast2profilePic1.svg",
name: "کامبیز هوشنمند",
enteryData: "1401/02/01",
idCard: 2980817631,
number: "B06",
},
{
profilePic: profilePic2,
profilePic: "images/CustomToast2profilePic2.svg",
name: "پارسا ایرانی",
enteryData: "1400/07/19",
idCard: 7000817631,
number: "B04",
},
{
profilePic: profilePic3,
profilePic: "images/CustomToast2profilePic3.svg",
name: "کامران مرادی",
enteryData: "1400/07/19",
idCard: 2423817631,
number: "B02",
},
{
profilePic: profilePic4,
profilePic: "images/CustomToast2profilePic4.svg",
name: "محمد علوی",
enteryData: "1400/07/19",
idCard: 3340817631,
number: "B01",
},
{
profilePic: profilePic5,
profilePic: "images/CustomToast2profilePic5.svg",
name: "محمد محمدی",
enteryData: "1400/07/19",
idCard: 3110817631,
number: "B07",
},
{
profilePic: profilePic1,
profilePic: "images/CustomToast2profilePic1.svg",
name: "کامبیز هوشنمند",
enteryData: "1401/02/01",
idCard: 2980817631,
number: "B06",
},
{
profilePic: profilePic2,
profilePic: "images/CustomToast2profilePic2.svg",
name: "پارسا ایرانی",
enteryData: "1400/07/19",
idCard: 7000817631,
number: "B04",
},
{
profilePic: profilePic3,
profilePic: "images/CustomToast2profilePic3.svg",
name: "کامران مرادی",
enteryData: "1400/07/19",
idCard: 2423817631,
number: "B02",
},
{
profilePic: profilePic4,
profilePic: "images/CustomToast2profilePic4.svg",
name: "محمد علوی",
enteryData: "1400/07/19",
idCard: 3340817631,
number: "B01",
},
{
profilePic: profilePic5,
profilePic: "images/CustomToast2profilePic5.svg",
name: "محمد محمدی",
enteryData: "1400/07/19",
idCard: 3110817631,
number: "B07",
},
{
profilePic: "images/CustomToast2profilePic5.svg",
name: "محمد محمدی",
enteryData: "1400/07/19",
idCard: 3110817631,
@ -125,19 +129,3 @@ CustomToast2.defaultProps = {
},
],
};
// #BCBCBC
// #B9D1F3
// #2483E1
// #C9E2B3
// #0F0543
// #2A527A
// #468722
// #DAF6E5

@ -5,6 +5,8 @@ import ProcessCard from "./ProcessCard";
import CardDesign1 from "./CardDesign1";
import CardDesign2 from "./CardDesign2";
import CardDesign3 from "./CardDesign3";
import CustomToast from "./CustomToast";
import CustomToast2 from "./CustomToast2";
function CardDesgin() {
const list = {
@ -13,6 +15,8 @@ function CardDesgin() {
3: <CardDesign1 />,
4: <CardDesign2 />,
5: <CardDesign3 />,
5: <CustomToast />,
5: <CustomToast2 />,
};
const [type, setType] = useState(1);
return (

@ -1,7 +1,7 @@
import React from "react";
import CurrentDateShamsi from "../CurrentDateShamsi";
import CurrentTime from "../CurrentTime";
import ProfileInfo from "../ProfileInfo";
import ProfileInfo from "../../ProfileInfo";
const DateTime = () => {
return (

@ -2,11 +2,13 @@ import React, { useState } from "react";
import CurrentDateShamsi from "./CurrentDateShamsi";
import CurrentTime from "./CurrentTime";
import DateTime from "./DateTime";
function CurrentDateTime() {
const list = {
1: <CurrentDateShamsi />,
2: <CurrentTime />,
3: <DateTime />,
};
const [type, setType] = useState(1);

@ -1,22 +1,16 @@
import React from "react";
import "./index.scss";
import BreadCrumb from "../BreadCrumb";
import SearchBox from "../SearchBox";
import TitleSubtitle from "../TitleSubtitle";
import CardHolder from "../CardHolder";
import ButtonNewDesign from "../ButtonNewDesign";
import BreadCrumb from "../MiniComponents/BreadCrumb";
import SearchBox from "../SearchDesign/SearchBox";
import TitleSubtitle from "../MiniComponents/TitleSubtitle";
import CardHolder from "../CardDesgin/CardHolder";
import Button from "../ButtonDesign/Button";
import Playlist from "../Playlist";
import Folderlists from "../Folderlist";
import UploadFile from "../UploadFile";
import graySearchIcon from "./images/gray-search-icon.svg";
import arrowLeft from "./images/arrow-left.svg";
import BasicTable from "../ReactTable4/index";
import SemiDonut from "../SemiDonut";
import Button from "../Button";
const FileManager = ({ buttons }) => {
return (
@ -38,7 +32,7 @@ const FileManager = ({ buttons }) => {
className={
"border-[#EEEEEE] focus:border-gray-200 focus:ring-gray-200 placeholder-gray-300"
}
searchIcon={graySearchIcon}
searchIcon="images/FileManagergray-search-icon.svg"
/>
</div>
</div>
@ -60,7 +54,7 @@ const FileManager = ({ buttons }) => {
className={`${btn.className} text-xs rounded p-2`}
iconClassName={`bg-transparent mr-1`}
text={btn.name}
icon={arrowLeft}
icon="images/FileManagerarrow-left.svg"
/>
))}
</div>

@ -2,13 +2,8 @@
import React from "react";
import "./index.scss";
// ? images
import folder from "./images/folder-open.svg";
import more from "./images/more.svg";
import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther";
import DropDown from "../DropDown";
import DropDown from "../MiniComponents/DropDown";
const Folderlists = ({ items }) => {
return (
@ -90,67 +85,67 @@ export default Folderlists;
Folderlists.defaultProps = {
items: [
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 4,
},
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 2,
},
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 3,
},
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 1,
},
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 5,
},
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 2,
},
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 1,
},
{
icon: folder,
icon: "images/Folderlistfolder-open.svg",
title: "پوشه فایلهای متفرقه آزمون 1400",
memory: 44,
fileNum: 344,
dropDownIcon: more,
dropDownIcon: "images/Folderlistmore.svg",
num: 3,
},
],

@ -1,7 +1,5 @@
import React from "react";
import more from "./more2.svg";
export const DropDown = ({}) => {
return (
<div className="mr-3">
@ -11,7 +9,11 @@ export const DropDown = ({}) => {
data-dropdown-toggle="dropdown"
type="button"
>
<img src={more} alt="" className={`cursor-pointer w-5`} />
<img
src="images/DropDownmore2.svg"
alt=""
className={`cursor-pointer w-5`}
/>
</button>
<div
style={{ backgroundColor: "#65A9FF" }}

@ -8,6 +8,7 @@ import BookDesign from "./BookDesign";
import BreadCrumb from "./BreadCrumb";
import CancleIcon from "./CancleIcon";
import CircleInCircle from "./CircleInCircle";
import DropDown from "./DropDown";
function MiniComponents() {
const list = {
@ -19,6 +20,7 @@ function MiniComponents() {
6: <BreadCrumb />,
7: <CancleIcon />,
7: <CircleInCircle />,
8: <DropDown />,
};
const [type, setType] = useState(1);

@ -1,8 +1,5 @@
import React, { useState } from "react";
import search from "./search-normal.svg";
import zarbedar from "./zarbedar-icon.svg";
const SearchBox = ({
cancleIcon,
searchIcon,
@ -45,8 +42,8 @@ const SearchBox = ({
export default SearchBox;
SearchBox.defaultProps = {
cancleIcon: zarbedar,
searchIcon: search,
cancleIcon: "images/SearchBoxzarbedar-icon.svg",
searchIcon: "images/SearchBoxsearch-normal.svg",
placeholder: "دنبال چه چیزی هستید",

@ -1,7 +1,7 @@
// it has style inside index.scss ---> // Start Sidebar/SidebarDesign2 && end Sidebar/SidebarDesign2
import React, { useState } from "react";
import SearchBox from "../../SearchBox";
import SearchBox from "../../SearchDesign/SearchBox";
const SidebarMenu = ({ items, buttons, username, userJob, className }) => {
const [activeDropdown, setActiveDropdown] = useState(null);

@ -40,6 +40,9 @@ import AnimatedInput from "../components/AnimatedInput/Input";
import BoxNextToEachOther from "../components/BoxNextToEachOther";
import ContactUs from "../components/ContactUs";
import CurrentDateTime from "../components/CurrentDateTime";
import Digikala from "../components/Digikala";
import DistributedData from "../components/DistributedData";
import FileManager from "../components/FileManager";
// mini components
import MiniComponents from "../components/MiniComponents";
@ -753,6 +756,36 @@ const components = [
code: null,
},
},
{
name: "Digikala",
author: "Andalib",
props: [],
content: {
name: "Digikala",
component: <Digikala />,
code: null,
},
},
{
name: "DistributedData",
author: "Andalib",
props: [],
content: {
name: "DistributedData",
component: <DistributedData />,
code: null,
},
},
{
name: "File Manager",
author: "Andalib",
props: [],
content: {
name: "File Manager",
component: <FileManager />,
code: null,
},
},
// mini components
{
name: "Mini Components",

Loading…
Cancel
Save