parent
8c30e37408
commit
5ca44d8a64
5 changed files with 69 additions and 0 deletions
After Width: | Height: | Size: 6.4 KiB |
@ -0,0 +1,55 @@ |
||||
import React from "react"; |
||||
import _ from "lodash"; |
||||
|
||||
import enamad from "./enamad-pic.svg"; |
||||
import samandehi from "./samandehi-pic.svg"; |
||||
|
||||
import lightBlueLine from "./light-blue-line.svg"; |
||||
|
||||
const FooterDesign1 = ({ color, bg, links }) => { |
||||
return ( |
||||
<footer |
||||
className={`flex flex-col md:flex-row justify-around items-start md:items-start relative shadow-md ${bg}`} |
||||
> |
||||
<div className="flex items-start"> |
||||
<> |
||||
{ |
||||
links.map((section, index) => <ul className="mr-10" key={index}> |
||||
{ |
||||
section.map((link, index) => <li |
||||
className={`font-light text-xs leading-7 hover:font-bold footer-items ${color}`} |
||||
key={index} |
||||
> |
||||
<a href="">{link}</a> |
||||
</li>) |
||||
} |
||||
</ul>) |
||||
} |
||||
</> |
||||
</div> |
||||
<div className="flex items-center mt-10 md:mt-0"> |
||||
<img src={enamad} alt="" className="w-28 ml-10" /> |
||||
<img src={samandehi} alt="" className="w-28" /> |
||||
</div> |
||||
{/* line */} |
||||
<img |
||||
src={lightBlueLine} |
||||
alt="" |
||||
className="hidden sm:block absolute bottom-5 left-20" |
||||
/> |
||||
</footer> |
||||
); |
||||
}; |
||||
|
||||
export default FooterDesign1; |
||||
|
||||
FooterDesign1.defaultProps = { |
||||
links: [ |
||||
["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], |
||||
["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], |
||||
["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], |
||||
["لینک های اصلی", "فروشگاه", "درباره ما", "پرسش های متوالی"], |
||||
], |
||||
bg: "bg-white", |
||||
color: "text-gray-600", |
||||
}; |
After Width: | Height: | Size: 287 B |
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in new issue