Commit 993b64bd by Harish Patel

added content types for storing project information

1 parent 1cd21b98
......@@ -4,7 +4,8 @@
"info": {
"singularName": "home-banner",
"pluralName": "home-banners",
"displayName": "Home Banner"
"displayName": "Home Banner",
"description": ""
},
"options": {
"draftAndPublish": false
......@@ -19,11 +20,17 @@
"type": "string"
},
"image": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false
]
},
"serialNumber": {
"type": "integer",
"default": 1,
"required": true
}
}
}
......@@ -41,13 +41,13 @@
]
},
"title1": {
"type": "text"
"type": "richtext"
},
"title2": {
"type": "text"
"type": "richtext"
},
"title3": {
"type": "text"
"type": "richtext"
}
}
}
......@@ -12,14 +12,6 @@
},
"pluginOptions": {},
"attributes": {
"images": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
]
},
"projectName": {
"type": "string",
"required": true
......@@ -55,12 +47,6 @@
"type": "integer",
"required": true
},
"heroText1": {
"type": "text"
},
"heroText2": {
"type": "text"
},
"description": {
"type": "richtext",
"required": true
......@@ -73,30 +59,6 @@
"videos"
]
},
"floorPlans": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"unitPlans": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
]
},
"masterLayoutPlans": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
]
},
"details": {
"type": "richtext",
"required": true
......@@ -105,6 +67,18 @@
"type": "boolean",
"default": false,
"required": true
},
"heroText1": {
"type": "richtext"
},
"heroText2": {
"type": "richtext"
},
"projectImages": {
"displayName": "Project Image",
"type": "component",
"repeatable": true,
"component": "layout.project-image"
}
}
}
{
"collectionName": "components_layout_project_images",
"info": {
"displayName": "Project Image",
"icon": "images"
},
"options": {},
"attributes": {
"image": {
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false,
"required": true
},
"featuredOnHome": {
"type": "boolean",
"default": false,
"required": true
},
"caption": {
"type": "string",
"required": true
}
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!