feat: initialization migration to Nuxt + Backend

This commit initializes both the Nuxt frontend and the Rust backend of
the new version of phundrak.com
This commit is contained in:
2025-11-04 09:17:18 +01:00
parent cc62d0bb95
commit 007c3d1c18
134 changed files with 17247 additions and 8335 deletions

View File

@@ -0,0 +1,34 @@
import { defineCollection, defineContentConfig } from '@nuxt/content';
import { z } from 'zod';
z;
const commonSchema = z.object({});
export default defineContentConfig({
collections: {
content_en: defineCollection({
type: 'page',
source: {
include: 'en/**',
prefix: '',
},
schema: commonSchema,
}),
content_fr: defineCollection({
type: 'page',
source: {
include: 'fr/**',
prefix: '',
},
schema: commonSchema,
}),
content_lfn: defineCollection({
type: 'page',
source: {
include: 'lfn/**',
prefix: '',
},
schema: commonSchema,
}),
},
});