feat: add madeira blog post upgrade astro
This commit is contained in:
@@ -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
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
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
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
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
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
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
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
BIN
src/content/photos/madeira-2025/images/MAX_0646.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/PXL_20250209_132548610.MP.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/PXL_20250209_132548610.MP.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/PXL_20250209_133848550.MP.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/PXL_20250209_133848550.MP.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/PXL_20250210_150929413.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/PXL_20250210_150929413.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/PXL_20250211_174301568.webm
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/PXL_20250211_174301568.webm
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/PXL_20250211_181321910.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/PXL_20250211_181321910.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/PXL_20250212_181932180.RAW-02.ORIGINAL.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/PXL_20250212_181932180.RAW-02.ORIGINAL.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/2025-02-09T11_05_08+00_00.JPEG
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/2025-02-09T11_05_08+00_00.JPEG
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/2025-02-09T12_48_48+00_00.JPEG
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/2025-02-09T12_48_48+00_00.JPEG
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/2025-02-09T12_55_24+00_00.JPEG
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/2025-02-09T12_55_24+00_00.JPEG
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_125919043.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_125919043.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_134733435.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_134733435.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_173041299.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_173041299.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_174719071.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_174719071.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_175134355.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250209_175134355.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250211_151038493.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250211_151038493.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_142126974.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_142126974.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_142920774.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_142920774.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_144259621.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_144259621.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_153335886.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_153335886.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_154036484.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_154036484.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_161706087.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_161706087.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_163000971.jpg
(Stored with Git LFS)
Normal file
BIN
src/content/photos/madeira-2025/images/plants/PXL_20250212_163000971.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
src/content/photos/madeira-2025/index.en.mdx
(Stored with Git LFS)
Normal file
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
BIN
src/content/photos/madeira-2025/index.mdx
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user