Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hemanth paila framer motion #371

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
63 changes: 63 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.1.3",
"framer-motion": "^10.11.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.6.0",
Expand Down
4 changes: 3 additions & 1 deletion src/component/pages/Blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +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 (
<Layout>
Expand All @@ -16,10 +16,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
Loading