Skip to content

Commit

Permalink
居中显示
Browse files Browse the repository at this point in the history
  • Loading branch information
buyfakett committed Mar 3, 2025
1 parent 6162926 commit b9d33b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/view/AboutMe/Blog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ const Blog = () => {
initial={{ opacity: 0, scale: 0.9 }}
animate={{ opacity: 1, scale: 1 }}
transition={{ duration: 0.3, delay: 0.5 }}>
<h1 className="text-4xl font-bold mb-10">Recent Blogs</h1>
<h1 className="text-2xl md:text-4xl font-bold mb-4 text-center">
Recent Blogs
</h1>
<div className="mt-10 px-4">
<div className="grid gap-4 grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5">
{blogs.slice(0, 8).map((item, index) => (
Expand Down

0 comments on commit b9d33b3

Please sign in to comment.