delete 8 files and update 2 files

master
Reza_ashrafi 2 years ago
parent fc79039af3
commit 3d311fab77
  1. 4
      public/assets/icons/search-primary.svg
  2. 0
      public/assets/images/Bazar.svg
  3. 0
      public/assets/images/IOS.svg
  4. 0
      public/assets/images/enamad-pic.svg
  5. 0
      public/assets/images/samandehi-pic.svg
  6. 23
      src/components/MainFooter/index.js
  7. 17
      src/components/Navbar/index.js
  8. 7
      src/components/Navbar/light-gray-search-box.svg
  9. 7
      src/components/Navbar/white-cart-icon.svg
  10. 9
      src/components/Navbar/white-hamburger-menu-icon.svg

@ -1,5 +1,5 @@
<svg id="search-normal" xmlns="http://www.w3.org/2000/svg" width="72.645" height="72.645" viewBox="0 0 72.645 72.645"> <svg id="search-normal" xmlns="http://www.w3.org/2000/svg" width="72.645" height="72.645" viewBox="0 0 72.645 72.645">
<path id="Vector" d="M57.511,28.755A28.755,28.755,0,1,1,28.755,0,28.755,28.755,0,0,1,57.511,28.755Z" transform="translate(6.054 6.054)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/> <path id="Vector" d="M57.511,28.755A28.755,28.755,0,1,1,28.755,0,28.755,28.755,0,0,1,57.511,28.755Z" transform="translate(6.054 6.054)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"/>
<path id="Vector-2" data-name="Vector" d="M6.054,6.054,0,0" transform="translate(60.538 60.537)" fill="none" stroke="#132f52" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/> <path id="Vector-2" data-name="Vector" d="M6.054,6.054,0,0" transform="translate(60.538 60.537)" fill="none" stroke="#37a865" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"/>
<path id="Vector-3" data-name="Vector" d="M0,0H72.645V72.645H0Z" fill="none" opacity="0"/> <path id="Vector-3" data-name="Vector" d="M0,0H72.645V72.645H0Z" fill="none" opacity="0"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 646 B

After

Width:  |  Height:  |  Size: 646 B

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

@ -1,12 +1,6 @@
import React from "react"; import React from "react";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import enamadlogo from "./enamad-pic.svg";
import callIcon from "../../assets/icons/vuesax-linear-call-calling.svg";
import samandehi from "./samandehi-pic.svg";
// import iosIcon from "./IOS.svg";
// import bazarIcon from "./Bazar.svg";
const FooterDesign1 = ({ color, bg, items, hasHeader }) => { const FooterDesign1 = ({ color, bg, items, hasHeader }) => {
const enamad = const enamad =
'<a referrerpolicy="origin" target="_blank" href="https://trustseal.enamad.ir/?id=224965&amp;Code=x8oNSO7tTnqAniyPpPyN"><img referrerpolicy="origin" src="https://Trustseal.eNamad.ir/logo.aspx?id=224965&amp;Code=x8oNSO7tTnqAniyPpPyN" alt="" style="cursor:pointer" id="x8oNSO7tTnqAniyPpPyN"></a>'; '<a referrerpolicy="origin" target="_blank" href="https://trustseal.enamad.ir/?id=224965&amp;Code=x8oNSO7tTnqAniyPpPyN"><img referrerpolicy="origin" src="https://Trustseal.eNamad.ir/logo.aspx?id=224965&amp;Code=x8oNSO7tTnqAniyPpPyN" alt="" style="cursor:pointer" id="x8oNSO7tTnqAniyPpPyN"></a>';
@ -17,7 +11,10 @@ const FooterDesign1 = ({ color, bg, items, hasHeader }) => {
<div className="w-11/12 mx-auto flex items-center justify-between py-6 text-blue52"> <div className="w-11/12 mx-auto flex items-center justify-between py-6 text-blue52">
<div className="flex items-center"> <div className="flex items-center">
<div className="flex items-center ml-8 "> <div className="flex items-center ml-8 ">
<img src={callIcon} className="p-2" /> <img
src={"/assets/icons/call-primary.svg"}
className="p-2 w-20"
/>
<div> <div>
<h1 className="text-lg mb-4 font-bold"> <h1 className="text-lg mb-4 font-bold">
<span className=" text-blueC0 font-black">7 </span> <span className=" text-blueC0 font-black">7 </span>
@ -34,7 +31,9 @@ const FooterDesign1 = ({ color, bg, items, hasHeader }) => {
<a href="tel:654412 021" className="text-left mb-5"> <a href="tel:654412 021" className="text-left mb-5">
654412 021 654412 021
</a> </a>
<a href="mailto:Info@danovin.ir" className="text-tiny">Info@danovin.ir</a> <a href="mailto:Info@danovin.ir" className="text-tiny">
Info@danovin.ir
</a>
{/* <a href="https://info@danovin.ir">Info@danovin.ir</a> */} {/* <a href="https://info@danovin.ir">Info@danovin.ir</a> */}
</div> </div>
</div> </div>
@ -84,10 +83,14 @@ const FooterDesign1 = ({ color, bg, items, hasHeader }) => {
className="w-28 p-2 rounded-md bg-gray-300 mx-6" className="w-28 p-2 rounded-md bg-gray-300 mx-6"
></div> ></div>
) : ( ) : (
<img src={enamadlogo} alt="" className="w-32" /> <img
src={"/assets/icons/enamad-pic.svg"}
alt=""
className="w-32"
/>
)} )}
<img <img
src={samandehi} src={"/assets/images/samandehi-pic.svg"}
alt="" alt=""
className="w-32 p-2 rounded-md bg-gray-300 mr-6" className="w-32 p-2 rounded-md bg-gray-300 mr-6"
/> />

@ -11,8 +11,6 @@ import SearchResult from "./SearchResult";
import Loading from "../Loading"; import Loading from "../Loading";
//assets //assets
import cartIcon from "./cart-blue.svg";
import searchIcon from "./dark-crimson-search-box.svg";
import logoIcon from "../../assets/icons/logo.svg"; import logoIcon from "../../assets/icons/logo.svg";
import qrIcon from "../../assets/icons/qr-white.svg"; import qrIcon from "../../assets/icons/qr-white.svg";
import qrBlueIcon from "../../assets/icons/qr-blue.svg"; import qrBlueIcon from "../../assets/icons/qr-blue.svg";
@ -270,25 +268,26 @@ function Navbar({
</select> </select>
<img <img
src={searchIcon} 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)}
/> />
{user && ( {user ? (
<div className="hidden lg:flex justify-end items-center gap-4"> <div className="hidden lg:flex justify-end items-center gap-4">
<Link to="/cart" className="relative"> <Link to="/cart" className="relative">
<img src={cartIcon} alt="" className="w-8" /> <img
src={"/assets/icons/bag-primary.svg"}
alt=""
className="w-8"
/>
<span className="absolute -right-2 -top-0.5 w-4 p-2.5 h-4 flex justify-center items-center bg-green-700 bg-opacity-100 rounded-full text-white text-xs"> <span className="absolute -right-2 -top-0.5 w-4 p-2.5 h-4 flex justify-center items-center bg-green-700 bg-opacity-100 rounded-full text-white text-xs">
{cartProductsLength} {cartProductsLength}
</span> </span>
</Link> </Link>
{/* <img src={whiteCartIcon} alt="" className="w-5 h-5 ml-2" /> */}
{/* <img src={profileIcon} alt="" className="w-5 h-5" /> */}
</div> </div>
)} ) : null}
{!user ? ( {!user ? (
<Link <Link

@ -1,7 +0,0 @@
<svg id="vuesax_linear_search-normal" data-name="vuesax/linear/search-normal" xmlns="http://www.w3.org/2000/svg" width="38.895" height="38.895" viewBox="0 0 38.895 38.895">
<g id="search-normal">
<path id="Vector" d="M30.792,15.4A15.4,15.4,0,1,1,15.4,0,15.4,15.4,0,0,1,30.792,15.4Z" transform="translate(3.241 3.241)" fill="none" stroke="#818181" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-2" data-name="Vector" d="M3.241,3.241,0,0" transform="translate(32.412 32.412)" fill="none" stroke="#818181" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
<path id="Vector-3" data-name="Vector" d="M0,0H38.895V38.895H0Z" fill="none" opacity="0"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 728 B

@ -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="#fff" 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="#fff" 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="#fff" 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="#fff" 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.1 KiB

@ -1,9 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="31.881" height="25.028" viewBox="0 0 31.881 25.028">
<g id="vuesax_linear_textalign-justifycenter" data-name="vuesax/linear/textalign-justifycenter" transform="translate(-369.108 -201.5)">
<g id="textalign-justifycenter" transform="translate(364 193.088)">
<path id="Vector" d="M0,0H28.881" transform="translate(6.608 9.913)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-2" data-name="Vector" d="M0,0H28.881" transform="translate(6.608 20.926)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
<path id="Vector-3" data-name="Vector" d="M0,0H28.881" transform="translate(6.608 31.94)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 877 B

Loading…
Cancel
Save