diff --git a/api/blogs.js b/api/blogs.js index 36e3cd9..a65bac6 100644 --- a/api/blogs.js +++ b/api/blogs.js @@ -1,4 +1,3 @@ -// images import blogImg1 from "/public/images/blog/img-1.jpg"; import blogImg2 from "/public/images/blog/img-2.jpg"; import blogImg3 from "/public/images/blog/img-3.jpg"; @@ -7,47 +6,67 @@ import blogSingleImg1 from "/public/images/blog/blog-single/img-1.jpg"; import blogSingleImg2 from "/public/images/blog/blog-single/img-2.jpg"; import blogSingleImg3 from "/public/images/blog/blog-single/img-3.jpg"; - - const blogs = [ { id: '1', - title: 'We’re the people who don’t just support progressive change.', - slug:'support-progressive-change', + title: 'The people who just support progressive change.', + slug:'the-people-who-just-support-progressive-change.', screens: blogImg1, - description: 'Consectetur adipiscing elit. Purusout phasellus malesuada lectus.', + description: ` +

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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 not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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 not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. +
+

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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 not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+ `, author: 'Anne William', - authorTitle:'Sineor Consultant', + para: 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', + authorTitle:'Admin', create_at: '25 Sep 2023', - blogSingleImg:blogSingleImg1, + blogSingleImg:blogSingleImg1, comment:'35', blClass:'format-standard-image', }, { id: '2', - title: 'Politics is why we can’t have nice things. Like the internet.', - slug:'Like-the-internet', + title: 'Politics is why we have nice things. Like the internet.', + slug:'politics-is-why-we-have-nice-things-like-the-internet.', screens: blogImg2, - description: 'Consectetur adipiscing elit. Purusout phasellus malesuada lectus.', + description: ` +

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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 not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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. +
+

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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 not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+ `, author: 'Robert Fox', - authorTitle:'Creative Director', + para: 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', + authorTitle:'Admin', create_at: '26 Sep 2023', - blogSingleImg:blogSingleImg2, + blogSingleImg:blogSingleImg2, comment:'80', blClass:'format-standard-image', }, { id: '3', title: 'Liberty Divided Over Criticism Justice League', - slug:'Criticism-Justice', + slug:'liberty-divided-over-criticism-justice-league', screens: blogImg3, - description: 'Consectetur adipiscing elit. Purusout phasellus malesuada lectus.', + description: ` +

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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 not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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. +
+

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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 not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

+ `, author: 'Devon Lane', - authorTitle:'Art Director', + para: 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', + authorTitle:'Admin', create_at: '28 Sep 2023', blogSingleImg:blogSingleImg3, comment:'95', blClass:'format-video', }, ]; -export default blogs; \ No newline at end of file + +export default blogs; diff --git a/components/BlogList/BlogList.js b/components/BlogList/BlogList.js index e733a42..a1f320b 100644 --- a/components/BlogList/BlogList.js +++ b/components/BlogList/BlogList.js @@ -1,45 +1,68 @@ import React from 'react'; -import Link from 'next/link' -import BlogSidebar from '../BlogSidebar/BlogSidebar.js' -import VideoModal from '../ModalVideo/VideoModal' - -import blogs from '../../api/blogs' +import Link from 'next/link'; +import BlogSidebar from '../BlogSidebar/BlogSidebar.js'; +import VideoModal from '../ModalVideo/VideoModal'; +import blogs from '../../api/blogs'; import Image from 'next/image.js'; - -const ClickHandler = () =>{ +const ClickHandler = () => { window.scrollTo(10, 0); - } +}; const BlogList = (props) => { - return( + return (
-
+
- {blogs.map((blog, bitem) => ( -
-
- - +
+ {blogs.map((blog, bitem) => ( +
+
+
+ + {/* */} +
+
+
    + {/*
  • Comments {blog.comment}
  • */} +
  • + {blog.create_at} +
  • +
  • + + + {blog.authorTitle} + +
  • +
+
+
+

+ + {blog.title} + +

+

+ {blog.para} +

+ + Continue Reading + +
+
-
-
    -
  • By {blog.authorTitle}
  • -
  • Comments {blog.comment}
  • -
  • {blog.create_at}
  • -
-
-
-

{blog.title}

-

Law is a great career path if you want to build a broad skill set that includes everything from critical thinking and strategic planning to communications. If you love rising to a challenge.

- READ MORE... -
-
- ))} + ))} +
-
+ {/*
  • @@ -55,16 +78,14 @@ const BlogList = (props) => {
-
+
*/}
- + {/* */}
- - ) - -} + ); +}; export default BlogList; diff --git a/components/BlogList/BlogList2.js b/components/BlogList/BlogList2.js new file mode 100644 index 0000000..6a7bad1 --- /dev/null +++ b/components/BlogList/BlogList2.js @@ -0,0 +1,70 @@ +import React from 'react'; +import Link from 'next/link' +import BlogSidebar from '../BlogSidebar/BlogSidebar.js' +import VideoModal from '../ModalVideo/VideoModal' + +import blogs from '../../api/blogs' +import Image from 'next/image.js'; + + +const ClickHandler = () =>{ + window.scrollTo(10, 0); + } + +const BlogList2 = (props) => { + return( +
+
+
+
+
+ {blogs.map((blog, bitem) => ( +
+
+ + +
+
+
    +
  • By {blog.authorTitle}
  • +
  • Comments {blog.comment}
  • +
  • {blog.create_at}
  • +
+
+
+

{blog.title}

+

Law is a great career path if you want to build a broad skill set that includes everything from critical thinking and strategic planning to communications. If you love rising to a challenge.

+ READ MORE... +
+
+ ))} + +
+
    +
  • + + + +
  • +
  • 1
  • +
  • 2
  • +
  • 3
  • +
  • + + + +
  • +
+
+
+
+ +
+
+
+ + ) + +} + +export default BlogList2; diff --git a/pages/blog-single/[slug].js b/pages/blog-single/[slug].js index 96b5a62..9bde6a3 100644 --- a/pages/blog-single/[slug].js +++ b/pages/blog-single/[slug].js @@ -33,7 +33,7 @@ const BlogSingle = (props) => {
-
+
@@ -41,29 +41,28 @@ const BlogSingle = (props) => {
    -
  • By {BlogDetails?.author}
  • -
  • Comments {BlogDetails?.comment}
  • {BlogDetails?.create_at}
  • +
  • By {BlogDetails?.authorTitle}
  • + {/*
  • Comments {BlogDetails?.comment}
  • */}

{BlogDetails?.title}

-

There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful.

-
- Combined with a handful of model sentence structures, generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc. -
-

I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself,

+
-
+ + {/*
-
+
*/}
-
+ {/*
Share:
    @@ -72,8 +71,8 @@ const BlogSingle = (props) => {
  • Political
-
-
+
*/} + {/*
Share:
    @@ -83,9 +82,9 @@ const BlogSingle = (props) => {
  • pinterest
-
+
*/} -
+ {/*
@@ -101,9 +100,9 @@ const BlogSingle = (props) => {
-
+
*/} -
+ {/*
@@ -120,9 +119,9 @@ const BlogSingle = (props) => {
-
+
*/} -
+ {/*

Comments

    @@ -199,51 +198,14 @@ const BlogSingle = (props) => { -
  1. -
    -
    -
    -
    -
    -
    -
    -

    John Abraham January 12,2022 - At 9.00am

    -
    -
    -

    I will give you a complete account of the system, and - expound the actual teachings of the great explorer of - the truth,

    -
    - Reply -
    -
    -
    -
    -
    -
  2. +
-
-

Post Comments

-
-
- -
-
- - - -
-
- -
-
-
-
+ +
*/}
- + {/* */}
diff --git a/pages/blog/index.js b/pages/blog/index.js index c929b87..9bc6db8 100644 --- a/pages/blog/index.js +++ b/pages/blog/index.js @@ -9,7 +9,7 @@ const BlogPage =() => { return( - +