update src/components/ContactUsInfoCard/index.js, src/components/LeafletMap/index.scss and src/index.scss

master
mahdi 3 years ago
parent 85dbcca2cc
commit d26f86b7a3
  1. 6
      src/components/ContactUsInfoCard/index.js
  2. 13
      src/components/LeafletMap/index.scss
  3. 18
      src/index.scss
  4. BIN
      src/redux.zip

@ -10,15 +10,15 @@ const ContactUsInfoCard = ({ items }) => {
<div className="max-w-[650px] flex flex-col rounded-md border bg-white border-gray-200 p-4 mx-auto mt-10"> <div className="max-w-[650px] flex flex-col rounded-md border bg-white border-gray-200 p-4 mx-auto mt-10">
{/* logo && map */} {/* logo && map */}
<div className="flex flex-row items-center justify-between "> <div className="flex flex-row items-center justify-between ">
<img src={map} alt="map" /> <img src={map} alt="map" className="flex-1" />
<img src={logoRectangle} alt="map" /> <img src={logoRectangle} alt="map" className="w-[]" />
</div> </div>
{/* contact info */} {/* contact info */}
{items.map((item, index) => ( {items.map((item, index) => (
<div className="flex flex-row items-center mt-2" key={index}> <div className="flex flex-row items-center mt-2" key={index}>
{item.icon && <img className="w-5" src={item.icon} alt={item.icon} />} {item.icon && <img className="w-5" src={item.icon} alt={item.icon} />}
<p <p
className={`text-[#2383E1] text-sm ${ className={`text-[#2383E1] text-sm font-iransansBold ${
item.icon === null ? "mr-8" : "mr-2" item.icon === null ? "mr-8" : "mr-2"
}`} }`}
> >

@ -1,16 +1,3 @@
.leaflet-popup-content,
.leaflet-draw-toolbar a,
span,
title,
p,
li {
font-family: "iransans-medium" !important;
}
.leaflet-touch .leaflet-draw-actions a {
font-family: "iransans-medium" !important;
}
.leaflet-container { .leaflet-container {
width: 100%; width: 100%;
height: 100vh; height: 100vh;

@ -11,7 +11,6 @@
font-family: "iransansBold"; font-family: "iransansBold";
src: url(./assets/fonts/IRANSansX-Bold.woff); src: url(./assets/fonts/IRANSansX-Bold.woff);
} }
@import "./components/productDesign/ProductDesign.scss"; @import "./components/productDesign/ProductDesign.scss";
body { body {
@ -28,3 +27,20 @@ body {
padding-right: 4px; padding-right: 4px;
border-radius: 50%; border-radius: 50%;
} }
.leaflet-popup-content,
.leaflet-draw-toolbar a,
.leaflet-popup-content,
.leaflet-draw-toolbar span,
.leaflet-popup-content,
.leaflet-draw-toolbar title,
.leaflet-popup-content,
.leaflet-draw-toolbar p,
l.leaflet-popup-content,
.leaflet-draw-toolbar i {
font-family: "iransans-medium" !important;
}
.leaflet-touch .leaflet-draw-actions a {
font-family: "iransans-medium" !important;
}

Binary file not shown.
Loading…
Cancel
Save