-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/strapi video component (#49)
* fix (strapi): add video section with title to partner and product page * feat (video section): connect strapi component with frontend * feat (strapi): video with text section component * feat (video with text section): strapi & frontend
- Loading branch information
1 parent
de97e74
commit 363859a
Showing
7 changed files
with
141 additions
and
2 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
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
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,26 @@ | ||
{ | ||
"collectionName": "components_sections_video_sections", | ||
"info": { | ||
"displayName": "Video Section", | ||
"icon": "play", | ||
"description": "" | ||
}, | ||
"options": {}, | ||
"attributes": { | ||
"section_title": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"embed_html": { | ||
"type": "text", | ||
"required": true, | ||
"default": "use this tool to embed video https://embedresponsively.com/" | ||
}, | ||
"props": { | ||
"type": "component", | ||
"repeatable": false, | ||
"component": "sections.section-props", | ||
"required": true | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
strapi/src/components/sections/video-with-text-section.json
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,28 @@ | ||
{ | ||
"collectionName": "components_sections_video_with_text_sections", | ||
"info": { | ||
"displayName": "Video With Text Section", | ||
"icon": "play" | ||
}, | ||
"options": {}, | ||
"attributes": { | ||
"props": { | ||
"type": "component", | ||
"repeatable": false, | ||
"component": "sections.section-props", | ||
"required": true | ||
}, | ||
"section_title": { | ||
"type": "string", | ||
"required": true | ||
}, | ||
"embed_html": { | ||
"type": "text", | ||
"required": true | ||
}, | ||
"body": { | ||
"type": "richtext", | ||
"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
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