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 }) => { const Design1 = ({ title, price, incomes }) => {
return ( return (
<div className="bg-white rounded shadow mx-auto py-7 px-4"> <div className="bg-white rounded shadow mx-auto p-5">
{/* title */} {/* title */}
<TitleSubtitle subTitle={false} /> <TitleSubtitle subTitle={false} />
{/* price */} {/* price */}
@ -15,25 +15,21 @@ const Design1 = ({ title, price, incomes }) => {
<span className="mr-1">تومان</span> <span className="mr-1">تومان</span>
</p> </p>
{/* card */} {/* 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) => ( {incomes.map((income, index) => (
<div <div key={index} className="flex flex-col p-4">
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">
<p className="text-base">{income.name}</p> <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} {income.income}
</p> </p>
<div <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" income.percent > 0 ? "bg-green-100" : "bg-red-100"
}`} }`}
> >
<span <span
style={{ direction: "initial" }} style={{ direction: "initial" }}
className={`font-bold text-sm ${ className={`font-sansbold text-sm ${
income.percent > 0 ? "text-green-500" : "text-red-500" income.percent > 0 ? "text-green-500" : "text-red-500"
}`} }`}
> >
@ -45,10 +41,6 @@ const Design1 = ({ title, price, incomes }) => {
{income.excerpt} {income.excerpt}
</p> </p>
</div> </div>
{Number(index) !== incomes.length - 1 && (
<div className="bg-gray-200 w-1"></div>
)}
</div>
))} ))}
</div> </div>
</div> </div>
@ -79,9 +71,9 @@ Design1.defaultProps = {
"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.", "لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.",
}, },
{ {
name: "درآمد این هفته", name: "درآمد امروز",
income: "890.325.308", income: "138.916.431",
percent: 10, percent: 27,
logo: arrowUp, logo: arrowUp,
excerpt: excerpt:
"لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.", "لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.",

@ -8,8 +8,8 @@
} }
@font-face { @font-face {
font-family: "iransansBold"; font-family: "sansbold";
src: url(./assets/fonts/IRANSansX-Bold.woff); src: url(./assets/fonts/IRANSansWeb_Bold.woff);
} }
@import "./components/productDesign/ProductDesign.scss"; @import "./components/productDesign/ProductDesign.scss";
@ -19,12 +19,15 @@ body {
direction: rtl; direction: rtl;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
.rtl { .rtl {
direction: rtl; direction: rtl;
} }
.ltr { .ltr {
direction: ltr; direction: ltr;
} }
.comment-num { .comment-num {
font-size: 8px; font-size: 8px;
padding-top: 4px; padding-top: 4px;
@ -33,10 +36,12 @@ body {
padding-right: 4px; padding-right: 4px;
border-radius: 50%; border-radius: 50%;
} }
.rmdp-container { .rmdp-container {
display: flex !important; display: flex !important;
flex-direction: column-reverse; flex-direction: column-reverse;
} }
.rmdp-container > div { .rmdp-container > div {
position: relative !important; position: relative !important;
transform: none !important; transform: none !important;

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

Loading…
Cancel
Save