-
Browse
+
+
);
}
diff --git a/frontend/components/browse/browse_container.js b/frontend/components/browse/browse_container.js
new file mode 100644
index 0000000..a5f2e32
--- /dev/null
+++ b/frontend/components/browse/browse_container.js
@@ -0,0 +1,19 @@
+import { connect } from 'react-redux';
+import React from 'react';
+import { Link } from 'react-router-dom';
+import { login } from '../../actions/session_actions';
+import SessionForm from './session_form';
+
+const mapStateToProps = (state) => {
+ return {
+
+ };
+};
+
+const mapDispatchToProps = dispatch => {
+ return {
+
+ };
+};
+
+export default connect(mapStateToProps, mapDispatchToProps)(SessionForm);
diff --git a/frontend/components/splash/splash.jsx b/frontend/components/splash/splash.jsx
index 1d17291..8ce846e 100644
--- a/frontend/components/splash/splash.jsx
+++ b/frontend/components/splash/splash.jsx
@@ -1,5 +1,8 @@
import React from 'react';
import { Link } from 'react-router-dom';
+import Browse from '../browse/browse';
+import { withRouter, Route, Redirect } from 'react-router-dom';
+
const sessionLinks = () => (
@@ -31,10 +34,7 @@ const sessionLinks = () => (
const personalGreeting = (currentUser, logout) => {
return (
-
- Hi, {currentUser.username}!
-
-
+
)
};