Skip to content

Commit

Permalink
KYAN-250 add Banner-with-Buttons layout (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorzunYuri authored Oct 3, 2024
1 parent ef1be08 commit a994052
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"sling:resourceType": "ws:Component",
"isContainer": true,
"isLayout": true,
"group": "Kyanite Sections",
"instanceResourceType": "kyanite/common/components/section",
"title": "Banner with Buttons"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"jcr:primaryType": "nt:unstructured",
"renderAsHero": "false",
"sling:resourceType": "kyanite/common/components/section",
"container": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "kyanite/common/components/container",
"card": {
"jcr:primaryType": "nt:unstructured",
"type": "card",
"sling:resourceType": "kyanite/common/components/card",
"cardcontent": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "kyanite/common/components/card/cardcontent",
"title": {
"jcr:primaryType": "nt:unstructured",
"element": "h2",
"isSpaced": false,
"size": "is-2",
"text": "<p style=\"text-align: center\">Banner Section</p>",
"delay": 1200,
"speed": 50,
"showCursor": false,
"addAnimatedEndings": false,
"sling:resourceType": "kyanite/common/components/title"
},
"buttons": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "kyanite/common/components/buttons",
"alignment": "is-centered",
"button1": {
"jcr:primaryType": "nt:unstructured",
"showIconRight": false,
"showIconLeft": false,
"isOutlined": "false",
"isDisabled": "false",
"isFullWidth": "false",
"isMailto": "false",
"isInverted": "false",
"size": "is-normal",
"type": "button",
"label": "Button 1",
"variant": "is-primary",
"isRounded": "false",
"sling:resourceType": "kyanite/common/components/button",
"openModal": "open-modal",
"actionType": "",
"isLight": "false",
"leftIcon": {
"jcr:primaryType": "nt:unstructured",
"iconSize": "fa-lg",
"iconLibType": "mdi",
"icon": "mdi-home-outline",
"selectOrType": "select"
},
"rightIcon": {
"jcr:primaryType": "nt:unstructured",
"iconSize": "fa-lg",
"iconLibType": "mdi",
"icon": "mdi-home-outline",
"selectOrType": "select"
}
},
"button2": {
"jcr:primaryType": "nt:unstructured",
"showIconRight": false,
"showIconLeft": false,
"isOutlined": "false",
"isDisabled": "false",
"isFullWidth": "false",
"isMailto": "false",
"isInverted": "false",
"size": "is-normal",
"type": "button",
"label": "Button 2",
"variant": "is-primary",
"isRounded": "false",
"sling:resourceType": "kyanite/common/components/button",
"openModal": "open-modal",
"actionType": "",
"isLight": "false",
"leftIcon": {
"jcr:primaryType": "nt:unstructured",
"iconSize": "fa-lg",
"iconLibType": "mdi",
"icon": "mdi-home-outline",
"selectOrType": "select"
},
"rightIcon": {
"jcr:primaryType": "nt:unstructured",
"iconSize": "fa-lg",
"iconLibType": "mdi",
"icon": "mdi-home-outline",
"selectOrType": "select"
}
}
}
}
}
}
}

0 comments on commit a994052

Please sign in to comment.