delete 50 files and update 3 files

master
mahdi 3 years ago
parent f4ea6333e6
commit 603401ee95
  1. 0
      src/assets/fonts/IRANSansWeb_Bold.woff
  2. BIN
      src/assets/fonts/IRANSansX-Bold.woff
  3. BIN
      src/assets/fonts/iransans/IRANSansWeb(FaNum)_Medium.ttf
  4. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb(FaNum).eot
  5. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Black.eot
  6. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot
  7. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot
  8. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot
  9. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot
  10. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb.eot
  11. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb_Black.eot
  12. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb_Bold.eot
  13. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb_Light.eot
  14. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb_Medium.eot
  15. BIN
      src/assets/fonts/iransans/eot/IRANSansWeb_UltraLight.eot
  16. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum).ttf
  17. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Black.ttf
  18. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Bold.ttf
  19. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Light.ttf
  20. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_Medium.ttf
  21. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf
  22. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb.ttf
  23. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb_Black.ttf
  24. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb_Bold.ttf
  25. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb_Light.ttf
  26. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb_Medium.ttf
  27. BIN
      src/assets/fonts/iransans/ttf/IRANSansWeb_UltraLight.ttf
  28. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb(FaNum).woff
  29. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Black.woff
  30. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Light.woff
  31. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_Medium.woff
  32. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb(FaNum)_UltraLight.woff
  33. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb.woff
  34. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb_Black.woff
  35. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb_Bold.woff
  36. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb_Light.woff
  37. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb_Medium.woff
  38. BIN
      src/assets/fonts/iransans/woff/IRANSansWeb_UltraLight.woff
  39. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum).woff2
  40. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Black.woff2
  41. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Bold.woff2
  42. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Light.woff2
  43. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_Medium.woff2
  44. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2
  45. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb.woff2
  46. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb_Black.woff2
  47. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb_Bold.woff2
  48. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb_Light.woff2
  49. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb_Medium.woff2
  50. BIN
      src/assets/fonts/iransans/woff2/IRANSansWeb_UltraLight.woff2
  51. 26
      src/components/ProductSalesAmount/Design1/index.js
  52. 9
      src/index.scss
  53. 2
      tailwind.config.js

@ -6,7 +6,7 @@ import arrowUp from "./home-trend-up.svg";
const Design1 = ({ title, price, incomes }) => {
return (
<div className="bg-white rounded shadow mx-auto py-7 px-4">
<div className="bg-white rounded shadow mx-auto p-5">
{/* title */}
<TitleSubtitle subTitle={false} />
{/* price */}
@ -15,25 +15,21 @@ const Design1 = ({ title, price, incomes }) => {
<span className="mr-1">تومان</span>
</p>
{/* card */}
<div className="mx-auto w-fit flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse p-4 py-7 ">
<div className="mt-5 mx-auto w-fit flex flex-row items-center justify-between divide-x-2 divide-[#F3F3F3] divide-x-reverse">
{incomes.map((income, index) => (
<div
key={index}
className="flex-grow flex-1 flex flex-col gap-y-4 px-4"
>
<div className="flex flex-col border-gray-200 p-3">
<div key={index} className="flex flex-col p-4">
<p className="text-base">{income.name}</p>
<p className="text-lg font-bold text-center my-2">
<p className="text-lg font-sansbold text-center my-2">
{income.income}
</p>
<div
className={`w-16 my-2 p-1 flex flex-row items-center justify-around self-end rounded ${
className={`w-12 my-2 p-1 flex flex-row items-center justify-between self-end rounded ${
income.percent > 0 ? "bg-green-100" : "bg-red-100"
}`}
>
<span
style={{ direction: "initial" }}
className={`font-bold text-sm ${
className={`font-sansbold text-sm ${
income.percent > 0 ? "text-green-500" : "text-red-500"
}`}
>
@ -45,10 +41,6 @@ const Design1 = ({ title, price, incomes }) => {
{income.excerpt}
</p>
</div>
{Number(index) !== incomes.length - 1 && (
<div className="bg-gray-200 w-1"></div>
)}
</div>
))}
</div>
</div>
@ -79,9 +71,9 @@ Design1.defaultProps = {
"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.",
},
{
name: "درآمد این هفته",
income: "890.325.308",
percent: 10,
name: "درآمد امروز",
income: "138.916.431",
percent: 27,
logo: arrowUp,
excerpt:
"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.",

@ -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;

@ -8,7 +8,7 @@ module.exports = {
theme: {
extend: {
fontFamily: {
iransansBold: ["iransansBold"],
sansbold: ["sansbold"],
},
},

Loading…
Cancel
Save