Commit a96398c2 by sujata

document changes

1 parent 15986cf8
......@@ -50,7 +50,7 @@ const blogPosts = [
const KnowledgeBlog = ({Knowledgedata}) => {
const latestPosts = Knowledgedata.slice(0, 3);
console.log(latestPosts ,"Knowledgedata")
// console.log(latestPosts ,"Knowledgedata")
return (
<>
<div id="blog" className="blog-area pt-100 pb-70">
......
......@@ -25,7 +25,7 @@ const blogs = ({Blogpage, conversionData }) => {
// Pagination setup
const [currentPage, setCurrentPage] = useState(1); // Start at page 1
const postsPerPage = 3; // Number of items per page
const postsPerPage = 6; // Number of items per page
const offset = (currentPage - 1) * postsPerPage; // Calculate offset
const currentItems = blogData?.slice(offset, offset + postsPerPage);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!