feat: add madeira blog post upgrade astro

This commit is contained in:
2025-02-16 15:33:45 +01:00
parent c1fefe3f3f
commit b607cbeb2a
48 changed files with 2653 additions and 3235 deletions

View File

@@ -1,26 +0,0 @@
import { defineCollection, z } from 'astro:content';
const blogCollection = defineCollection({
schema: ({ image }) => z.object({
title: z.string(),
date: z.date(),
cover: image().refine((img) => img.width >= 720, {
message: "Cover image must be at least 720 pixels wide!",
}).optional(),
links: z.array(z.array(z.string())).optional(),
coverAlt: z.string().optional(),
toc: z.boolean().optional(),
description: z.string().optional(),
icon: z.string().optional(),
draft: z.boolean().optional(),
featured: z.boolean().optional(),
tags: z.array(z.string()).optional(),
_layout: z.enum(['normal', 'transparent']).optional(),
})
});
export const collections = {
'blog': blogCollection,
"projects": blogCollection,
"photos": blogCollection,
};

BIN
src/content/photos/madeira-2025/images/MAX_0354.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/images/MAX_0369.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/images/MAX_0442.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/images/MAX_0447-Panorama.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/images/MAX_0463.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/images/MAX_0505.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/images/MAX_0603.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/images/MAX_0646.jpg (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
src/content/photos/madeira-2025/index.en.mdx (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/content/photos/madeira-2025/index.mdx (Stored with Git LFS) Normal file

Binary file not shown.