Type Submission: menu by Reece
Closed this issue · 0 comments
prismic-type-writer commented
Submission of new type by Reece
/cc ReeceM
The compiled type file for indexing:
{
"license": "MIT",
"created_at": "2021-04-03T21:48:34.823Z",
"custom_type": {
"Navbar": {
"name": {
"config": {
"label": "Website Name",
"placeholder": ""
},
"type": "Text"
},
"icon": {
"type": "Image",
"config": {
"constraint": {},
"thumbnails": [
{
"name": "mobile",
"width": 64,
"height": 64
}
],
"label": "Icon"
}
},
"ctaLabel": {
"config": {
"label": "CTA Label",
"placeholder": ""
},
"type": "Text"
},
"ctaLink": {
"type": "Link",
"config": {
"label": "Link",
"placeholder": "",
"allowTargetBlank": true
}
},
"menu_links": {
"type": "Group",
"config": {
"fields": {
"label": {
"config": {
"label": "Link Label",
"placeholder": ""
},
"type": "Text"
},
"link": {
"config": {
"label": "Link",
"placeholder": "",
"allowTargetBlank": true
},
"type": "Link"
}
},
"label": "Menu Links"
}
}
},
"Footer": {
"logo": {
"config": {
"label": "Logo",
"constraint": {
"width": 64,
"height": 64
},
"thumbnails": []
},
"type": "Image"
},
"copyright": {
"type": "StructuredText",
"config": {
"single": "paragraph, strong, em, hyperlink, rtl",
"allowTargetBlank": true,
"label": "Copyright",
"placeholder": "This is copyrighted xyza"
}
},
"social_links": {
"type": "Group",
"config": {
"fields": {
"social_icon": {
"type": "Image",
"config": {
"constraint": {},
"thumbnails": [],
"label": "Social Icon"
}
},
"social_label": {
"type": "Text",
"config": {
"label": "Social Label"
}
},
"social_link": {
"type": "Link",
"config": {
"label": "Social Link"
}
}
},
"label": "Social Links"
}
},
"body": {
"type": "Slices",
"fieldset": "Slice zone",
"config": {
"labels": {
"footer_section": [
{
"display": "Footer LInk",
"name": "footer_link"
}
]
},
"choices": {
"footer_section": {
"type": "Slice",
"fieldset": "Footer Section",
"description": "Footer Section",
"icon": "format_align_justify",
"display": "grid",
"non-repeat": {
"section_name": {
"type": "Text",
"config": {
"label": "Section Name"
}
}
},
"repeat": {
"label": {
"type": "Text",
"config": {
"label": "Label"
}
},
"link": {
"type": "Link",
"config": {
"label": "Link"
}
}
}
}
}
}
}
}
}
}
2021-04-03T21:48:55.622Z