update 5 files and delete 19 files

master
mahdi 3 years ago
parent b285a32c31
commit cf3050ec79
  1. 0
      public/images/BreadCrumbblack-arrow-left.svg
  2. 0
      public/images/BreadCrumbgray-arrow-left.svg
  3. 0
      public/images/CancleIconpink-cancle-icon.svg
  4. 0
      public/images/CardDesign3search-icon.svg
  5. 0
      public/images/CardHolderblue-icon.svg
  6. 0
      public/images/CardHolderdropbox.svg
  7. 0
      public/images/CardHoldergoogle-drive.svg
  8. 7
      src/components/BoxNextToEachOther/index.js
  9. 6
      src/components/CardDesgin/CardDesign1/index.js
  10. 6
      src/components/CardDesgin/CardDesign2/index.js
  11. 12
      src/components/CardDesgin/CardDesign3/index.js
  12. 10
      src/components/CardDesgin/CardHolder/index.js
  13. 6
      src/components/CardDesgin/index.js
  14. 0
      src/components/CardDesign3/index.scss
  15. 1
      src/components/Chart/SimpleBarChart/index.css
  16. 9
      src/components/Chart/SimpleBarChart/index.css.map
  17. 0
      src/components/Chart/SimpleBarChart/index.scss
  18. 2
      src/components/ChartDesign/SimpleBarChart/index.js
  19. 0
      src/components/ChartDesign/SpecifiedDomainRadarChart/index.js
  20. 4
      src/components/ChartDesign/index.js
  21. 7
      src/components/MiniComponents/BreadCrumb/index.js
  22. 6
      src/components/MiniComponents/CancleIcon/index.js
  23. 4
      src/components/MiniComponents/index.js
  24. 2
      src/redux/data.js

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 470 B

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 470 B

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 559 B

Before

Width:  |  Height:  |  Size: 767 B

After

Width:  |  Height:  |  Size: 767 B

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

@ -1,8 +1,6 @@
import React, { useState } from "react"; import React, { useState } from "react";
import selected from "./selected.svg"; const BoxNextToEachOther = ({ cards, selected }) => {
const BoxNextToEachOther = ({ cards }) => {
// const [active, setActive] = useState(null); // const [active, setActive] = useState(null);
const [active, setActive] = useState([]); const [active, setActive] = useState([]);
@ -52,7 +50,8 @@ const BoxNextToEachOther = ({ cards }) => {
export default BoxNextToEachOther; export default BoxNextToEachOther;
BoxNextToEachOther.defaultProps = { BoxNextToEachOther.defaultProps = {
selected:"images/selected.svg", selected: "images/selected.svg",
cards: [ cards: [
{ {
title: "زائر", title: "زائر",

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
import CustomToast from "../CustomToast"; import CustomToast from "../../CustomToast";
import IconText from "../IconText"; import IconText from "../../IconText";
import TitleSubtitle from "../TitleSubtitle"; import TitleSubtitle from "../../MiniComponents/TitleSubtitle";
const CardDesign1 = () => { const CardDesign1 = () => {
return ( return (

@ -1,8 +1,8 @@
import React, { useState } from "react"; import React, { useState } from "react";
import IconText from "../IconText"; import IconText from "../../IconText";
import ButtonDivTag from "../ButtonDivTag"; import ButtonDivTag from "../../ButtonDesign/ButtonDivTag";
import TitleSubtitle from "../TitleSubtitle"; import TitleSubtitle from "../../MiniComponents/TitleSubtitle";
import { DragDropContext, Droppable, Draggable } from "react-beautiful-dnd"; import { DragDropContext, Droppable, Draggable } from "react-beautiful-dnd";

@ -1,14 +1,12 @@
// it has style inside index.scss ---> // Start CardDesign3 && end CardDesign3 // it has style inside index.scss ---> // Start CardDesign3 && end CardDesign3
import React from "react"; import React from "react";
import CustomToast2 from "../CustomToast2";
import Button from "../Button";
import TitleSubtitle from "../TitleSubtitle";
import SearchBox from "../SearchBox";
import "./index.scss"; import CustomToast2 from "../../CustomToast2";
import searchIcon from "./search-icon.svg"; import TitleSubtitle from "../../MiniComponents/TitleSubtitle";
import SearchBox from "../../SearchBox";
const CardDesign3 = () => { const CardDesign3 = () => {
return ( return (
@ -21,7 +19,7 @@ const CardDesign3 = () => {
/> />
<div className="mt-7"> <div className="mt-7">
<SearchBox <SearchBox
searchIcon={searchIcon} searchIcon={"images/CardDesign3search-icon.svg"}
placeholder={"جستجو برا اساس اسم یا کد ملی"} placeholder={"جستجو برا اساس اسم یا کد ملی"}
className={ className={
"p-4 border-[#ddd] focus:border-gray-200 focus:ring-gray-200" "p-4 border-[#ddd] focus:border-gray-200 focus:ring-gray-200"

@ -1,9 +1,5 @@
import React from "react"; import React from "react";
import dropbox from "./images/dropbox.svg";
import googleDrive from "./images/google-drive.svg";
import blue from "./images/blue-icon.svg";
const CardHolder = ({ items, cardClass }) => { const CardHolder = ({ items, cardClass }) => {
return ( return (
<div className="w-full"> <div className="w-full">
@ -38,19 +34,19 @@ CardHolder.defaultProps = {
items: [ items: [
{ {
icon: dropbox, icon: "images/CardHolderdropbox.svg",
title: "فضای ذخیره سازی گوگل درایو", title: "فضای ذخیره سازی گوگل درایو",
des: "فضای باقیمانده 40 گیگابایت از 1000 گیگابایت", des: "فضای باقیمانده 40 گیگابایت از 1000 گیگابایت",
active: false, active: false,
}, },
{ {
icon: blue, icon: "images/CardHolderblue-icon.svg",
title: "فضای ذخیره سازی گوگل درایو", title: "فضای ذخیره سازی گوگل درایو",
des: "فضای باقیمانده 40 گیگابایت از 1000 گیگابایت", des: "فضای باقیمانده 40 گیگابایت از 1000 گیگابایت",
active: true, active: true,
}, },
{ {
icon: dropbox, icon: "images/CardHolderdropbox.svg",
title: "فضای ذخیره سازی گوگل درایو", title: "فضای ذخیره سازی گوگل درایو",
des: "فضای باقیمانده 40 گیگابایت از 1000 گیگابایت", des: "فضای باقیمانده 40 گیگابایت از 1000 گیگابایت",
active: false, active: false,

@ -2,11 +2,17 @@ import React, { useState } from "react";
import CardTrelloDesign from "./CardTrelloDesign"; import CardTrelloDesign from "./CardTrelloDesign";
import ProcessCard from "./ProcessCard"; import ProcessCard from "./ProcessCard";
import CardDesign1 from "./CardDesign1";
import CardDesign2 from "./CardDesign2";
import CardDesign3 from "./CardDesign3";
function CardDesgin() { function CardDesgin() {
const list = { const list = {
1: <CardTrelloDesign />, 1: <CardTrelloDesign />,
2: <ProcessCard />, 2: <ProcessCard />,
3: <CardDesign1 />,
4: <CardDesign2 />,
5: <CardDesign3 />,
}; };
const [type, setType] = useState(1); const [type, setType] = useState(1);
return ( return (

@ -1 +0,0 @@
/* No CSS *//*# sourceMappingURL=index.css.map */

@ -1,9 +0,0 @@
{
"version": 3,
"mappings": "",
"sources": [
"index.scss"
],
"names": [],
"file": "index.css"
}

@ -1,7 +1,5 @@
import React from "react"; import React from "react";
import "./index.scss";
import { import {
BarChart, BarChart,
Bar, Bar,

@ -2,11 +2,15 @@ import React, { useState } from "react";
import Recharts from "./Recharts"; import Recharts from "./Recharts";
import BarChartApex from "./BarChartApex"; import BarChartApex from "./BarChartApex";
import SimpleBarChart from "./SimpleBarChart";
import SpecifiedDomainRadarChart from "./SpecifiedDomainRadarChart";
function ChartDesign() { function ChartDesign() {
const list = { const list = {
1: <Recharts />, 1: <Recharts />,
2: <BarChartApex />, 2: <BarChartApex />,
3: <SimpleBarChart />,
4: <SpecifiedDomainRadarChart />,
}; };
const [type, setType] = useState(1); const [type, setType] = useState(1);
return ( return (

@ -1,9 +1,6 @@
import React from "react"; import React from "react";
import grayLeftArrow from "./gray-arrow-left.svg"; const BreadCrumb = ({ breadCrumbs, grayLeftArrow, blackLeftArrow }) => {
import blackLeftArrow from "./black-arrow-left.svg";
const BreadCrumb = ({ breadCrumbs }) => {
return ( return (
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">
{breadCrumbs.map((breadCrumb, index) => ( {breadCrumbs.map((breadCrumb, index) => (
@ -47,6 +44,8 @@ const BreadCrumb = ({ breadCrumbs }) => {
export default BreadCrumb; export default BreadCrumb;
BreadCrumb.defaultProps = { BreadCrumb.defaultProps = {
grayLeftArrow: "images/BreadCrumbgray-arrow-left.svg",
blackLeftArrow: "images/BreadCrumbblack-arrow-left.svg",
breadCrumbs: [ breadCrumbs: [
{ {
name: "صفحه اصلی", name: "صفحه اصلی",

@ -1,7 +1,5 @@
import React from "react"; import React from "react";
import cancleIconPink from "./pink-cancle-icon.svg";
const CancleIcon = ({ backgroundColor, icon }) => { const CancleIcon = ({ backgroundColor, icon }) => {
return ( return (
<div <div
@ -17,6 +15,6 @@ const CancleIcon = ({ backgroundColor, icon }) => {
export default CancleIcon; export default CancleIcon;
CancleIcon.defaultProps = { CancleIcon.defaultProps = {
backgroundColor: "bg-red-600", backgroundColor: "bg-red-300",
icon: cancleIconPink, icon: "images/CancleIconpink-cancle-icon.svg",
}; };

@ -5,6 +5,8 @@ import RelativeCircle from "./RelativeCircle";
import TitleSubtitle from "./TitleSubtitle"; import TitleSubtitle from "./TitleSubtitle";
import Avatar from "./Avatar"; import Avatar from "./Avatar";
import BookDesign from "./BookDesign"; import BookDesign from "./BookDesign";
import BreadCrumb from "./BreadCrumb";
import CancleIcon from "./CancleIcon";
function MiniComponents() { function MiniComponents() {
const list = { const list = {
@ -13,6 +15,8 @@ function MiniComponents() {
3: <TitleSubtitle />, 3: <TitleSubtitle />,
4: <Avatar />, 4: <Avatar />,
5: <BookDesign />, 5: <BookDesign />,
6: <BreadCrumb />,
7: <CancleIcon />,
}; };
const [type, setType] = useState(1); const [type, setType] = useState(1);

@ -723,7 +723,7 @@ const components = [
}, },
{ {
name: "Box Next To Each Other", name: "Box Next To Each Other",
author: "MrGorji", author: "Andalib",
props: [], props: [],
content: { content: {
name: "Box Next To Each Other", name: "Box Next To Each Other",

Loading…
Cancel
Save