Skip to content

Instantly share code, notes, and snippets.

@jahangiranwari
Created February 22, 2021 05:22
Show Gist options
  • Save jahangiranwari/cdf70413a6ebd6813c648c0cfcc40a0d to your computer and use it in GitHub Desktop.
Save jahangiranwari/cdf70413a6ebd6813c648c0cfcc40a0d to your computer and use it in GitHub Desktop.
topThreeStories object type
export default {
name: 'topThreeStories',
title: 'topThreeStories',
type: 'object',
fieldsets: [
{
name: 'story1',
title: 'Story 1',
options: { collapsible: true, collapsed: false }
},
{
name: 'story2',
title: 'Story 2',
options: { collapsible: true, collapsed: true }
},
{
name: 'story3',
title: 'Story 3',
options: { collapsible: true, collapsed: true }
}
],
fields: [
{
name: 'Story1',
title: '-',
type: 'articleCard',
fieldset: 'story1'
},
{
name: 'Story2',
title: '-',
type: 'articleCard',
fieldset: 'story2'
},
{
name: 'Story3',
title: '-',
type: 'articleCard',
fieldset: 'story3'
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment