-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add createProjectPage popup (#61)
- Loading branch information
Showing
5 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export default { | ||
name: 'createProjectPage', | ||
type: 'document', | ||
title: 'Create Project Page', | ||
fields: [ | ||
{ | ||
name: 'createProjectPagePopup', | ||
type: 'createProjectPagePopup', | ||
title: 'Create Project Page Popup', | ||
description: 'Steps for getting started with a basic project page', | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
export default { | ||
title: 'Create Project Page Popup', | ||
name: 'createProjectPagePopup', | ||
type: 'object', | ||
fields: [ | ||
{ | ||
title: 'Title', | ||
name: 'title', | ||
type: 'string', | ||
validation: Rule => Rule.required(), | ||
}, | ||
{ | ||
title: 'Description', | ||
name: 'description', | ||
type: 'customPortableText', | ||
validation: Rule => Rule.required(), | ||
}, | ||
{ | ||
title: 'Text with link to our guides', | ||
name: 'guidesLink', | ||
type: 'customPortableText', | ||
validation: Rule => Rule.required(), | ||
}, | ||
{ | ||
title: 'Steps', | ||
name: 'steps', | ||
type: 'array', | ||
of: [ | ||
{ | ||
type: 'titleImageCustomBody', | ||
}, | ||
], | ||
validation: Rule => Rule.required(), | ||
}, | ||
{ | ||
title: 'Button label', | ||
name: 'buttonLabel', | ||
type: 'string', | ||
validation: Rule => Rule.required(), | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters