adding sanity components
This commit is contained in:
21
schemas/documents/navigation.ts
Normal file
21
schemas/documents/navigation.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export default {
|
||||
name: 'navigation',
|
||||
title: 'Navigation',
|
||||
type: 'document',
|
||||
fields: [
|
||||
{
|
||||
name: 'navigation',
|
||||
title: 'Navigation Menu',
|
||||
type: 'array',
|
||||
of: [
|
||||
{
|
||||
type: 'reference',
|
||||
to: [
|
||||
{type: 'pages'},
|
||||
{type: 'homepage'}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user