Skip to content

Commit

Permalink
add hero section to home page schema
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-luna-ray committed Feb 13, 2024
1 parent bf724e7 commit 2e60e6b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions schemas/pages/homePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,33 @@ export default defineType({
type: 'text',
validation: (Rule) => Rule.required(),
}),
defineField({
name: 'heroSection',
title: 'Hero Section',
type: 'object',
fields: [
defineField({
name: 'title',
title: 'Section Title',
type: 'string',
}),
defineField({
name: 'subtitle',
title: 'Section Subtitle',
type: 'string',
}),
defineField({
name: 'intro',
title: 'Section Intro',
type: 'text',
}),
defineField({
name: 'body',
title: 'Section Body',
type: 'blockContent',
}),
],
}),
defineField({
name: 'aboutSection',
title: 'About Section',
Expand Down

0 comments on commit 2e60e6b

Please sign in to comment.