Skip to content

Commit 2b63410

Browse files
committed
add developer blog, replace screenshots
1 parent 2fa9d83 commit 2b63410

File tree

10 files changed

+66
-10
lines changed

10 files changed

+66
-10
lines changed

docs/working-notes/todo4.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ git checkout feat/tailwind4-v2
5454
----------
5555
astro markdown link in new tab
5656
mdx not formatting, prettierignore, breaks them
57+
for screenshots use new not private window and select window in screenshot tool, not screen or selection, hide dock for 16/9 // important
5758
```
5859

5960

src/content/project/2024/02-13-example-project-1/index.mdx renamed to src/content/project/2023/02-13-example-project-1/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
title: This is the first project
33
description: Description of the first project
4-
heroImage: '../../../../content/project/2024/02-13-example-project-1/_images/flowers-store.jpg'
4+
heroImage: '../../../../content/project/2023/02-13-example-project-1/_images/flowers-store.jpg'
55
heroAlt: Flowers store
6-
publishDate: 2024-02-13
6+
publishDate: 2023-02-13
77
---
88

99
import { Image } from 'astro:assets';
1010

1111
import { IMAGE_SIZES } from '../../../../constants/image';
1212

13-
import FlowersImage from '../../../../content/project/2024/02-13-example-project-1/_images/flowers-store.jpg';
13+
import FlowersImage from '../../../../content/project/2023/02-13-example-project-1/_images/flowers-store.jpg';
1414

1515
# This is the first project
1616

src/content/project/2024/03-15-example-project-2/index.mdx renamed to src/content/project/2023/03-15-example-project-2/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: This is the second project
33
description: Description of the second project
4-
heroImage: '../../../../content/project/2024/03-15-example-project-2/_images/cyco5.jpg'
4+
heroImage: '../../../../content/project/2023/03-15-example-project-2/_images/cyco5.jpg'
55
heroAlt: This is bicycle
6-
publishDate: 2024-03-15
7-
updatedDate: 2024-04-21
6+
publishDate: 2023-03-15
7+
updatedDate: 2023-04-21
88
---
99

1010
import { Image } from 'astro:assets';
1111

1212
import { IMAGE_SIZES } from '../../../../constants/image';
1313

14-
import BicycleImage from '../../../../content/project/2024/03-15-example-project-2/_images/cyco5.jpg';
14+
import BicycleImage from '../../../../content/project/2023/03-15-example-project-2/_images/cyco5.jpg';
1515

1616

1717
# This is the second project

src/content/project/2024/05-16-example-project-3/index.mdx renamed to src/content/project/2023/05-16-example-project-3/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: This is the third project
33
description: Description of the third project
4-
heroImage: '../../../../content/project/2024/05-16-example-project-3/_images/morning1.jpg'
5-
publishDate: 2024-05-16
4+
heroImage: '../../../../content/project/2023/05-16-example-project-3/_images/morning1.jpg'
5+
publishDate: 2023-05-16
66
---
77

88
import { Image } from 'astro:assets';
99

1010
import { IMAGE_SIZES } from '../../../../constants/image';
1111

12-
import MorningImage from '../../../../content/project/2024/05-16-example-project-3/_images/morning1.jpg';
12+
import MorningImage from '../../../../content/project/2023/05-16-example-project-3/_images/morning1.jpg';
1313

1414
# This is the third project
1515

433 KB
Loading
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Developer blog
3+
description: Insights into HackerNews "Who's Hiring" thread.
4+
heroImage: '../../../../content/project/2024/09-30-developer-blog/_images/developer-blog.png'
5+
heroAlt: Homepage Developer blog
6+
publishDate: 2024-09-30
7+
---
8+
9+
import { Image } from 'astro:assets';
10+
import Link from '../../../../components/Link.astro';
11+
import { IMAGE_SIZES } from '../../../../constants/image';
12+
import DeveloperBlogImage from '../../../../content/project/2024/09-30-developer-blog/_images/developer-blog.png';
13+
14+
# Developer blog
15+
16+
<Image {...IMAGE_SIZES.FIXED.MDX_LG} src={DeveloperBlogImage} class="shadow-lg shadow-base-300" alt="Homepage Developer blog" />
17+
18+
## Overview
19+
20+
Developer blog website you are currently on.
21+
22+
## Goal
23+
24+
Build a custom blog script for my personal coding blog.
25+
26+
## Tech stack
27+
28+
- Astro, TailwindCSS, React, MDX
29+
- Zod, Satori, class-variance-authority
30+
31+
## Features
32+
33+
- Static Astro website
34+
- Post and project markdown content
35+
- Tags, categories, pagination
36+
- Optimized images, view transitions
37+
- SEO friendly - sitemap, metadata, Open Graph image
38+
- GitHub Pages, Nginx, x86 and arm Docker deployments
39+
40+
## Implementation details
41+
42+
You can find more implementation details in the <Link href="https://github.com/nemanjam/nemanjam.github.io/tree/main#implementation-details" variant="markdown" target="_blank" title="README.md file">README.md</Link> file on Github.
43+
44+
## Lessons learned
45+
46+
- Currently Astro is the best framework for building static websites.
47+
- Keeping styles consistent and visually harmonious between markdown and custom components while maintaining clean, well structured, and maintainable code is not a trivial challenge.
48+
- You need to review many existing examples to come up with a visually appealing, practical, and up-to-date design for a blog.
49+
50+
## Links
51+
52+
- **Demo:** <Link href="https://nemanjamitic.com" variant="markdown" target="_blank" title="Developer blog demo" />
53+
- **Repository:** <Link href="https://github.com/nemanjam/nemanjam.github.io" variant="markdown" target="_blank" title="Developer blog repository" />
54+
55+
-102 KB
Loading

0 commit comments

Comments
 (0)