diff --git a/client/src/App.js b/client/src/App.js index f36f5505a..80e74bf66 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -5,6 +5,9 @@ import {ApolloProvider} from 'react-apollo'; import Navbar from './components/Navbar' import { Route, BrowserRouter, Switch } from 'react-router-dom' import Home from './components/Home' +import Profile from './components/Profile' +import Browse from './components/Browse' +import Search from './components/Search' import About from './components/About' import Contact from './components/Contact' import Post from './components/Post' @@ -30,6 +33,9 @@ class App extends Component { + + + diff --git a/client/src/components/Browse.js b/client/src/components/Browse.js new file mode 100644 index 000000000..6e85d76e4 --- /dev/null +++ b/client/src/components/Browse.js @@ -0,0 +1,14 @@ +import React from 'react' + +const Browse = () => { + return ( +
+
+

Browse

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae repudiandae repellat illo magni eligendi cupiditate voluptates eius nam voluptate. Incidunt nihil ullam quae quia officia quaerat, deserunt eligendi explicabo totam?

+
+
+ ) +} + +export default Browse diff --git a/client/src/components/Navbar.js b/client/src/components/Navbar.js index 7c0dd514a..1e504a8d5 100644 --- a/client/src/components/Navbar.js +++ b/client/src/components/Navbar.js @@ -5,15 +5,18 @@ const Navbar = (props) => { return ( + ) } -export default withRouter(Navbar) \ No newline at end of file +export default withRouter(Navbar) diff --git a/client/src/components/Profile.js b/client/src/components/Profile.js new file mode 100644 index 000000000..88af0ea4f --- /dev/null +++ b/client/src/components/Profile.js @@ -0,0 +1,14 @@ +import React from 'react' + +const Profile = () => { + return ( +
+
+

Profile

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae repudiandae repellat illo magni eligendi cupiditate voluptates eius nam voluptate. Incidunt nihil ullam quae quia officia quaerat, deserunt eligendi explicabo totam?

+
+
+ ) +} + +export default Profile diff --git a/client/src/components/Search.js b/client/src/components/Search.js new file mode 100644 index 000000000..7468b3d1b --- /dev/null +++ b/client/src/components/Search.js @@ -0,0 +1,14 @@ +import React from 'react' + +const Search = () => { + return ( +
+
+

Search

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae repudiandae repellat illo magni eligendi cupiditate voluptates eius nam voluptate. Incidunt nihil ullam quae quia officia quaerat, deserunt eligendi explicabo totam?

+
+
+ ) +} + +export default Search diff --git a/client/src/components/UserProfile.js b/client/src/components/UserProfile.js index dfc959e1a..1588d46c5 100644 --- a/client/src/components/UserProfile.js +++ b/client/src/components/UserProfile.js @@ -6,7 +6,7 @@ class UserProfile extends Component { displayUserProfile(){ const {user} = this.props.data; - console.log(user); + if(user){ return(