Initial commit

This commit is contained in:
Waylon Walker 2019-05-09 10:15:41 -05:00
commit 5a3bf52ebb
86 changed files with 2639 additions and 0 deletions

View file

@ -0,0 +1,41 @@
import MdPerson from 'react-icons/lib/md/person'
export default {
name: 'person',
type: 'document',
title: 'Person',
icon: MdPerson,
fields: [
{
name: 'name',
type: 'string',
title: 'Name'
},
{
name: 'slug',
type: 'slug',
title: 'Slug',
description: 'Some frontend will require a slug to be set to be able to show the person',
options: {
source: 'name',
maxLength: 96
}
},
{
name: 'image',
title: 'Image',
type: 'figure'
},
{
name: 'bio',
title: 'Bio',
type: 'bioPortableText'
}
],
preview: {
select: {
title: 'name',
media: 'image'
}
}
}