From cc648fff247afdc363667e57cfb3f7068eec7c6e Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 22 May 2022 13:46:53 +0430 Subject: [PATCH] update 11 files --- .../ProductDescriptionTable/ProductTable1/index.js | 7 ++----- src/components/ProductGallery/ProductImage/index.js | 2 -- src/components/ProgressBar/CircularProgressbar/index.js | 2 +- src/components/QuestionAnswer/QandA/index.js | 5 +---- src/components/Sidebar/SidebarDesign2/index.js | 5 +---- src/components/SingleProduct/VodDesign1/index.js | 5 +---- src/components/Tabels/ReactTable4/BasicTable.js | 2 +- src/components/Tabels/ReactTable4/ColumnSearch.js | 3 +-- src/components/Tabels/ReactTable4/Tabbar.js | 4 ++-- src/components/Tabels/ReactTable4/index.js | 1 - 10 files changed, 10 insertions(+), 26 deletions(-) diff --git a/src/components/ProductDescriptionTable/ProductTable1/index.js b/src/components/ProductDescriptionTable/ProductTable1/index.js index 53b4dad..deb0922 100644 --- a/src/components/ProductDescriptionTable/ProductTable1/index.js +++ b/src/components/ProductDescriptionTable/ProductTable1/index.js @@ -29,13 +29,10 @@ const ProductTable1 = ({ navTitles, items }) => { {items.map((e) => e.items.map((item) => ( diff --git a/src/components/ProductGallery/ProductImage/index.js b/src/components/ProductGallery/ProductImage/index.js index fb8b817..21e82f8 100644 --- a/src/components/ProductGallery/ProductImage/index.js +++ b/src/components/ProductGallery/ProductImage/index.js @@ -15,8 +15,6 @@ const ProductImage = ({ images }) => { src="images/ProductImageproductImg.svg" alt="" className={`rounded-sm h-full`} - // style={{ height: "calc(100% - 8px)" }} - // style={{ height: "calc(100% - 8px)" }} /> {/* این خط پایین که نوشتم برای این است که ایندکس که جنسش استرینگ است رو به نامبر تبدیل کند */} {Number(index) === 3 && ( diff --git a/src/components/ProgressBar/CircularProgressbar/index.js b/src/components/ProgressBar/CircularProgressbar/index.js index 4033bd8..732e780 100644 --- a/src/components/ProgressBar/CircularProgressbar/index.js +++ b/src/components/ProgressBar/CircularProgressbar/index.js @@ -11,7 +11,7 @@ function CustomCircularProgressbar() { return ( <>

درست کار نکرد!!!

-
+
diff --git a/src/components/QuestionAnswer/QandA/index.js b/src/components/QuestionAnswer/QandA/index.js index 948eaa0..aa79f8a 100644 --- a/src/components/QuestionAnswer/QandA/index.js +++ b/src/components/QuestionAnswer/QandA/index.js @@ -55,10 +55,7 @@ const QandA = ({ comments }) => { {comment.answers.length > 0 ? ( comment.answers.slice(0, numberOfAnswers).map((e) => (
-
+
diff --git a/src/components/Sidebar/SidebarDesign2/index.js b/src/components/Sidebar/SidebarDesign2/index.js index f8ba488..bfb4169 100644 --- a/src/components/Sidebar/SidebarDesign2/index.js +++ b/src/components/Sidebar/SidebarDesign2/index.js @@ -83,10 +83,7 @@ const SidebarMenu = ({ items, buttons, username, userJob, className }) => { menuItem.menuSubItems.map((menuSubItem, j) => (
- diff --git a/src/components/SingleProduct/VodDesign1/index.js b/src/components/SingleProduct/VodDesign1/index.js index 9c5e916..b0e0400 100644 --- a/src/components/SingleProduct/VodDesign1/index.js +++ b/src/components/SingleProduct/VodDesign1/index.js @@ -53,12 +53,9 @@ const VodDesign1 = ({ {/* TOP SECTION === ProductImage && ICONS on image && PlayButton && Tooltip */} {/* ProductImage */}
diff --git a/src/components/Tabels/ReactTable4/BasicTable.js b/src/components/Tabels/ReactTable4/BasicTable.js index 81a04b6..0886eea 100644 --- a/src/components/Tabels/ReactTable4/BasicTable.js +++ b/src/components/Tabels/ReactTable4/BasicTable.js @@ -1,6 +1,6 @@ import React, { useMemo, useState } from "react"; -import TabBar from "../ReactTable3/TabBar"; +import TabBar from "./Tabbar"; import Tabbar from "./Tabbar"; import MOCK_DATA from "./MOCK_DATA.json"; diff --git a/src/components/Tabels/ReactTable4/ColumnSearch.js b/src/components/Tabels/ReactTable4/ColumnSearch.js index c610c4b..3781b64 100644 --- a/src/components/Tabels/ReactTable4/ColumnSearch.js +++ b/src/components/Tabels/ReactTable4/ColumnSearch.js @@ -8,8 +8,7 @@ export const ColumnSearch = ({ column }) => { setFilter(e.target.value)} - className={`w-8/12 text-xs text-blue-400 rounded focus:outline-none border p-1 focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20`} - style={{ backgroundColor: "#F9FBFF", borderColor: "#B5D6FF" }} + className={`w-8/12 text-xs text-blue-400 bg-[#F9FBFF] border-[#B5D6FF] rounded focus:outline-none border p-1 focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20`} />
); diff --git a/src/components/Tabels/ReactTable4/Tabbar.js b/src/components/Tabels/ReactTable4/Tabbar.js index af82bdb..fd84ee5 100644 --- a/src/components/Tabels/ReactTable4/Tabbar.js +++ b/src/components/Tabels/ReactTable4/Tabbar.js @@ -32,8 +32,8 @@ const Tabbar = ({ tabs, delTab, setActivateTab, activeTab }) => { if (window.isDown) return e.preventDefault(); }} aria-current="page" - className={`flex flex-row items-center text-lg text-center active rounded-sm p-20 ${ - activeTab === el.id ? "bg-[#fff]" : "bg-[#000]" + className={`flex flex-row items-center text-sm text-white px-2 py-0.5 text-center active rounded-sm ${ + activeTab === el.id ? "text-[#fff]" : "text-[#000]" } ${activeTab === el.id ? "bg-[#92c1fc]" : "bg-[#F1F6FF]"}`} // style={{ // backgroundColor: activeTab === el.id ? "#92c1fc" : "#F1F6FF", diff --git a/src/components/Tabels/ReactTable4/index.js b/src/components/Tabels/ReactTable4/index.js index 507038b..e21a6fd 100644 --- a/src/components/Tabels/ReactTable4/index.js +++ b/src/components/Tabels/ReactTable4/index.js @@ -4,7 +4,6 @@ import React, { useRef, useState } from "react"; import BasicTable from "./BasicTable"; import TitleSubtitle from "../../MiniComponents/BreadCrumb"; -import BreadCrumb from "../../MiniComponents/BreadCrumb"; const ReactTable4 = ({ breadCrumbs }) => { const [tabs, setTabs] = useState([