Skip to content

Commit

Permalink
[DEV-1434]: fetch blocks content from Strapi (#745)
Browse files Browse the repository at this point in the history
* feat(DEV-1433): display hero from Strapi

* feat(DEV-1433): update test

* chore: add changeset

* feat(DEV-1433): update test

* feat(DEV-1433): update code

* feat(DEV-1433): update codecs names

* feat(DEV-1433): fix codec bugs

* feat(DEV-1433): add test

* feat(DEV-1433): fix tests

* chore: remove console.log

Co-authored-by: AF <[email protected]>

* feat(DEV-1434): add BlocksRendererClient

* feat(DEV-1434): update codecs

* feat(DEV-1434): fix typo

* chore: update changeset

* test: update test

* fix(DEV-1434): fix PR comments

* fix(DEV-1434): fix PR comments

* restored image

* feat(DEV-1434): update test

* feat(DEV-1434): fix codec's bugs

* fix(DEV-1434): fix PR comments

* feat(DEV-1434): remove FE changes

* feat(DEV-1434): install missing dependency

* feat(DEV-1434): update changeset

* feat(DEV-1434): remove FE changes

* feat(DEV-1434): remove FE changes

* feat(DEV-1434): remove FE changes

* feat(DEV-1434): update changeset

* feat(DEV-1434): add subheadColor

* Update apps/strapi-cms/src/components/common/hero-slide.json

* Update apps/strapi-cms/src/components/common/hero-slide.json

---------

Co-authored-by: AF <[email protected]>
Co-authored-by: marcobottaro <[email protected]>
Co-authored-by: Marco Ponchia <[email protected]>
  • Loading branch information
4 people authored Mar 27, 2024
1 parent d7f6eee commit c0c2a65
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-feet-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"strapi-cms": minor
---

Add subhead to hero slide
15 changes: 15 additions & 0 deletions apps/strapi-cms/src/components/common/hero-slide.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,23 @@
"title": {
"type": "string"
},
"subhead" : {
"type": "blocks",
"required": false
},
"subheadColor": {
"type": "enumeration",
"default": "contrastText",
"enum": [
"contrastText",
"main",
"light",
"dark"
]
},
"titleColor": {
"type": "enumeration",
"default": "contrastText",
"enum": [
"contrastText",
"main",
Expand Down

0 comments on commit c0c2a65

Please sign in to comment.