update 7 files

master
mahdi 3 years ago
parent fbb1de8a64
commit ffec73e469
  1. 4
      src/App.js
  2. 2
      src/components/CardDesign2/index.js
  3. 2
      src/components/CardDesign3/index.js
  4. 10
      src/components/FileManager/index.js
  5. 2
      src/components/ReactTable4/index.js
  6. 2
      src/components/TimeLineComponent/index.js
  7. 4
      src/components/TitleSubtitle/index.js

@ -141,10 +141,10 @@ function App() {
{/* <GridListTable /> */} {/* <GridListTable /> */}
{/* <PopupCard /> */} {/* <PopupCard /> */}
{/* <TimeLineComponent /> */} {/* <TimeLineComponent /> */}
<CardTrelloDesign /> {/* <CardTrelloDesign /> */}
{/* <ReligiousTimes /> */} {/* <ReligiousTimes /> */}
{/* <DistributedData /> */} {/* <DistributedData /> */}
{/* <CardDesign1 /> */} <CardDesign1 />
<CardDesign2 /> <CardDesign2 />
<CardDesign3 /> <CardDesign3 />
{/* <LeafletMap /> */} {/* <LeafletMap /> */}

@ -25,7 +25,7 @@ const CardDesign2 = ({ buttons }) => {
subTitle={false} subTitle={false}
title={"افراد حاضر در این سالن"} title={"افراد حاضر در این سالن"}
titleClassName={"font-bold text-[#0F0543]"} titleClassName={"font-bold text-[#0F0543]"}
titleBorderClassName={"w-1 h-5 bg-[#1FF87D]"} titleBorderClassName={"w-1 h-5 bg-[#1FF87D] ml-1"}
/> />
<IconText /> <IconText />
<DragDropContext onDragEnd={handleOnDragEnd}> <DragDropContext onDragEnd={handleOnDragEnd}>

@ -10,7 +10,7 @@ const CardDesign3 = () => {
subTitle={false} subTitle={false}
title={"افراد حاضر در این سالن"} title={"افراد حاضر در این سالن"}
titleClassName={"font-bold text-[#0F0543]"} titleClassName={"font-bold text-[#0F0543]"}
titleBorderClassName={"w-1.5 h-6 bg-[#1F8CF9]"} titleBorderClassName={"w-1.5 h-7 bg-[#1F8CF9] ml-2"}
/> />
<CustomToast2 num={4} /> <CustomToast2 num={4} />
</div> </div>

@ -29,7 +29,8 @@ const FileManager = () => {
{/* ? pageTitle & searchbox */} {/* ? pageTitle & searchbox */}
<div className="flex flex-row justify-between"> <div className="flex flex-row justify-between">
{/* ? pageTitle */} {/* ? pageTitle */}
<TitleSubtitle /> <TitleSubtitle titleBorderClassName={"ml-2"} />
{/* ? searchbox */} {/* ? searchbox */}
<div className="self-end"> <div className="self-end">
<SearchBox <SearchBox
@ -50,7 +51,7 @@ const FileManager = () => {
<div className="flex flex-row item-center justify-between"> <div className="flex flex-row item-center justify-between">
{/* ? pageTitle */} {/* ? pageTitle */}
<div className="flex-1"> <div className="flex-1">
<TitleSubtitle /> <TitleSubtitle titleBorderClassName={"ml-2"} />
</div> </div>
{/* buttons */} {/* buttons */}
<div className="flex flex-row item-center justify-between self-center gap-2"> <div className="flex flex-row item-center justify-between self-center gap-2">
@ -99,10 +100,11 @@ const FileManager = () => {
</div> </div>
{/* left Section */} {/* left Section */}
<div className="w-3/12 py-5 flex flex-col"> <div className="w-3/12 py-5 flex flex-col">
<TitleSubtitle subTitle={false} /> <TitleSubtitle subTitle={false} titleBorderClassName={"ml-2"} />
<SemiDonut /> <SemiDonut />
<div className="px-4" style={{ marginTop: "-113px" }}> <div className="px-4" style={{ marginTop: "-113px" }}>
<TitleSubtitle subTitle={false} /> <TitleSubtitle subTitle={false} titleBorderClassName={"ml-2"} />
<div className="flex flex-col items-center justify-center"> <div className="flex flex-col items-center justify-center">
{/* {[0, 1, 2].map((item, index) => ( {/* {[0, 1, 2].map((item, index) => (
<CardHolder /> <CardHolder />

@ -57,7 +57,7 @@ const ReactTable4 = ({ breadCrumbs, subTitle, title }) => {
))} ))}
</div> </div>
<div className="my-7"> <div className="my-7">
<TitleSubtitle /> <TitleSubtitle titleBorderClassName={"ml-2"} />
</div> </div>
<BasicTable <BasicTable
addTab={addTab} addTab={addTab}

@ -12,7 +12,7 @@ const TimeLineComponent = ({ data }) => {
<div className="px-10 py-4 mx-auto bg-white"> <div className="px-10 py-4 mx-auto bg-white">
<div className="flex flex-row items-start justify-between"> <div className="flex flex-row items-start justify-between">
<div> <div>
<TitleSubtitle /> <TitleSubtitle subTitle={false} titleBorderClassName={"ml-2"} />
<SelectYear /> <SelectYear />
</div> </div>
<div className="flex-1"> <div className="flex-1">

@ -11,7 +11,7 @@ const TitleSubtitle = ({
{/* page Title */} {/* page Title */}
{title && ( {title && (
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">
<div className={`rounded-sm ml-1 ${titleBorderClassName}`}></div> <div className={`rounded-sm ${titleBorderClassName}`}></div>
<h2 className={`${titleClassName}`}>{title}</h2> <h2 className={`${titleClassName}`}>{title}</h2>
</div> </div>
)} )}
@ -32,5 +32,5 @@ TitleSubtitle.defaultProps = {
title: "میزان فروش محصولات", title: "میزان فروش محصولات",
subTitle: "اطلاعات جداول مشخصاتی کارکنان مجموعه ایران تایر", subTitle: "اطلاعات جداول مشخصاتی کارکنان مجموعه ایران تایر",
titleClassName: "text-base font-normal text-[#233876]", titleClassName: "text-base font-normal text-[#233876]",
titleBorderClassName: "w-1 h-5 bg-blue-600", titleBorderClassName: "w-1 h-5 bg-blue-600 ml-1",
}; };

Loading…
Cancel
Save