diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Bold.woff b/src/assets/fonts/IRANSansWeb_Bold.woff similarity index 100% rename from src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Bold.woff rename to src/assets/fonts/IRANSansWeb_Bold.woff diff --git a/src/assets/fonts/IRANSansX-Bold.woff b/src/assets/fonts/IRANSansX-Bold.woff deleted file mode 100644 index 510c28c..0000000 Binary files a/src/assets/fonts/IRANSansX-Bold.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/IRANSansWeb(FaNum)_Medium.ttf b/src/assets/fonts/iransans/IRANSansWeb(FaNum)_Medium.ttf deleted file mode 100644 index e20001c..0000000 Binary files a/src/assets/fonts/iransans/IRANSansWeb(FaNum)_Medium.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum).eot b/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum).eot deleted file mode 100644 index 5a6fdd0..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum).eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Black.eot b/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Black.eot deleted file mode 100644 index a012bc6..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Black.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot b/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot deleted file mode 100644 index 82525e5..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot b/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot deleted file mode 100644 index f899008..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot b/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot deleted file mode 100644 index 117c2c8..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot b/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot deleted file mode 100644 index 9cd9b66..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb.eot b/src/assets/fonts/iransans/eot/IRANSansWeb.eot deleted file mode 100644 index 553eec8..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb_Black.eot b/src/assets/fonts/iransans/eot/IRANSansWeb_Black.eot deleted file mode 100644 index ee7c6a0..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb_Black.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb_Bold.eot b/src/assets/fonts/iransans/eot/IRANSansWeb_Bold.eot deleted file mode 100644 index 746a6e6..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb_Bold.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb_Light.eot b/src/assets/fonts/iransans/eot/IRANSansWeb_Light.eot deleted file mode 100644 index f79a681..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb_Light.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb_Medium.eot b/src/assets/fonts/iransans/eot/IRANSansWeb_Medium.eot deleted file mode 100644 index 8b31d6b..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb_Medium.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/eot/IRANSansWeb_UltraLight.eot b/src/assets/fonts/iransans/eot/IRANSansWeb_UltraLight.eot deleted file mode 100644 index fd4b205..0000000 Binary files a/src/assets/fonts/iransans/eot/IRANSansWeb_UltraLight.eot and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum).ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum).ttf deleted file mode 100644 index cd74265..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum).ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Black.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Black.ttf deleted file mode 100644 index 0f84dbf..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Black.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Bold.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Bold.ttf deleted file mode 100644 index 6fa2412..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Bold.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Light.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Light.ttf deleted file mode 100644 index d9000c9..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Light.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Medium.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Medium.ttf deleted file mode 100644 index e20001c..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Medium.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf deleted file mode 100644 index 0072606..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb.ttf deleted file mode 100644 index 7416c53..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb_Black.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb_Black.ttf deleted file mode 100644 index df4928f..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb_Black.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb_Bold.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb_Bold.ttf deleted file mode 100644 index 158fbaa..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb_Bold.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb_Light.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb_Light.ttf deleted file mode 100644 index 3060c60..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb_Light.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb_Medium.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb_Medium.ttf deleted file mode 100644 index 6dd6c5d..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb_Medium.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/ttf/IRANSansWeb_UltraLight.ttf b/src/assets/fonts/iransans/ttf/IRANSansWeb_UltraLight.ttf deleted file mode 100644 index 7ebe1bf..0000000 Binary files a/src/assets/fonts/iransans/ttf/IRANSansWeb_UltraLight.ttf and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum).woff b/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum).woff deleted file mode 100644 index e34dfc4..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum).woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Black.woff b/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Black.woff deleted file mode 100644 index bbbca77..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Black.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Light.woff b/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Light.woff deleted file mode 100644 index fe80d47..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Light.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Medium.woff b/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Medium.woff deleted file mode 100644 index f13a870..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Medium.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_UltraLight.woff b/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_UltraLight.woff deleted file mode 100644 index 9c653a4..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_UltraLight.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb.woff b/src/assets/fonts/iransans/woff/IRANSansWeb.woff deleted file mode 100644 index abb63f2..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb_Black.woff b/src/assets/fonts/iransans/woff/IRANSansWeb_Black.woff deleted file mode 100644 index 12c8a6e..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb_Black.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb_Bold.woff b/src/assets/fonts/iransans/woff/IRANSansWeb_Bold.woff deleted file mode 100644 index 801c55d..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb_Bold.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb_Light.woff b/src/assets/fonts/iransans/woff/IRANSansWeb_Light.woff deleted file mode 100644 index 99b8d5d..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb_Light.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb_Medium.woff b/src/assets/fonts/iransans/woff/IRANSansWeb_Medium.woff deleted file mode 100644 index 322c396..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb_Medium.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff/IRANSansWeb_UltraLight.woff b/src/assets/fonts/iransans/woff/IRANSansWeb_UltraLight.woff deleted file mode 100644 index 31c21ca..0000000 Binary files a/src/assets/fonts/iransans/woff/IRANSansWeb_UltraLight.woff and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum).woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum).woff2 deleted file mode 100644 index 30a377d..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum).woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Black.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Black.woff2 deleted file mode 100644 index 0b15441..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Black.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Bold.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Bold.woff2 deleted file mode 100644 index f2353b2..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Bold.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Light.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Light.woff2 deleted file mode 100644 index 562d663..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Light.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Medium.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Medium.woff2 deleted file mode 100644 index a69f4d0..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Medium.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2 deleted file mode 100644 index 1114f71..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb.woff2 deleted file mode 100644 index 21bbba5..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb_Black.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb_Black.woff2 deleted file mode 100644 index da34aad..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb_Black.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb_Bold.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb_Bold.woff2 deleted file mode 100644 index dd1436c..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb_Bold.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb_Light.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb_Light.woff2 deleted file mode 100644 index 16dc9f1..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb_Light.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb_Medium.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb_Medium.woff2 deleted file mode 100644 index 5fb39d4..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb_Medium.woff2 and /dev/null differ diff --git a/src/assets/fonts/iransans/woff2/IRANSansWeb_UltraLight.woff2 b/src/assets/fonts/iransans/woff2/IRANSansWeb_UltraLight.woff2 deleted file mode 100644 index eeeec11..0000000 Binary files a/src/assets/fonts/iransans/woff2/IRANSansWeb_UltraLight.woff2 and /dev/null differ diff --git a/src/components/ProductSalesAmount/Design1/index.js b/src/components/ProductSalesAmount/Design1/index.js index a8895c6..d3f0e54 100644 --- a/src/components/ProductSalesAmount/Design1/index.js +++ b/src/components/ProductSalesAmount/Design1/index.js @@ -6,7 +6,7 @@ import arrowUp from "./home-trend-up.svg"; const Design1 = ({ title, price, incomes }) => { return ( -
+
{/* title */} {/* price */} @@ -15,39 +15,31 @@ const Design1 = ({ title, price, incomes }) => { تومان

{/* card */} -
+
{incomes.map((income, index) => ( -
-
-

{income.name}

-

- {income.income} -

-
0 ? "bg-green-100" : "bg-red-100" +
+

{income.name}

+

+ {income.income} +

+
0 ? "bg-green-100" : "bg-red-100" + }`} + > + 0 ? "text-green-500" : "text-red-500" }`} > - 0 ? "text-green-500" : "text-red-500" - }`} - > - {income.percent} - - -
-

- {income.excerpt} -

+ {income.percent} + +
- {Number(index) !== incomes.length - 1 && ( -
- )} +

+ {income.excerpt} +

))}
@@ -79,9 +71,9 @@ Design1.defaultProps = { "لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.", }, { - name: "درآمد این هفته", - income: "890.325.308", - percent: 10, + name: "درآمد امروز", + income: "138.916.431", + percent: 27, logo: arrowUp, excerpt: "لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.", diff --git a/src/index.scss b/src/index.scss index 905ddd7..130c176 100644 --- a/src/index.scss +++ b/src/index.scss @@ -8,8 +8,8 @@ } @font-face { - font-family: "iransansBold"; - src: url(./assets/fonts/IRANSansX-Bold.woff); + font-family: "sansbold"; + src: url(./assets/fonts/IRANSansWeb_Bold.woff); } @import "./components/productDesign/ProductDesign.scss"; @@ -19,12 +19,15 @@ body { direction: rtl; background-color: #f5f5f5; } + .rtl { direction: rtl; } + .ltr { direction: ltr; } + .comment-num { font-size: 8px; padding-top: 4px; @@ -33,10 +36,12 @@ body { padding-right: 4px; border-radius: 50%; } + .rmdp-container { display: flex !important; flex-direction: column-reverse; } + .rmdp-container > div { position: relative !important; transform: none !important; diff --git a/tailwind.config.js b/tailwind.config.js index 2031cb0..45de2ae 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -8,7 +8,7 @@ module.exports = { theme: { extend: { fontFamily: { - iransansBold: ["iransansBold"], + sansbold: ["sansbold"], }, },