88 Pagination ,
99 PostCarousel ,
1010 ProjectCarousel ,
11+ PostCardBlog
1112} from "../components/common" ;
1213import { MetaData } from "../components/common/meta" ;
1314import DonateCard from "../components/common/DonateCard" ;
@@ -30,34 +31,22 @@ const Index = ({ data, location, pageContext }) => {
3031 < >
3132 < MetaData location = { location } />
3233 < Layout isHome = { true } >
33- < div id = "container" className = "responsive-container mt-4 text-left" >
34- < h1 className = "text-3xl mb-6 font-bold" > Blogposts</ h1 >
34+ < div id = "container" className = "responsive-container px-4 mt-4 text-left" >
35+ < h1 className = "text-subheading-1 mb-4 mt-24 font-bold" > Blogposts</ h1 >
3536 < section id = "post-feed" >
3637 { posts . map ( ( { node } , index ) => (
3738 // The tag below includes the markup for each post - components/common/PostCard.js
38- < PostCard key = { node . id } post = { node } number = { index + 1 } />
39+ < PostCardBlog key = { node . id } post = { node } number = { index + 1 } />
3940 ) ) }
4041 </ section >
4142
42- { /* <Pagination pageContext={pageContext} /> */ }
43- < p className = "ml-14 text-body-grey" >
43+ < p className = "text-body-grey" >
4444 Read more blogs on numerous other topics
4545 </ p >
46- < button class = "ml-14 mt-6 mb-20 bg-iff-orange hover:bg-iff-orange-700 text-white font-normal text-xl leading-6 not-italic py-2 px-4 rounded w-36 h-14" >
46+ < button class = "mt-6 mb-16 bg-iff-orange hover:bg-iff-orange-700 text-white font-normal text-xl leading-6 not-italic py-2 px-4 rounded w-36 h-14" >
4747 Read more
4848 </ button >
4949 < hr > </ hr >
50- < h1 className = "text-3xl mt-20 mb-6 font-bold" > Our latest work</ h1 >
51- < section
52- id = "post-feed"
53- className = "flex flex-col lg:w-1/3 md:flex-row"
54- >
55- { posts . map ( ( { node } , index ) => (
56- // The tag below includes the markup for each post - components/common/PostCard.js
57- < PostCarousel key = { node . id } post = { node } number = { index + 1 } />
58- ) ) }
59- </ section >
60- < hr > </ hr >
6150 < h1 className = "text-3xl mt-20 font-bold" > Campaigns & Projects </ h1 >
6251 < p className = "text-base text-body-grey mt-6 mb-6" >
6352 Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
0 commit comments