update 4 files and delete 1 file update src/index.scss

master
mahdi 2 years ago
parent 1f0d0572e3
commit 0acc851e9b
  1. 2
      src/Views/Home/Sidebar/index.js
  2. 2
      src/components/MiniComponents/AnimatedProgressBar/index.js
  3. 2
      src/components/MiniComponents/index.js
  4. 2
      src/components/ProductSalesAmount/ProductSalesDesign2/index.js

@ -18,7 +18,7 @@ function Sidebar({ list, setActive }) {
.map((material, index) => (
<li
key={index}
className="w-full h-12 flex items-center p-2 odd:bg-gray-300 even:bg-slate-400 odd:text-gray-600 even:text-white text-center font-sansbold cursor-pointer"
className="w-full h-12 flex items-center p-2 odd:bg-gray-300 even:bg-slate-400 odd:text-gray-600 even:text-[#1f232a] text-center font-sansbold cursor-pointer"
onClick={() => setActive(material)}
>
{material.name}

@ -12,7 +12,7 @@ const AnimatedProgressBar = ({ rangeWidth, parentBg, childBg }) => {
return (
<div className={`flex-row w-full rounded-full h-2 ${parentBg}`}>
<div
className={`h-full rounded-full dark:bg-gray-300 duration-500 ${childBg}`}
className={`h-full rounded-full bg-surface duration-500 ${childBg}`}
style={{ width: progressBar ? rangeWidth : 0 }}
></div>
</div>

@ -12,6 +12,7 @@ import DropDown from "./DropDown";
import IconText from "./IconText";
import SelectYear from "./SelectYear";
import OfferSection from "./OfferSection";
import AnimatedProgressBar from "./AnimatedProgressBar";
function MiniComponents() {
const list = {
@ -27,6 +28,7 @@ function MiniComponents() {
10: <IconText />,
11: <SelectYear />,
12: <OfferSection />,
13: <AnimatedProgressBar />,
};
const [type, setType] = useState(1);

@ -1,5 +1,5 @@
import React from "react";
import AnimatedProgressBar from "../../AnimatedProgressBar";
import AnimatedProgressBar from "../../MiniComponents/AnimatedProgressBar";
import TitleSubtitle from "../../MiniComponents/TitleSubtitle";
const ProductSalesDesign2 = ({ incomes }) => {

Loading…
Cancel
Save