diff --git a/mpwo_client/public/index.html b/mpwo_client/public/index.html index ed0ebafa..678b433b 100644 --- a/mpwo_client/public/index.html +++ b/mpwo_client/public/index.html @@ -4,37 +4,18 @@ - - - React App + + mpwo
- diff --git a/mpwo_client/src/components/App.jsx b/mpwo_client/src/components/App.jsx index 948a3986..d1ad0291 100644 --- a/mpwo_client/src/components/App.jsx +++ b/mpwo_client/src/components/App.jsx @@ -1,9 +1,9 @@ import React from 'react' -import logo from '../logo.svg' import './App.css' +import NavBar from './NavBar' -class App extends React.Component { +export default class App extends React.Component { constructor(props) { super(props) this.props = props @@ -12,16 +12,11 @@ class App extends React.Component { render() { return (
-
- logo -

Welcome to React

-
-

- To get started, edit src/App.js and save to reload. + +

+ App in progress

) } } - -export default App diff --git a/mpwo_client/src/components/NavBar.jsx b/mpwo_client/src/components/NavBar.jsx new file mode 100644 index 00000000..42479f58 --- /dev/null +++ b/mpwo_client/src/components/NavBar.jsx @@ -0,0 +1,37 @@ +import React from 'react' + +export default class NavBar extends React.Component { + constructor(props) { + super(props) + this.props = props + } + + render() { + return ( +
+ +
+ ) + } +}