diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..65765e1 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,11 @@ + +# The MIT License (MIT) + +Copyright (c) 2017 Compositor, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/docs/App.js b/docs/App.js index 0989eab..a54484e 100644 --- a/docs/App.js +++ b/docs/App.js @@ -16,7 +16,6 @@ import Title from './Title' import Video from './Video' import Btn from './Btn' import BtnOutline from './BtnOutline' -import Tweet from './Tweet' const App = connect(props => @@ -46,7 +45,6 @@ const App = connect(props => href='https://github.com/c8r/x0'> GitHub -
@@ -65,26 +63,8 @@ const App = connect(props => /> -
npm install @compositor/x0
+
npm install @compositor/x0
-
- - Features - - {props.features.map(feat => ( - - - {feat} - - - ))} - - -
Get Started @@ -103,42 +83,10 @@ const App = connect(props => ) -App.defaultProps = { - count: 32, - features: [ - 'Isolated development environment', - 'Static site generator', - 'Hot reloading', - 'Works with virtually any React component', - 'No confusing APIs', - 'No boilerplate generators', - 'Supports routing with react-router', - 'Works with CSS-in-JS libraries like styled-components', - 'Support for async data fetching', - ] -} - App.getInitialProps = async (props) => { return { hello: 'hi', } } -const scripts = ` -window.twttr = (function(d, s, id) { -var js, fjs = d.getElementsByTagName(s)[0], -t = window.twttr || {}; -if (d.getElementById(id)) return t; -js = d.createElement(s); -js.id = id; -js.src = "https://platform.twitter.com/widgets.js"; -fjs.parentNode.insertBefore(js, fjs); -t._e = []; -t.ready = function(f) { -t._e.push(f); -}; -return t; -}(document, "script", "twitter-wjs")); -` - export default App diff --git a/docs/Style.js b/docs/Style.js index 33b4165..e7f777c 100644 --- a/docs/Style.js +++ b/docs/Style.js @@ -15,7 +15,7 @@ const base = ` line-height: 1.5; min-height: 100vh; color: #000; - background-color: #f6f6f6; + background-color: #fff; -webkit-font-smoothing: antialiased; } ` diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..7e8bb89 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,16 @@ + + + +Compositor x0

x0

Zero-config React development environment and static site generator
v3.0.0
npm install @compositor/x0
Get Started
Read the docs and get started on GitHub or sign up for updates.
Documentation
© 2017 Compositor, Inc.
+ + diff --git a/package.json b/package.json index f65ba43..77cd592 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,7 @@ }, "scripts": { "start": "./bin/cli.js dev docs/App.js -op 8888", - "build": "./bin/cli.js build docs/App.js --static -d docs --cssLibrary='fela'", - "client": "./bin/cli.js build docs/App.js -d docs", + "build": "./bin/cli.js build docs/App.js --static -d docs", "test": "nyc ava", "cover": "nyc report --reporter=html --reporter=lcov" },