|
|
|
@ -7,17 +7,22 @@ import samandehi from "../../../assets/images/samandehi-pic.svg"; |
|
|
|
|
|
|
|
|
|
import lightBlueLine from "../../../assets/icons/light-blue-line.svg"; |
|
|
|
|
|
|
|
|
|
const FooterDesign1 = ({ footerItems }) => { |
|
|
|
|
const FooterDesign1 = ({ footerItems, array }) => { |
|
|
|
|
return ( |
|
|
|
|
<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"> |
|
|
|
|
{footerItems.map((footerItem, index) => ( |
|
|
|
|
<li className="font-light text-xs leading-7 footer-items"> |
|
|
|
|
<a href="#">{footerItem.name}</a> |
|
|
|
|
</li> |
|
|
|
|
))} |
|
|
|
|
</ul> |
|
|
|
|
{array.map((item, index) => ( |
|
|
|
|
<ul className="mr-10" key={index}> |
|
|
|
|
{item.footerItems.map((footerItem, index) => ( |
|
|
|
|
<li |
|
|
|
|
className="font-light text-xs leading-7 footer-items" |
|
|
|
|
key={index} |
|
|
|
|
> |
|
|
|
|
<a href="#">{footerItem.name}</a> |
|
|
|
|
</li> |
|
|
|
|
))} |
|
|
|
|
</ul> |
|
|
|
|
))} |
|
|
|
|
</div> |
|
|
|
|
<div className="flex items-center mt-10 md:mt-0"> |
|
|
|
|
<img src={enamad} alt="" className="w-28 ml-10" /> |
|
|
|
@ -36,18 +41,67 @@ const FooterDesign1 = ({ footerItems }) => { |
|
|
|
|
export default FooterDesign1; |
|
|
|
|
|
|
|
|
|
FooterDesign1.defaultProps = { |
|
|
|
|
footerItems: [ |
|
|
|
|
array: [ |
|
|
|
|
{ |
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
footerItems: [ |
|
|
|
|
{ |
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "فروشگاه", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "در باره ما", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "پرسش های متداول", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "فروشگاه", |
|
|
|
|
footerItems: [ |
|
|
|
|
{ |
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "فروشگاه", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "در باره ما", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "پرسش های متداول", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "در باره ما", |
|
|
|
|
footerItems: [ |
|
|
|
|
{ |
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "فروشگاه", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "در باره ما", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "پرسش های متداول", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "پرسش های متداول", |
|
|
|
|
footerItems: [ |
|
|
|
|
{ |
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "فروشگاه", |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
name: "در باره ما", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|