diff --git a/website/src/pages/index.js b/website/src/pages/index.js index dce9c98f..96bb74b2 100644 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -23,6 +23,53 @@ import ComponentKitLogo from './logos/componentkit.png'; import Link from 'gatsby-link'; import Footer from '../components/Footer'; +const playgroundInitialState = { + "width":500, + "height":500, + "alignItems":1, + "padding":{ + "top":"20", + "right":"20", + "bottom":"20", + "left":"20" + }, + "children":[ + { + "width":100, + "height":100, + "minWidth":null, + "maxWidth":null, + "minHeight":null, + "maxHeight":null + }, + { + "width":100, + "height":100, + "margin":{ + "right":"20", + "left":"20" + }, + "flexGrow":"1", + "minWidth":null, + "maxWidth":null, + "minHeight":null, + "maxHeight":null + }, + { + "width":100, + "height":100, + "minWidth":null, + "maxWidth":null, + "minHeight":null, + "maxHeight":null + } + ], + "minWidth":null, + "maxWidth":null, + "minHeight":null, + "maxHeight":null +}; + const HeroSection = () => ( @@ -58,7 +105,7 @@ const HeroSection = () => ( const PlaygroundSection = () => ( - + );