add sections
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"comment": {
|
||||
"badge": {
|
||||
"type": "string"
|
||||
},
|
||||
"group": {
|
||||
|
||||
@@ -14,7 +14,11 @@
|
||||
"sections": {
|
||||
"type": "dynamiczone",
|
||||
"components": [
|
||||
"sections.home-hero"
|
||||
"sections.home-hero",
|
||||
"sections.services",
|
||||
"sections.solutions",
|
||||
"sections.cases",
|
||||
"sections.about"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
10
src/api/vendor/content-types/vendor/schema.json
vendored
10
src/api/vendor/content-types/vendor/schema.json
vendored
@@ -21,16 +21,16 @@
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"products": {
|
||||
"type": "component",
|
||||
"component": "shared.product",
|
||||
"repeatable": true
|
||||
},
|
||||
"categories": {
|
||||
"type": "relation",
|
||||
"relation": "manyToMany",
|
||||
"target": "api::category.category",
|
||||
"mappedBy": "vendors"
|
||||
},
|
||||
"products": {
|
||||
"type": "component",
|
||||
"component": "shared.string",
|
||||
"repeatable": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
26
src/components/cards/advantage.json
Normal file
26
src/components/cards/advantage.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"collectionName": "components_cards_advantages",
|
||||
"info": {
|
||||
"displayName": "Advantage"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"icon": {
|
||||
"type": "component",
|
||||
"component": "shared.icon",
|
||||
"repeatable": false
|
||||
},
|
||||
"color": {
|
||||
"type": "component",
|
||||
"component": "shared.color",
|
||||
"repeatable": false
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
35
src/components/cards/case.json
Normal file
35
src/components/cards/case.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"collectionName": "components_cards_cases",
|
||||
"info": {
|
||||
"displayName": "Case"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"pretitle": {
|
||||
"type": "string"
|
||||
},
|
||||
"badge": {
|
||||
"type": "string"
|
||||
},
|
||||
"footnote": {
|
||||
"type": "string"
|
||||
},
|
||||
"color": {
|
||||
"type": "component",
|
||||
"component": "shared.color",
|
||||
"repeatable": false
|
||||
},
|
||||
"icon": {
|
||||
"type": "component",
|
||||
"component": "shared.icon",
|
||||
"repeatable": false
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
31
src/components/cards/service.json
Normal file
31
src/components/cards/service.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"collectionName": "components_cards_services",
|
||||
"info": {
|
||||
"displayName": "Service"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"icon": {
|
||||
"type": "component",
|
||||
"component": "shared.icon",
|
||||
"repeatable": false
|
||||
},
|
||||
"color": {
|
||||
"type": "component",
|
||||
"component": "shared.color",
|
||||
"repeatable": false
|
||||
},
|
||||
"category": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::category.category"
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
29
src/components/cards/solution.json
Normal file
29
src/components/cards/solution.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"collectionName": "components_cards_solutions",
|
||||
"info": {
|
||||
"displayName": "Solution"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"footnote": {
|
||||
"type": "string"
|
||||
},
|
||||
"icon": {
|
||||
"type": "component",
|
||||
"component": "shared.icon",
|
||||
"repeatable": false
|
||||
},
|
||||
"category": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::category.category"
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
26
src/components/sections/about.json
Normal file
26
src/components/sections/about.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"collectionName": "components_sections_abouts",
|
||||
"info": {
|
||||
"displayName": "About"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"partners": {
|
||||
"type": "component",
|
||||
"component": "shared.string",
|
||||
"repeatable": true
|
||||
},
|
||||
"cards": {
|
||||
"type": "component",
|
||||
"component": "cards.advantage",
|
||||
"repeatable": true
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
21
src/components/sections/cases.json
Normal file
21
src/components/sections/cases.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"collectionName": "components_sections_cases",
|
||||
"info": {
|
||||
"displayName": "Cases"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"cards": {
|
||||
"type": "component",
|
||||
"component": "cards.case",
|
||||
"repeatable": true
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
21
src/components/sections/services.json
Normal file
21
src/components/sections/services.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"collectionName": "components_sections_services",
|
||||
"info": {
|
||||
"displayName": "Services"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"cards": {
|
||||
"type": "component",
|
||||
"component": "cards.service",
|
||||
"repeatable": true
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
21
src/components/sections/solutions.json
Normal file
21
src/components/sections/solutions.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"collectionName": "components_sections_solutions",
|
||||
"info": {
|
||||
"displayName": "Solutions"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"cards": {
|
||||
"type": "component",
|
||||
"component": "cards.solution",
|
||||
"repeatable": true
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
22
src/components/shared/color.json
Normal file
22
src/components/shared/color.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"collectionName": "components_shared_colors",
|
||||
"info": {
|
||||
"displayName": "Color"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"value": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"blue",
|
||||
"violet",
|
||||
"emerald",
|
||||
"orange",
|
||||
"pink",
|
||||
"indigo",
|
||||
"cyan"
|
||||
]
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
27
src/components/shared/contact.json
Normal file
27
src/components/shared/contact.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"collectionName": "components_shared_contacts",
|
||||
"info": {
|
||||
"displayName": "Contact"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"type": {
|
||||
"type": "enumeration",
|
||||
"required": true,
|
||||
"enum": [
|
||||
"phone",
|
||||
"working-hours",
|
||||
"email",
|
||||
"address"
|
||||
]
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"displayValue": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
33
src/components/shared/icon.json
Normal file
33
src/components/shared/icon.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"collectionName": "components_shared_icons",
|
||||
"info": {
|
||||
"displayName": "Icon"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"value": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"cloud",
|
||||
"shield",
|
||||
"cpu",
|
||||
"database",
|
||||
"server",
|
||||
"settings",
|
||||
"building",
|
||||
"shopping-cart",
|
||||
"factory",
|
||||
"heart",
|
||||
"graduation-cap",
|
||||
"landmark",
|
||||
"rocket",
|
||||
"zap",
|
||||
"award",
|
||||
"users",
|
||||
"check-circle",
|
||||
"package"
|
||||
]
|
||||
}
|
||||
},
|
||||
"config": {}
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"collectionName": "components_shared_products",
|
||||
"collectionName": "components_shared_strings",
|
||||
"info": {
|
||||
"displayName": "Product"
|
||||
"displayName": "String"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"title": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
Reference in New Issue
Block a user