|
|
@ -7,17 +7,22 @@ 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 = ({ footerItems }) => { |
|
|
|
const FooterDesign1 = ({ footerItems, array }) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<footer className="p-6 flex flex-col md:flex-row justify-around items-start md:items-start relative"> |
|
|
|
<footer className="p-6 flex flex-col md:flex-row justify-around items-start md:items-start relative"> |
|
|
|
<div className="flex items-start"> |
|
|
|
<div className="flex items-start"> |
|
|
|
<ul className="mr-10"> |
|
|
|
{array.map((item, index) => ( |
|
|
|
{footerItems.map((footerItem, index) => ( |
|
|
|
<ul className="mr-10" key={index}> |
|
|
|
<li className="font-light text-xs leading-7 footer-items"> |
|
|
|
{item.footerItems.map((footerItem, index) => ( |
|
|
|
|
|
|
|
<li |
|
|
|
|
|
|
|
className="font-light text-xs leading-7 footer-items" |
|
|
|
|
|
|
|
key={index} |
|
|
|
|
|
|
|
> |
|
|
|
<a href="#">{footerItem.name}</a> |
|
|
|
<a href="#">{footerItem.name}</a> |
|
|
|
</li> |
|
|
|
</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"> |
|
|
|
<img src={enamad} alt="" className="w-28 ml-10" /> |
|
|
|
<img src={enamad} alt="" className="w-28 ml-10" /> |
|
|
@ -36,6 +41,8 @@ const FooterDesign1 = ({ footerItems }) => { |
|
|
|
export default FooterDesign1; |
|
|
|
export default FooterDesign1; |
|
|
|
|
|
|
|
|
|
|
|
FooterDesign1.defaultProps = { |
|
|
|
FooterDesign1.defaultProps = { |
|
|
|
|
|
|
|
array: [ |
|
|
|
|
|
|
|
{ |
|
|
|
footerItems: [ |
|
|
|
footerItems: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
name: "لینک های اصلی", |
|
|
|
name: "لینک های اصلی", |
|
|
@ -50,4 +57,51 @@ FooterDesign1.defaultProps = { |
|
|
|
name: "پرسش های متداول", |
|
|
|
name: "پرسش های متداول", |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
footerItems: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "فروشگاه", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "در باره ما", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "پرسش های متداول", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
footerItems: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "فروشگاه", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "در باره ما", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "پرسش های متداول", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
footerItems: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "لینک های اصلی", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "فروشگاه", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: "در باره ما", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|