master
mahdi 3 years ago
parent b6f89dcb39
commit 4c7fd66f4b
  1. 34
      src/App.js
  2. 80
      src/components/footer/design1/FooterDesign1.js

@ -22,25 +22,25 @@ import Feedback from "./components/Feedback/index";
function App() {
return (
<div className="App">
<ProductDesign />
<VodProductDesign />
<BookDesign />
<ButtonDesign />
<ProductTags />
<CounterDesign />
<BlogDesign1 />
<BlogDesign2 />
<BlogDesign3 />
<BlogDesign4 />
<BlogDesign5 />
<BlogDesign6 />
<HeaderDesign1 />
<ContactInfoSection />
{/* <ProductDesign /> */}
{/* <VodProductDesign /> */}
{/* <BookDesign /> */}
{/* <ButtonDesign /> */}
{/* <ProductTags /> */}
{/* <CounterDesign /> */}
{/* <BlogDesign1 /> */}
{/* <BlogDesign2 /> */}
{/* <BlogDesign3 /> */}
{/* <BlogDesign4 /> */}
{/* <BlogDesign5 /> */}
{/* <BlogDesign6 /> */}
{/* <HeaderDesign1 /> */}
{/* <ContactInfoSection /> */}
<FooterDesign1 />
{/* <Testttt /> */}
<Design2D />
<Features />
<Feedback />
{/* <Design2D /> */}
{/* <Features /> */}
{/* <Feedback /> */}
</div>
);
}

@ -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: "در باره ما",
},
],
},
],
};

Loading…
Cancel
Save