diff --git a/src/component/Blog/Blog/Main.js b/src/component/Blog/Blog/Main.js index 2a7122e..d136d3c 100644 --- a/src/component/Blog/Blog/Main.js +++ b/src/component/Blog/Blog/Main.js @@ -8,8 +8,8 @@ const Main = ({ brdcum, bgimg }) => { const api = new SiteService(); useEffect(() => { - getBlogData(); - }, []); + if(blogData.length===0){getBlogData()}; + }, [blogData]); const getBlogData = async () => { try { @@ -69,14 +69,14 @@ const Main = ({ brdcum, bgimg }) => {
{blogData.map((data,index) => { - if (index == 0){ + if (index === 0){ return (
{ if (index > 0){ return (
-
+
image {new Date (data && data.post_date).toDateString()} diff --git a/src/component/Blog/BlogSingle/Main.js b/src/component/Blog/BlogSingle/Main.js index 8236ad5..5bc9187 100644 --- a/src/component/Blog/BlogSingle/Main.js +++ b/src/component/Blog/BlogSingle/Main.js @@ -101,42 +101,8 @@ const Main = ({brdcum}) => {

{data && data.post_name}

- {/*
-

Lorem Ipsum is simply dummy text of the printing and typesetting in dustry lorem Ipsum has been the industrys standard dummy text ev er since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic Lorem Ipsum is simply dummy text of the printing and typesettingindustry lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived.

-

Printing and typesetting in dustry lorem Ipsum has been the industrys standard dummy text ev er since the 1500s, when an unnown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic Lorem Ipsum is simply dummy text of the printing and typesettingindustry lorem Ipsum has been the industrys centuries, but also the leap into electronic.

-

Why we are best

-

Lorem Ipsum is simply dummy text of the printing and typesetting in dustry lorem Ipsum has been the industrys standard dummy text ev er since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic.

-
    -
  • Lorem Ipsum is simply dummy text of the printing and typesetting in

  • -
  • Dustry lorem Ipsum has been the industrys standard dummy text ev er since the when

  • -
  • Unknown printer took a galley of type and scrambled it to make.

  • -
  • Type specimen book. It has survived not only five centuries, but also the leap into electronic.

  • -
  • Lorem Ipsum is simply dummy text of the printing.

  • -
  • Dustry lorem Ipsum has been the industrys standard dummy text ev er since.

  • -
  • Unknown printer took a galley of type and scrambled it to make.

  • -
  • Type specimen book. It has survived not only.

  • -
-
-
-
-
- image -
-
- image -
-
-
-
-

Why we are best

-

Lorem Ipsum is simply dummy text of the printing and typesetting in dustry lorem Ipsum has been the industrys standard dummy text ev er since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic Lorem Ipsum is simply dummy text of the printing and typesettingindustry lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived.

-
-
- image -

Lorem Ipsum is simply dummy text of the printing and typesetting in dustry lorem Ipsum has been the industrys standard dummy.

-

Mr. John Doe, Apper Inc

-
*/} - {/*

Lorem Ipsum is simply dummy text of the printing and typesetting in dustry lorem Ipsum has been the industrys standard dummy text ev er since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic industry.

*/} + +
{/*
diff --git a/src/component/Footer/Main.js b/src/component/Footer/Main.js index f0767c7..220e4b3 100644 --- a/src/component/Footer/Main.js +++ b/src/component/Footer/Main.js @@ -79,7 +79,9 @@ const Main = ({ footer }) => {

Useful Links

  • - Home + {/* Home */} + Home +
  • About us diff --git a/src/component/Navbar/Main.js b/src/component/Navbar/Main.js index fb9e686..ff2e63b 100644 --- a/src/component/Navbar/Main.js +++ b/src/component/Navbar/Main.js @@ -143,7 +143,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}
@@ -211,7 +212,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}
  • @@ -275,7 +277,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}
  • @@ -330,7 +333,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}
  • @@ -393,7 +397,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}
  • @@ -449,7 +454,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}
  • @@ -522,7 +528,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}
  • @@ -578,7 +585,8 @@ const Main = ({navbar}) => { Contact
  • - GET STARTED + GET STARTED + {/* GET STARTED */}