Skip to content

Commit f42a5be

Browse files
committed
chore: add new post (git post)
1 parent 754a6b5 commit f42a5be

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

components/Latest.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ const LatestContent = () => {
1313
subtitle="tips, insights, and best practices about software engineering and personal life"
1414
/>
1515

16-
<div className="grid grid-cols-12 gap-y-10 md:gap-10 max-w-screen-lg mx-4 lg:mx-auto">
16+
<div className="grid grid-cols-12 gap-y-10 gap-5 md:gap-7 max-w-screen-lg mx-4 lg:mx-auto">
1717
{me.content.posts.map((post: IPost) => (
18-
<div className="relative w-full col-span-4" key={post.image}>
18+
<div
19+
className="relative w-full col-span-6 md:col-span-4"
20+
key={post.image}
21+
>
1922
<Post post={post} />
2023
</div>
2124
))}

json/me.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@
147147
"content": {
148148
"contentCutOff": 4,
149149
"posts": [
150+
{
151+
"image": "images/story_6.jpg",
152+
"url": "https://blog.ahmedibrahim.dev/the-evolution-of-my-git-commit-messages-6542cec6ba2f"
153+
},
150154
{
151155
"image": "images/story_5.jpg",
152156
"url": "https://blog.ahmedibrahim.dev/how-i-get-myself-started-doing-hard-things-when-i-dont-want-to-4141e8538cfe"

public/images/story_6.jpg

153 KB
Loading

0 commit comments

Comments
 (0)