Created
March 1, 2022 21:09
-
-
Save eimkasp/e24086d574aff4ed3d2116ba26560a73 to your computer and use it in GitHub Desktop.
Example JSON Component Structure
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
Sections Array[] | |
0 [{ // What are our section keys | |
'component': 'HeroSection', // Define the component that is used for this section | |
'order' : 1, | |
'background' : { | |
'type' : 'image', // video / color | |
'color' : '#ffffff', | |
'url' : '#' | |
}, | |
'visibility' : 'all', // all / loggedin / loggedout / subscribers / non-subscribers | |
'responsive_visibility' : 'all', // all / sm / md / lg / xl | |
'extra_classes' : 'something d-none', | |
'spacing' : { | |
'top' : 'sm', | |
'bottom' : 'lg', | |
}, | |
'slots': { | |
'section_cta': { | |
component: 'x-tailwind.categories-list', | |
'extra_classes' : 'something d-none', | |
options: { | |
style: 'grid', // list or style-1 , style-2, style-3 | |
type : featured, | |
show_parent: 5, | |
show_image: true, | |
'extra_classes' : 'something d-none', | |
} | |
} | |
} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment