parent
336d12186e
commit
91bad7fb52
10 changed files with 34 additions and 145 deletions
@ -1,102 +0,0 @@ |
||||
// it has style inside index.scss ---> // Start Footer/Design1 && end Footer/Design1
|
||||
|
||||
import React from "react"; |
||||
|
||||
const FooterDesign1 = ({ footerItems, array }) => { |
||||
return ( |
||||
<footer className="p-6 flex flex-col md:flex-row justify-around items-start md:items-start relative bg-white"> |
||||
<div className="flex items-start"> |
||||
{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="images/enamad-pic.svg" alt="" className="w-28 ml-10" /> |
||||
<img src="images/samandehi-pic.svg" alt="" className="w-28" /> |
||||
</div> |
||||
{/* line */} |
||||
<img |
||||
src="images/light-blue-line.svg" |
||||
alt="" |
||||
className="hidden sm:block absolute bottom-5 left-20" |
||||
/> |
||||
</footer> |
||||
); |
||||
}; |
||||
|
||||
export default FooterDesign1; |
||||
|
||||
FooterDesign1.defaultProps = { |
||||
array: [ |
||||
{ |
||||
footerItems: [ |
||||
{ |
||||
name: "لینک های اصلی", |
||||
}, |
||||
{ |
||||
name: "فروشگاه", |
||||
}, |
||||
{ |
||||
name: "در باره ما", |
||||
}, |
||||
{ |
||||
name: "پرسش های متداول", |
||||
}, |
||||
], |
||||
}, |
||||
{ |
||||
footerItems: [ |
||||
{ |
||||
name: "لینک های اصلی", |
||||
}, |
||||
{ |
||||
name: "فروشگاه", |
||||
}, |
||||
{ |
||||
name: "در باره ما", |
||||
}, |
||||
{ |
||||
name: "پرسش های متداول", |
||||
}, |
||||
], |
||||
}, |
||||
{ |
||||
footerItems: [ |
||||
{ |
||||
name: "لینک های اصلی", |
||||
}, |
||||
{ |
||||
name: "فروشگاه", |
||||
}, |
||||
{ |
||||
name: "در باره ما", |
||||
}, |
||||
{ |
||||
name: "پرسش های متداول", |
||||
}, |
||||
], |
||||
}, |
||||
{ |
||||
footerItems: [ |
||||
{ |
||||
name: "لینک های اصلی", |
||||
}, |
||||
{ |
||||
name: "فروشگاه", |
||||
}, |
||||
{ |
||||
name: "در باره ما", |
||||
}, |
||||
], |
||||
}, |
||||
], |
||||
}; |
Loading…
Reference in new issue