Refactor: Split portfolio to projects and writings sections, and update content structure

- Renamed 'portfolio' collection to 'projects' in content configuration.
- Introduced a new 'writings' collection with corresponding schema.
- Updated README to reflect changes in content structure and navigation.
- Removed the old portfolio page and added new pages for projects and writings.
- Added multiple new project and writing markdown files with relevant content.
- Updated license year to 2025.
- Enhanced AppHeader for new navigation links.
- Improved ProseImg component styling.
This commit is contained in:
2025-04-06 19:16:28 +02:00
parent a06b754151
commit bbc573e290
35 changed files with 481 additions and 336 deletions

View File

@@ -5,9 +5,21 @@ export const collections = {
type: 'page',
source: 'home/*.md',
}),
portfolio: defineCollection({
projects: defineCollection({
type: 'page',
source: 'portfolio/*.md',
source: 'projects/*.md',
schema: z.object({
slug: z.string(),
title: z.string(),
description: z.string(),
publishedAt: z.date(),
tags: z.array(z.string()),
cover: z.string(),
}),
}),
writings: defineCollection({
type: 'page',
source: 'writings/*.md',
schema: z.object({
slug: z.string(),
title: z.string(),