update 8 files and delete 12 files

master
Reza_ashrafi 2 years ago
parent 3d311fab77
commit bd0120aea1
  1. 17
      public/assets/icons/ar-primary.svg
  2. 17
      public/assets/icons/ar-white.svg
  3. 4
      public/assets/icons/arrow-primary.svg
  4. 9
      public/assets/icons/arrow-white.svg
  5. 8
      public/assets/icons/bookmark-fill-primary.svg
  6. 8
      public/assets/icons/bookmark-fill-white.svg
  7. 6
      public/assets/icons/dots-primary.svg
  8. 10
      public/assets/icons/dots-white.svg
  9. 8
      public/assets/icons/hamburger-primary.svg
  10. 8
      public/assets/icons/hamburger-white.svg
  11. 0
      public/assets/icons/like.svg
  12. 0
      public/assets/icons/logo-small.svg
  13. 11
      public/assets/icons/qr-primary.svg
  14. 11
      public/assets/icons/qr-white.svg
  15. 9
      src/assets/icons/ar-white.svg
  16. 8
      src/assets/icons/hamburger-blue.svg
  17. 9
      src/assets/icons/qr-blue.svg
  18. 9
      src/components/Navbar/cart-blue.svg
  19. 7
      src/components/Navbar/dark-crimson-cart-icon.svg
  20. 8
      src/components/Navbar/dark-crimson-profile-icon.svg
  21. 81
      src/components/Navbar/index.js
  22. 32
      src/components/PrivateRouter/index.js
  23. BIN
      src/components/Product/discount.png
  24. BIN
      src/components/Product/goldon.png
  25. 15
      src/components/Product/index.js
  26. 1
      src/views/Address/index.js
  27. 12
      src/views/DeliveryForm/index.js

@ -1,8 +1,9 @@
<svg id="vuesax_linear_3dcube" data-name="vuesax/linear/3dcube" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" width="19.71" height="19.71" viewBox="0 0 19.71 19.71">
<g id="_3dcube" data-name="3dcube"> <g id="Group_419" data-name="Group 419" transform="translate(0)">
<path id="Vector" d="M8.92.233l6.51,3.51a1.153,1.153,0,0,1,0,1.99L8.92,9.243a1.936,1.936,0,0,1-1.84,0L.57,5.733a1.153,1.153,0,0,1,0-1.99L7.08.233A1.936,1.936,0,0,1,8.92.233Z" transform="translate(4 2.027)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Path_1864" data-name="Path 1864" d="M1.155,1.155H4.619V0H0V4.619H1.155Zm0,0" transform="translate(0)" fill="#37a865"/>
<path id="Vector-2" data-name="Vector" d="M1.61.12,7.66,3.15A2.238,2.238,0,0,1,8.89,5.14v5.72a1.109,1.109,0,0,1-1.61.99L1.23,8.82A2.238,2.238,0,0,1,0,6.83V1.11A1.109,1.109,0,0,1,1.61.12Z" transform="translate(2 10.01)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Path_1863" data-name="Path 1863" d="M392,0V1.155h3.465V4.619h1.155V0Zm0,0" transform="translate(-376.91)" fill="#37a865"/>
<path id="Vector-3" data-name="Vector" d="M7.28.12,1.23,3.15A2.238,2.238,0,0,0,0,5.14v5.72a1.109,1.109,0,0,0,1.61.99L7.66,8.82A2.238,2.238,0,0,0,8.89,6.83V1.11A1.109,1.109,0,0,0,7.28.12Z" transform="translate(13.11 10.01)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Path_1862" data-name="Path 1862" d="M395.465,395.465H392v1.155h4.62V392h-1.155Zm0,0" transform="translate(-376.91 -376.91)" fill="#37a865"/>
<path id="Vector-4" data-name="Vector" d="M0,0H24V24H0Z" fill="none" opacity="0"/> <path id="Path_1861" data-name="Path 1861" d="M1.155,392H0v4.62H4.619v-1.155H1.155Zm0,0" transform="translate(0 -376.91)" fill="#37a865"/>
</g> <text id="AR" transform="translate(9.31 13.31)" fill="#37a865" font-size="11" font-family="IRANSansX-DemiBold, IRANSansX" font-weight="300"><tspan x="-7.117" y="0">AR</tspan></text>
</svg> </g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 932 B

@ -1,8 +1,9 @@
<svg id="vuesax_linear_3dcube" data-name="vuesax/linear/3dcube" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" width="19.71" height="19.71" viewBox="0 0 19.71 19.71">
<g id="_3dcube" data-name="3dcube"> <g id="Group_419" data-name="Group 419" transform="translate(0)">
<path id="Vector" d="M8.92.233l6.51,3.51a1.153,1.153,0,0,1,0,1.99L8.92,9.243a1.936,1.936,0,0,1-1.84,0L.57,5.733a1.153,1.153,0,0,1,0-1.99L7.08.233A1.936,1.936,0,0,1,8.92.233Z" transform="translate(4 2.027)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Path_1864" data-name="Path 1864" d="M1.155,1.155H4.619V0H0V4.619H1.155Zm0,0" transform="translate(0)" fill="#fff"/>
<path id="Vector-2" data-name="Vector" d="M1.61.12,7.66,3.15A2.238,2.238,0,0,1,8.89,5.14v5.72a1.109,1.109,0,0,1-1.61.99L1.23,8.82A2.238,2.238,0,0,1,0,6.83V1.11A1.109,1.109,0,0,1,1.61.12Z" transform="translate(2 10.01)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Path_1863" data-name="Path 1863" d="M392,0V1.155h3.465V4.619h1.155V0Zm0,0" transform="translate(-376.91)" fill="#fff"/>
<path id="Vector-3" data-name="Vector" d="M7.28.12,1.23,3.15A2.238,2.238,0,0,0,0,5.14v5.72a1.109,1.109,0,0,0,1.61.99L7.66,8.82A2.238,2.238,0,0,0,8.89,6.83V1.11A1.109,1.109,0,0,0,7.28.12Z" transform="translate(13.11 10.01)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/> <path id="Path_1862" data-name="Path 1862" d="M395.465,395.465H392v1.155h4.62V392h-1.155Zm0,0" transform="translate(-376.91 -376.91)" fill="#fff"/>
<path id="Vector-4" data-name="Vector" d="M0,0H24V24H0Z" fill="none" opacity="0"/> <path id="Path_1861" data-name="Path 1861" d="M1.155,392H0v4.62H4.619v-1.155H1.155Zm0,0" transform="translate(0 -376.91)" fill="#fff"/>
</g> <text id="AR" transform="translate(9.31 13.31)" fill="#fff" font-size="11" font-family="IRANSansX-DemiBold, IRANSansX" font-weight="300"><tspan x="-7.117" y="0">AR</tspan></text>
</svg> </g>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 917 B

@ -1,8 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<g id="vuesax_linear_arrow-right" data-name="vuesax/linear/arrow-right" transform="translate(-620 -188)"> <g id="vuesax_linear_arrow-right" data-name="vuesax/linear/arrow-right" transform="translate(-620 -188)">
<g id="arrow-right"> <g id="arrow-right">
<path id="Vector" d="M0,0,6.07,6.07,0,12.14" transform="translate(634.43 193.93)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/> <path id="Vector" d="M0,0,6.07,6.07,0,12.14" transform="translate(634.43 193.93)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M0,0H16.83" transform="translate(623.5 200)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/> <path id="Vector-2" data-name="Vector" d="M0,0H16.83" transform="translate(623.5 200)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-3" data-name="Vector" d="M0,0H24V24H0Z" transform="translate(644 212) rotate(180)" fill="none" opacity="0"/> <path id="Vector-3" data-name="Vector" d="M0,0H24V24H0Z" transform="translate(644 212) rotate(180)" fill="none" opacity="0"/>
</g> </g>
</g> </g>

Before

Width:  |  Height:  |  Size: 761 B

After

Width:  |  Height:  |  Size: 743 B

@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<g id="vuesax_linear_arrow-right" data-name="vuesax/linear/arrow-right" transform="translate(-620 -188)">
<g id="arrow-right">
<path id="Vector" d="M0,0,6.07,6.07,0,12.14" transform="translate(634.43 193.93)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M0,0H16.83" transform="translate(623.5 200)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-3" data-name="Vector" d="M0,0H24V24H0Z" transform="translate(644 212) rotate(180)" fill="none" opacity="0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 743 B

@ -0,0 +1,8 @@
<svg id="vuesax_linear_archive-add" data-name="vuesax/linear/archive-add" xmlns="http://www.w3.org/2000/svg" width="29.778" height="29.778" viewBox="0 0 29.778 29.778">
<g id="archive-add" transform="translate(0)">
<path id="Vector" d="M6.2,0H0" transform="translate(11.787 13.214)" fill="#37a865" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-2" data-name="Vector" d="M0,0V6.2" transform="translate(14.889 10.187)" fill="#37a865" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-3" data-name="Vector" d="M16.75,0H4.789A4.8,4.8,0,0,0,0,4.789V22.272c0,2.233,1.6,3.176,3.561,2.1l6.055-3.362a2.628,2.628,0,0,1,2.32,0l6.055,3.362c1.96,1.092,3.561.149,3.561-2.1V4.789A4.819,4.819,0,0,0,16.75,0Z" transform="translate(4.119 2.482)" fill="#37a865" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-4" data-name="Vector" d="M0,0H29.778V29.778H0Z" fill="#37a865" opacity="0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@ -0,0 +1,8 @@
<svg id="vuesax_linear_archive-add" data-name="vuesax/linear/archive-add" xmlns="http://www.w3.org/2000/svg" width="29.778" height="29.778" viewBox="0 0 29.778 29.778">
<g id="archive-add" transform="translate(0)">
<path id="Vector" d="M6.2,0H0" transform="translate(11.787 13.214)" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-2" data-name="Vector" d="M0,0V6.2" transform="translate(14.889 10.187)" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-3" data-name="Vector" d="M16.75,0H4.789A4.8,4.8,0,0,0,0,4.789V22.272c0,2.233,1.6,3.176,3.561,2.1l6.055-3.362a2.628,2.628,0,0,1,2.32,0l6.055,3.362c1.96,1.092,3.561.149,3.561-2.1V4.789A4.819,4.819,0,0,0,16.75,0Z" transform="translate(4.119 2.482)" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-4" data-name="Vector" d="M0,0H29.778V29.778H0Z" fill="#fff" opacity="0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" width="29.778" height="29.778" viewBox="0 0 29.778 29.778">
<g id="vuesax_linear_more" data-name="vuesax/linear/more" transform="translate(29.778) rotate(90)">
<g id="more">
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 243 B

@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" width="29.778" height="29.778" viewBox="0 0 29.778 29.778">
<g id="vuesax_linear_more" data-name="vuesax/linear/more" transform="translate(29.778) rotate(90)">
<g id="more">
<path id="Vector" d="M2.482,0A2.482,2.482,0,1,0,4.963,2.482,2.489,2.489,0,0,0,2.482,0Z" transform="translate(3.722 12.408)" fill="#fff"/>
<path id="Vector-2" data-name="Vector" d="M2.482,0A2.482,2.482,0,1,0,4.963,2.482,2.489,2.489,0,0,0,2.482,0Z" transform="translate(21.093 12.408)" fill="#fff"/>
<path id="Vector-3" data-name="Vector" d="M2.482,0A2.482,2.482,0,1,0,4.963,2.482,2.489,2.489,0,0,0,2.482,0Z" transform="translate(12.408 12.408)" fill="#fff"/>
<path id="Vector-4" data-name="Vector" d="M0,0H29.778V29.778H0Z" transform="translate(0 0)" fill="#fff" opacity="0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 843 B

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="31.567" height="28.996" viewBox="0 0 31.567 28.996">
<g id="textalign-justifycenter" transform="translate(-367.969 -188.141)">
<path id="Vector" d="M0,0H29.567" transform="translate(368.969 189.141)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-2" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 198.14)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-3" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 207.139)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-4" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 216.137)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 940 B

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" width="31.567" height="28.996" viewBox="0 0 31.567 28.996">
<g id="textalign-justifycenter" transform="translate(-367.969 -188.141)">
<path id="Vector" d="M0,0H29.567" transform="translate(368.969 189.141)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-2" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 198.14)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-3" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 207.139)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-4" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 216.137)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 928 B

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 675 B

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.5 KiB

@ -1,9 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="19.71" height="19.71" viewBox="0 0 19.71 19.71">
<g id="Group_419" data-name="Group 419" transform="translate(0)">
<path id="Path_1864" data-name="Path 1864" d="M1.155,1.155H4.619V0H0V4.619H1.155Zm0,0" transform="translate(0)" fill="#fff"/>
<path id="Path_1863" data-name="Path 1863" d="M392,0V1.155h3.465V4.619h1.155V0Zm0,0" transform="translate(-376.91)" fill="#fff"/>
<path id="Path_1862" data-name="Path 1862" d="M395.465,395.465H392v1.155h4.62V392h-1.155Zm0,0" transform="translate(-376.91 -376.91)" fill="#fff"/>
<path id="Path_1861" data-name="Path 1861" d="M1.155,392H0v4.62H4.619v-1.155H1.155Zm0,0" transform="translate(0 -376.91)" fill="#fff"/>
<text id="AR" transform="translate(9.31 13.31)" fill="#fff" font-size="11" font-family="IRANSansX-DemiBold, IRANSansX" font-weight="300"><tspan x="-7.117" y="0">AR</tspan></text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 917 B

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="31.567" height="28.996" viewBox="0 0 31.567 28.996">
<g id="textalign-justifycenter" transform="translate(-367.969 -188.141)">
<path id="Vector" d="M0,0H29.567" transform="translate(368.969 189.141)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-2" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 198.14)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-3" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 207.139)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<path id="Vector-4" data-name="Vector" d="M0,0H29.567" transform="translate(368.969 216.137)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 976 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.2 KiB

@ -1,9 +0,0 @@
<svg id="vuesax_linear_bag-2" data-name="vuesax/linear/bag-2" xmlns="http://www.w3.org/2000/svg" width="45.23" height="45.23" viewBox="0 0 45.23 45.23">
<g id="bag-2" transform="translate(0 0)">
<path id="Vector" d="M0,10.67V8.842C0,4.6,3.411.437,7.651.041a8.481,8.481,0,0,1,9.31,8.443v2.6" transform="translate(14.134 3.785)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M10.838,26.384H22.145c7.576,0,8.933-3.034,9.329-6.728L32.887,8.349C33.4,3.75,32.077,0,24.03,0H8.953C.906,0-.413,3.75.1,8.349L1.509,19.656C1.9,23.35,3.262,26.384,10.838,26.384Z" transform="translate(6.123 15.077)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-3" data-name="Vector" d="M.495.5H.511" transform="translate(28.708 22.115)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-4" data-name="Vector" d="M.495.5H.511" transform="translate(15.514 22.115)" fill="none" stroke="rgb(19, 123, 79)" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-5" data-name="Vector" d="M0,0H45.23V45.23H0Z" fill="none" opacity="0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

@ -1,7 +0,0 @@
<svg id="bag-2" xmlns="http://www.w3.org/2000/svg" width="72.645" height="72.645" viewBox="0 0 72.645 72.645">
<path id="Vector" d="M0,17.137V14.2C0,7.391,5.479.7,12.289.066a13.622,13.622,0,0,1,14.953,13.56V17.8" transform="translate(22.702 6.079)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M17.407,42.376H35.568c12.168,0,14.347-4.873,14.983-10.806l2.27-18.161C53.639,6.023,51.52,0,38.6,0H14.38C1.455,0-.663,6.023.154,13.409L2.424,31.57C3.06,37.5,5.239,42.376,17.407,42.376Z" transform="translate(9.835 24.215)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-3" data-name="Vector" d="M.495.5H.522" transform="translate(46.408 35.822)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-4" data-name="Vector" d="M.495.5H.522" transform="translate(25.217 35.822)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-5" data-name="Vector" d="M0,0H72.645V72.645H0Z" fill="none" opacity="0"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="72.826" height="72.826" viewBox="0 0 72.826 72.826">
<g id="profile-circle" transform="translate(0 0)">
<path id="Vector" d="M10.317,19.875a2.922,2.922,0,0,0-.728,0,9.953,9.953,0,1,1,.728,0Z" transform="translate(26.46 18.904)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M40.9,11.971a30.145,30.145,0,0,1-20.452,7.95A30.145,30.145,0,0,1,0,11.971C.3,9.118,2.124,6.327,5.371,4.142c8.314-5.523,21.909-5.523,30.162,0C38.78,6.327,40.6,9.118,40.9,11.971Z" transform="translate(15.961 46.836)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-3" data-name="Vector" d="M60.688,30.344A30.344,30.344,0,1,1,30.344,0,30.344,30.344,0,0,1,60.688,30.344Z" transform="translate(6.069 6.069)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-4" data-name="Vector" d="M0,0H72.826V72.826H0Z" transform="translate(72.826 72.826) rotate(180)" fill="none" opacity="0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

@ -10,23 +10,6 @@ import Search from "../Search";
import SearchResult from "./SearchResult"; import SearchResult from "./SearchResult";
import Loading from "../Loading"; import Loading from "../Loading";
//assets
import logoIcon from "../../assets/icons/logo.svg";
import qrIcon from "../../assets/icons/qr-white.svg";
import qrBlueIcon from "../../assets/icons/qr-blue.svg";
import arIcon from "../../assets/icons/ar-white.svg";
import arBlueIcon from "../../assets/icons/ar-blue.svg";
import hamburgerIcon from "../../assets/icons/hamburger.svg";
import hamburgerBlueIcon from "../../assets/icons/hamburger-blue.svg";
import arrowBlueIcon from "../../assets/icons/arrow-right-blue.svg";
import arrowWhiteIcon from "../../assets/icons/arrow-left-white.svg";
import dotsMenuDarkIcon from "../../assets/icons/dots-menu-dark.svg";
import bookmarkDeactiveDarkIcon from "../../assets/icons/bookmark-deactive-dark.svg";
import bookmarkActiveDarkIcon from "../../assets/icons/bookmark-active-dark.svg";
import dotsMenuLightIcon from "../../assets/icons/dots-menu-light.svg";
import bookmarkDeactiveLightIcon from "../../assets/icons/bookmark-deactive-light.svg";
import bookmarkActiveLightIcon from "../../assets/icons/bookmark-active-light.svg";
function Navbar({ function Navbar({
getCartProducts, getCartProducts,
getUserFavorite, getUserFavorite,
@ -99,7 +82,11 @@ function Navbar({
to="/" to="/"
className="flex items-center text-2xl font-black text-green7B" className="flex items-center text-2xl font-black text-green7B"
> >
<img src={logoIcon} className="w-8 relative bottom-1 ml-1" alt="" /> <img
src={"/assets/icons/logo-small.svg"}
className="w-8 relative bottom-1 ml-1"
alt=""
/>
{window.t("دانوین")} {window.t("دانوین")}
</Link> </Link>
@ -125,7 +112,7 @@ function Navbar({
to="/" to="/"
className="lg:hidden absolute left-1/2 transform -translate-y-1/2 top-1/2 -translate-x-1/2" className="lg:hidden absolute left-1/2 transform -translate-y-1/2 top-1/2 -translate-x-1/2"
> >
<img src={logoIcon} className="w-6 h-8" /> <img src={"/assets/icons/logo-small.svg"} className="w-6 h-8" />
</Link> </Link>
)} )}
{/* desktop */} {/* desktop */}
@ -136,17 +123,25 @@ function Navbar({
<span className="w-2.5 h-2.5 rounded-full bg-redFF1 absolute -left-1 -top-1 animate-bounce"></span> <span className="w-2.5 h-2.5 rounded-full bg-redFF1 absolute -left-1 -top-1 animate-bounce"></span>
<img <img
onClick={() => setDrawerOpen((prevState) => !prevState)} onClick={() => setDrawerOpen((prevState) => !prevState)}
src={isDark ? hamburgerIcon : hamburgerBlueIcon} src={
isDark
? "/assets/icons/hamburger-white.svg"
: "/assets/icons/hamburger-primary.svg"
}
alt="" alt=""
className="w-7 h-7.5" className="w-7"
/> />
</> </>
)} )}
{!title && back ? ( {!title && back ? (
<img <img
src={isDark ? arrowWhiteIcon : arrowBlueIcon} src={
alt="back" isDark
className={`w-6 ${isDark ? "transform rotate-180" : ""}`} ? "/assets/icons/arrow-white.svg"
: "/assets/icons/arrow-primary.svg"
}
alt="بازگشت"
className="w-6"
onClick={() => navigation(-1)} onClick={() => navigation(-1)}
/> />
) : null} ) : null}
@ -186,7 +181,11 @@ function Navbar({
}} }}
> >
<img <img
src={isDark ? qrIcon : qrBlueIcon} src={
isDark
? "/assets/icons/qr-white.svg"
: "/assets/icons/qr-primary.svg"
}
alt="" alt=""
className="w-6" className="w-6"
/> />
@ -201,7 +200,11 @@ function Navbar({
}} }}
> >
<img <img
src={isDark ? arIcon : arBlueIcon} src={
isDark
? "/assets/icons/ar-white.svg"
: "/assets/icons/ar-primary.svg"
}
alt="" alt=""
className="w-6" className="w-6"
/> />
@ -213,7 +216,7 @@ function Navbar({
<Loading size={2} color="bg-green-500" /> <Loading size={2} color="bg-green-500" />
) : isActiveBookmark ? ( ) : isActiveBookmark ? (
<img <img
src={isDark ? bookmarkActiveDarkIcon : bookmarkActiveLightIcon} src={isDark ? "/assets/icons/bookmark-fill-white.svg" : "/assets/icons/bookmark-fill-primary.svg"}
alt="bookmark" alt="bookmark"
className="w-7 flex lg:hidden" className="w-7 flex lg:hidden"
onClick={() => onClick={() =>
@ -227,7 +230,7 @@ function Navbar({
) : ( ) : (
<img <img
src={ src={
isDark ? bookmarkDeactiveDarkIcon : bookmarkDeactiveLightIcon isDark ? '/assets/icons/bookmark-white.svg' : '/assets/icons/bookmark-primary.svg'
} }
alt="bookmark" alt="bookmark"
className="w-7 flex lg:hidden" className="w-7 flex lg:hidden"
@ -237,18 +240,24 @@ function Navbar({
) : null} ) : null}
{menu && ( {menu && (
<img <img
src={isDark ? dotsMenuDarkIcon : dotsMenuLightIcon} src={
alt="menu" isDark
? "/assets/icons/dots-white.svg"
: "/assets/icons/dots-primary.svg"
}
alt="منو"
className="w-7 mr-2 flex lg:hidden" className="w-7 mr-2 flex lg:hidden"
/> />
)} )}
{title && back ? ( {title && back ? (
<img <img
src={isDark ? arrowWhiteIcon : arrowBlueIcon} src={
alt="back" isDark
className={`w-6 flex lg:hidden transform ${ ? "/assets/icons/arrow-white.svg"
isDark ? "" : "-rotate-180" : "/assets/icons/arrow-primary.svg"
}`} }
alt="بازگشت"
className={`w-6 flex lg:hidden transform -rotate-180`}
onClick={() => navigation(-1)} onClick={() => navigation(-1)}
/> />
) : null} ) : null}
@ -268,7 +277,7 @@ function Navbar({
</select> </select>
<img <img
src={'/assets/icons/search-primary.svg'} src={"/assets/icons/search-primary.svg"}
alt="" alt=""
className="w-7 ml-3 cursor-pointer lg:flex hidden" className="w-7 ml-3 cursor-pointer lg:flex hidden"
onClick={() => setOverLayer(true)} onClick={() => setOverLayer(true)}

@ -1,32 +0,0 @@
import React from "react";
import { Route, Redirect } from "react-router-dom";
import { connect } from "react-redux";
const PrivateRouter = ({
component: Component,
restricted,
status,
customPage,
...rest
}) => {
return (
<Route
{...rest}
render={(props) =>
restricted ? (
<Redirect to="/" />
) : (
<Component page={customPage} />
)
}
/>
);
};
export default connect(
(state) => ({
status: state.user.status,
}),
{}
)(PrivateRouter);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

@ -2,11 +2,9 @@ import React, { useState } from "react";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import { connect } from "react-redux"; import { connect } from "react-redux";
import separate from "../../utils/separate"; import separate from "../../utils/separate";
import StarRating from "../StarRating";
import book from "./goldon.png"; //components
import heart from "./vuesax-linear-heart.svg"; import StarRating from "../StarRating";
import discountImg from "./discount.png";
const ProductDesign = ({ const ProductDesign = ({
grades, grades,
@ -56,12 +54,7 @@ const ProductDesign = ({
)} )}
{likeBtn && ( {likeBtn && (
<div className="bg-likeBtnBg rounded-md flex justify-center my-2"> <div className="bg-likeBtnBg rounded-md flex justify-center my-2">
<img src={heart} alt="" className="w-5" /> <img src={"/assets/icons/like.svg"} alt="" className="w-5" />
</div>
)}
{discount && (
<div className="rounded-md">
<img src={discountImg} alt="" className="w-full" />
</div> </div>
)} )}
</div> </div>
@ -227,6 +220,6 @@ ProductDesign.defaultProps = {
productTitleAlignment: "text-justify", productTitleAlignment: "text-justify",
//میتونیم تعیین کنیم که قیمت و دکمه اضاف به سبد خرید کنار یکدیگر باشند یا زیر هم //میتونیم تعیین کنیم که قیمت و دکمه اضاف به سبد خرید کنار یکدیگر باشند یا زیر هم
priceDirection: "flex-row", priceDirection: "flex-row",
productImg: book, productImg: "",
writeGHEIMAT: false, writeGHEIMAT: false,
}; };

@ -22,7 +22,6 @@ import Radio from "../../components/Radio";
import dropdownIcon from "../../assets/icons/white-dropdown.svg"; import dropdownIcon from "../../assets/icons/white-dropdown.svg";
import lightGreenArrow from "../../assets/icons/light-green-arrow.svg"; import lightGreenArrow from "../../assets/icons/light-green-arrow.svg";
import arrowBlueIcon from "../../assets/icons/arrow-right-blue.svg";
import arrowWhiteIcon from "../../assets/icons/arrow-left-white.svg"; import arrowWhiteIcon from "../../assets/icons/arrow-left-white.svg";
export const Address = ({ export const Address = ({

@ -8,8 +8,6 @@ import PaymentMethods from "./PaymentMethod";
//assets //assets
import ExpressIcon from "../../assets/icons/express.svg"; import ExpressIcon from "../../assets/icons/express.svg";
import PishtazIcon from "../../assets/icons/pishtaz.svg"; import PishtazIcon from "../../assets/icons/pishtaz.svg";
import arrowBlueIcon from "../../assets/icons/arrow-right-blue.svg";
import arrowWhiteIcon from "../../assets/icons/arrow-left-white.svg";
export const DeliveryForm = ({ export const DeliveryForm = ({
getList, getList,
@ -70,9 +68,13 @@ export const DeliveryForm = ({
تکمیل اطلاعات تکمیل اطلاعات
</strong> </strong>
<img <img
src={isDark ? arrowWhiteIcon : arrowBlueIcon} src={
alt="back" isDark
className={`w-6 transform ${isDark ? " rotate-0" : "rotate-180"}`} ? "/assets/icons/arrow-white.svg"
: "/assets/icons/arrow-primary.svg"
}
alt="بازگشت"
className="w-6"
onClick={() => setPhase("products")} onClick={() => setPhase("products")}
/> />
</div> </div>

Loading…
Cancel
Save