fix: migrate all hardcoded eyebrow labels and text to CMS to fix locale bleeding

This commit is contained in:
MichalC
2026-09-02 22:46:27 +02:00
parent a24c239ae1
commit 6c87816d13
22 changed files with 427 additions and 44 deletions
+9
View File
@@ -3,7 +3,16 @@ import type { Block } from 'payload'
export const UniqueValue: Block = {
slug: 'uniqueValue',
fields: [
{ name: 'eyebrow', type: 'text', localized: true },
{ name: 'title', type: 'text', required: true, localized: true },
{ name: 'description', type: 'textarea', required: true, localized: true },
{
name: 'features',
type: 'array',
localized: true,
fields: [
{ name: 'text', type: 'text', required: true },
],
},
],
}