-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
94 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import React from 'react' | ||
import Header from "../../components/layout/Header"; | ||
import GeneralHero from "../../components/layout/GeneralHero"; | ||
import image1 from "../../assets/images/Rectangle 2.png"; | ||
|
||
|
||
import StatisticsSection from '../../components/layout/StatisticsSection'; | ||
import Footer from '../../components/layout/Footer'; | ||
import BlogList from './components /BlogList'; | ||
|
||
function Blog() { | ||
|
||
|
||
return ( | ||
<> | ||
<Header outerCircle=""></Header> | ||
<GeneralHero title="Blog " subTitle="Blog List" image={image1}></GeneralHero> | ||
|
||
<BlogList></BlogList> | ||
|
||
<StatisticsSection> | ||
|
||
</StatisticsSection> | ||
<Footer></Footer> | ||
</> | ||
) | ||
} | ||
|
||
export default Blog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import React from 'react' | ||
import BlogCard from '../../home/components/BlogCard'; | ||
import image14 from "../../../assets/images/Rectangle 14.png"; | ||
import Pagination from '../../../components/Pagination'; | ||
function BlogList() { | ||
const blogId=1 | ||
const day="25" | ||
const month="Febuary" | ||
const category="Education" | ||
const title="Children Education Needs For Well The World." | ||
const description="Children Education Needs For Well The World." | ||
const author="Adam" | ||
return ( | ||
<> | ||
<section className="mx-6 md:mx-32 flex flex-col items-center my-20 gap-10"> | ||
|
||
<div className="flex flex-col lg:grid lg:grid-cols-3 gap-6"> | ||
{Array.from({ length: 12 }).map((_, index) => ( | ||
|
||
<BlogCard key={index} | ||
|
||
id={blogId} | ||
image={image14} | ||
day="25" | ||
month="Febuary" | ||
category="Education" | ||
title="Children Education Needs For Well The World." | ||
description="Children Education Needs For Well The World." | ||
author="Adam" | ||
/> | ||
))} | ||
|
||
</div> | ||
|
||
<Pagination/> | ||
</section> | ||
</> | ||
) | ||
} | ||
|
||
export default BlogList |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters