Skip to content
Permalink
Browse files

added palette, and fixes for package-lock

  • Loading branch information...
mikekasprzak committed Nov 14, 2017
1 parent cbb1326 commit b15c0253c5068b86ec4d22a2c851ab6adf03a5aa
Showing with 18 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 .npmrc
  3. +12 −0 src/com/pages/dev/palette.js
  4. +4 −0 src/public-ludumdare.com/main-ld.js
@@ -19,3 +19,4 @@ node_modules/
*.gz
/src/shrub/docs
/sandbox/ld_event.*
package-lock.json
1 .npmrc
@@ -0,0 +1 @@
package-lock=false
@@ -0,0 +1,12 @@
import {h, Component} from 'preact/preact';
import ContentPalette from 'com/content-palette/palette';

export default class PageDevPalette extends Component {
render( /*props, state*/ ) {
return (
<div id="content">
<ContentPalette />
</div>
);
}
}
@@ -26,6 +26,7 @@ import PageEvents from 'com/pages/events/events';
import PageError from 'com/pages/error/error';
import PageSettings from 'com/pages/settings/settings';
import PageNotifications from 'com/pages/notifications/notifications';
import PageDevPalette from 'com/pages/dev/palette';

import DialogUnfinished from 'com/dialog-unfinished/unfinished';
import DialogLogin from 'com/dialog-login/login';
@@ -516,6 +517,9 @@ class Main extends Component {
<Route static path="/settings" component={PageSettings} />
<Route static path="/notifications" component={PageNotifications} />
</Route>
<Route static path="/dev">
<Route static path="/palette" component={PageDevPalette} />
</Route>
</Route>

<Route type="page" component={PagePage} />

0 comments on commit b15c025

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.