|
|
@ -7,94 +7,16 @@ import samandehi from "../../../assets/images/samandehi-pic.svg"; |
|
|
|
|
|
|
|
|
|
|
|
import lightBlueLine from "../../../assets/icons/light-blue-line.svg"; |
|
|
|
import lightBlueLine from "../../../assets/icons/light-blue-line.svg"; |
|
|
|
|
|
|
|
|
|
|
|
const FooterDesign1 = ({ footerMenuItemsColor, footerBgColor }) => { |
|
|
|
const FooterDesign1 = ({ footerItems }) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<footer |
|
|
|
<footer className="p-6 flex flex-col md:flex-row justify-around items-start md:items-start relative"> |
|
|
|
className={`p-6 flex flex-col md:flex-row justify-around items-start md:items-start relative ${footerBgColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div className="flex items-start"> |
|
|
|
<div className="flex items-start"> |
|
|
|
<ul className="mr-10"> |
|
|
|
<ul className="mr-10"> |
|
|
|
<li |
|
|
|
{footerItems.map((footerItem, index) => ( |
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
<li className="font-light text-xs leading-7 footer-items"> |
|
|
|
> |
|
|
|
<a href="#">{footerItem.name}</a> |
|
|
|
<a href=""> لینک های اصلی</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
))} |
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> فروشگاه</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> در باره ما</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> پرسش های متداول</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
<ul className="mr-10"> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> لینک های اصلی</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> فروشگاه</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> در باره ما</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> پرسش های متداول</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
<ul className="mr-10"> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> لینک های اصلی</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> فروشگاه</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> در باره ما</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> پرسش های متداول</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
<ul className="mr-10"> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> لینک های اصلی</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 hover:font-bold footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> فروشگاه</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className={`font-light text-xs leading-7 hover:font-bold footer-items ${footerMenuItemsColor}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a href=""> در باره ما</a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="flex items-center mt-10 md:mt-0"> |
|
|
|
<div className="flex items-center mt-10 md:mt-0"> |
|
|
@ -114,6 +36,18 @@ const FooterDesign1 = ({ footerMenuItemsColor, footerBgColor }) => { |
|
|
|
export default FooterDesign1; |
|
|
|
export default FooterDesign1; |
|
|
|
|
|
|
|
|
|
|
|
FooterDesign1.defaultProps = { |
|
|
|
FooterDesign1.defaultProps = { |
|
|
|
footerBgColor: "bg-white", |
|
|
|
footerItems: [ |
|
|
|
footerMenuItemsColor: "text-productContent", |
|
|
|
{ |
|
|
|
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "فروشگاه", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "در باره ما", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "پرسش های متداول", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|