Skip to content
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/component/pages/Blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { React } from "react";
import blogs from "../../json/Blogs.json";
import BlogCard from "../Blog/BlogCard";
import Layout from ".."
import { motion } from 'framer-motion';

function Blog() {
return (
Expand All @@ -16,10 +17,12 @@ function Blog() {

<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-10 my-6">
{blogs.blogs.map((card, idx) => (
<motion.div whileHover={{ scale: 1.05 }}>
<BlogCard
card={card}
idx={idx}
/>
</motion.div>
))}
</div>
</div>
Expand Down