Skip to content

Commit

Permalink
Streamline homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed Dec 4, 2023
1 parent bfa9a63 commit 44cdeb0
Showing 1 changed file with 7 additions and 32 deletions.
39 changes: 7 additions & 32 deletions cms/schemas/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,6 @@ export default defineType({
}),
],
}),
defineField({
name: 'media',
type: 'object',
validation: (Rule) => Rule.required(),
fields: [
defineField({
name: 'placeholder',
type: 'picture',
}),
defineField({
name: 'phosphor',
type: 'picture',
}),
defineField({
name: 'static',
type: 'picture',
}),
],
}),
defineField({
name: 'routing',
type: 'object',
Expand Down Expand Up @@ -95,17 +76,7 @@ export default defineType({
fields: [
defineField({
name: 'title',
type: 'object',
fields: [
defineField({
name: 'top',
type: 'string',
}),
defineField({
name: 'bottom',
type: 'string',
}),
],
type: 'string',
}),
defineField({
name: 'copy',
Expand Down Expand Up @@ -158,6 +129,10 @@ export default defineType({
name: 'statistic',
type: 'statistic',
}),
defineField({
name: 'source',
type: 'string',
}),
defineField({
name: 'modifiers',
type: 'object',
Expand Down Expand Up @@ -213,7 +188,7 @@ export default defineType({
}),
defineField({
name: 'cta',
type: 'cta',
type: 'string',
}),
],
}),
Expand All @@ -232,7 +207,7 @@ export default defineType({
}),
defineField({
name: 'cta',
type: 'cta',
type: 'string',
}),
],
}),
Expand Down

0 comments on commit 44cdeb0

Please sign in to comment.