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