From 9e9e39b8b0c2d23b93c508c8d8e9a2f6522ec0e3 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Thu, 4 Jan 2018 09:18:20 -0800 Subject: [PATCH] feat(Flash): Add initial ui --- common/app/App.jsx | 6 ++---- common/app/Flash/Flash.jsx | 21 +++++++++++++++++++++ common/app/Flash/flash.less | 10 ++++++++++ common/app/Flash/index.js | 1 + common/app/Flash/ns.json | 1 + common/app/Flash/redux/index.js | 1 + common/app/index.less | 1 + 7 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 common/app/Flash/Flash.jsx create mode 100644 common/app/Flash/flash.less create mode 100644 common/app/Flash/index.js create mode 100644 common/app/Flash/ns.json create mode 100644 common/app/Flash/redux/index.js diff --git a/common/app/App.jsx b/common/app/App.jsx index fa54b2fd28..11dde49f91 100644 --- a/common/app/App.jsx +++ b/common/app/App.jsx @@ -10,6 +10,7 @@ import { isSignedInSelector } from './redux'; +import Flash from './Flash'; import Nav from './Nav'; import Toasts from './Toasts'; import NotFound from './NotFound'; @@ -60,12 +61,9 @@ export class FreeCodeCamp extends React.Component { route } = this.props; const Child = routes[route] || NotFound; - // we render nav after the content - // to allow the panes to update - // redux store, which will update the bin - // buttons in the nav return (
+