Skip to content

Commit

Permalink
fix(studio): add help text for image field (#132)
Browse files Browse the repository at this point in the history
Fix for [issue 104](#104)
  • Loading branch information
gramlar authored Jan 13, 2025
1 parent e4e3394 commit 5f44015
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions studio/schemas/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ export default defineType({
type: "string",
validation: (Rule) => Rule.required(),
}),
defineField({
name: "image",
title: "Bilde til arrangementet (valgfritt)",
type: "image",
options: {
hotspot: true,
metadata: ["palette"],
},
}),
defineField({
name: "summary",
title: "Ingress til arrangementet",
Expand All @@ -77,6 +68,17 @@ export default defineType({
"Kort tekst som kommer rett etter tittel på arrangementet. 2-3 settninger holder.",
placeholder: "Eks. \"Capra, Fryde og Liflig inviterer til en god start på dagen. Kom på frokostseminar 12. juni kl.08:00\"",
}),
defineField({
name: "image",
title: "Bilde til arrangementet (valgfritt)",
type: "image",
description:
'Du finner bibliotek med allerede lagt til bilder under "velg"',
options: {
hotspot: true,
metadata: ["palette"],
},
}),
defineField({
name: "body",
title: "Detaljert info om arrangementet",
Expand Down

1 comment on commit 5f44015

@vercel
Copy link

@vercel vercel bot commented on 5f44015 Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.