Content
Pages
Static/custom pages model and admin management flow.
Prisma model
Pages are stored in the Page model (src/prisma/schema.prisma) with:
titlemetaDescriptionslug(unique)contentcreatedAt,updatedAt
Admin management
Pages are managed from the admin section and use FormBuilder for create/edit forms.
Key implementation files:
src/features/admin/pages/model/pages.schema.tssrc/features/admin/pages/components/page-editor.tsxsrc/features/admin/pages/components/pages-table.tsx
Extending schema
To add new page fields, update Page in src/prisma/schema.prisma, then align:
- Prisma migration
CreatePageInputSchema/UpdatePageInputSchema- Page editor Form Builder schema
- Table/query mapping if the new field is listed or filterable