-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DEV-1432]: Add heroSlider to the homepage schema, CallToAction compo…
…nent and HeroSlide component to Strapi (#671) * feat(DEV-1432): add hero schema on strapi * chore: update changeset Co-authored-by: marcobottaro <[email protected]> * chore: update changeset message * feat(DEV-1432): update strapi schema * revert package-lock.json --------- Co-authored-by: marcobottaro <[email protected]> Co-authored-by: Michele Da Rin Fioretto <[email protected]>
- Loading branch information
1 parent
9217615
commit e435919
Showing
4 changed files
with
74 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"strapi-cms": minor | ||
--- | ||
|
||
Add heroSlider to the homepage schema, CallToAction component and HeroSlide component to Strapi |
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,24 @@ | ||
{ | ||
"collectionName": "components_common_call_to_actions", | ||
"info": { | ||
"displayName": "CallToAction", | ||
"description": "" | ||
}, | ||
"options": {}, | ||
"attributes": { | ||
"variant": { | ||
"type": "enumeration", | ||
"enum": [ | ||
"text", | ||
"contained", | ||
"outlined" | ||
] | ||
}, | ||
"link": { | ||
"type": "component", | ||
"repeatable": false, | ||
"component": "common.links", | ||
"required": true | ||
} | ||
} | ||
} |
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,35 @@ | ||
{ | ||
"collectionName": "components_common_hero_slides", | ||
"info": { | ||
"displayName": "HeroSlide", | ||
"description": "" | ||
}, | ||
"options": {}, | ||
"attributes": { | ||
"title": { | ||
"type": "string" | ||
}, | ||
"titleColor": { | ||
"type": "enumeration", | ||
"enum": [ | ||
"contrastText", | ||
"main", | ||
"light", | ||
"dark" | ||
] | ||
}, | ||
"backgroundImage": { | ||
"type": "media", | ||
"multiple": false, | ||
"required": false, | ||
"allowedTypes": [ | ||
"images" | ||
] | ||
}, | ||
"callToAction": { | ||
"type": "component", | ||
"repeatable": false, | ||
"component": "common.call-to-action" | ||
} | ||
} | ||
} |