We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df484ef commit e90bd0aCopy full SHA for e90bd0a
src/component/pages/Blog.js
@@ -2,6 +2,7 @@ import { React } from "react";
2
import blogs from "../../json/Blogs.json";
3
import BlogCard from "../Blog/BlogCard";
4
import Layout from ".."
5
+import { motion } from 'framer-motion';
6
7
function Blog() {
8
return (
@@ -16,10 +17,12 @@ function Blog() {
16
17
18
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-10 my-6">
19
{blogs.blogs.map((card, idx) => (
20
+ <motion.div whileHover={{ scale: 1.05 }}>
21
<BlogCard
22
card={card}
23
idx={idx}
24
/>
25
+ </motion.div>
26
))}
27
</div>
28
0 commit comments