qazaq-legacy-foundation-web/src/globals/About.ts
Peppa 1a58c2a4d9
All checks were successful
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 2с
peppa/test test: success за 1с
peppa/build build: success за 41с
ci / checks (pull_request) Successful in 1m22s
deploy / deploy (pull_request) Successful in 17s
QLFW-6: панель управления: проекты, фото, контакты и текст «О фонде»
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 23:33:54 +05:00

13 lines
565 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { GlobalConfig } from 'payload'
/** Страница «О фонде». Пока текст на языке страницы пуст, страницы и ссылки на неё нет. */
export const About: GlobalConfig = {
slug: 'about',
label: 'О фонде',
access: { read: () => true },
fields: [
{ name: 'text', label: 'Текст страницы (абзацы — через пустую строку)', type: 'textarea', localized: true },
{ name: 'photo', label: 'Фото', type: 'upload', relationTo: 'media' },
],
}