feat: manage testimonial labels via payload

This commit is contained in:
syntaxbullet
2026-06-22 12:23:06 +02:00
parent 1e164d7624
commit 9ce55217a1
7 changed files with 123 additions and 116 deletions

View File

@@ -160,6 +160,11 @@ export const aboutFields: Field[] = [
fields: [
text('eyebrow', 'Eyebrow', aboutContent.testimonials.eyebrow),
textarea('heading', 'Heading', aboutContent.testimonials.heading),
textarea('desktopHeading', 'Desktop heading', aboutContent.testimonials.desktopHeading),
text('yearPrefix', 'Award year prefix', aboutContent.testimonials.yearPrefix),
text('previousLabel', 'Previous button label', aboutContent.testimonials.previousLabel),
text('nextLabel', 'Next button label', aboutContent.testimonials.nextLabel),
text('slideLabelPrefix', 'Slide dot label prefix', aboutContent.testimonials.slideLabelPrefix),
{
name: 'items',
label: 'Testimonials',

View File

@@ -219,6 +219,11 @@ export const homeFields: Field[] = [
fields: [
text('eyebrow', 'Eyebrow', homeContent.testimonials.eyebrow),
textarea('heading', 'Heading', homeContent.testimonials.heading),
textarea('desktopHeading', 'Desktop heading', homeContent.testimonials.desktopHeading),
text('yearPrefix', 'Award year prefix', homeContent.testimonials.yearPrefix),
text('previousLabel', 'Previous button label', homeContent.testimonials.previousLabel),
text('nextLabel', 'Next button label', homeContent.testimonials.nextLabel),
text('slideLabelPrefix', 'Slide dot label prefix', homeContent.testimonials.slideLabelPrefix),
{
name: 'items',
label: 'Testimonials',