Add CMS setup, update frontend pages and layouts, and modify json configs

This commit is contained in:
2025-08-30 13:43:22 +03:00
parent 81b875023b
commit 8997ad9f06
18 changed files with 786 additions and 58 deletions

16
src/collections/Media.ts Normal file
View File

@ -0,0 +1,16 @@
import type { CollectionConfig } from 'payload'
export const Media: CollectionConfig = {
slug: 'media',
access: {
read: () => true,
},
fields: [
{
name: 'alt',
type: 'text',
required: true,
},
],
upload: true,
}