diff --git a/src/components/Team-Container/index.js b/src/components/Team-Container/index.js new file mode 100644 index 0000000..e95e369 --- /dev/null +++ b/src/components/Team-Container/index.js @@ -0,0 +1,27 @@ +import React from 'react'; +import {connect} from 'react-redux'; + +import Team from '../team'; +import './styles.css'; + +class About extends React.Component { + componentDidMount() { + document.body.scrollTop = 0; + } + render() { + return
+
+
Team
+ {this.props.team.map((team, idx) => )} +
+
+ } +} + +const mapStateToProps = state => { + return { + team: state.team.team + } +}; + +export default connect(mapStateToProps)(About); diff --git a/src/components/Team-Container/styles.css b/src/components/Team-Container/styles.css new file mode 100644 index 0000000..569d25b --- /dev/null +++ b/src/components/Team-Container/styles.css @@ -0,0 +1,6 @@ +.team-title { + padding-left: 8px; + font-size: 4rem; + font-style: italic; + font-weight: bolder; +} \ No newline at end of file diff --git a/src/components/header/index.js b/src/components/header/index.js index 9837992..d3aa2b5 100644 --- a/src/components/header/index.js +++ b/src/components/header/index.js @@ -62,6 +62,8 @@ class Header extends React.Component { Timeline
  • About
  • +
  • + Team
  • {!this.props.signedIN ? : Dashboard}
  • diff --git a/src/components/team/index.js b/src/components/team/index.js index 1805f87..16897ea 100644 --- a/src/components/team/index.js +++ b/src/components/team/index.js @@ -7,15 +7,15 @@ class Team extends React.Component { return
    {this.props.team.members.map((member, idx) =>
    - + {member.name}
    {member.name}
    - [ {this.props.team.name} ] + {this.props.team.name}
    -
    +
    {member.links.github && } {member.links.linkedin && diff --git a/src/components/team/team.css b/src/components/team/team.css index 569561a..d30a80d 100644 --- a/src/components/team/team.css +++ b/src/components/team/team.css @@ -9,3 +9,7 @@ .team-section{ padding: 5px; } + +.team-name { + font-size: small; +} \ No newline at end of file diff --git a/src/index.js b/src/index.js index 55e4545..5d8d3e3 100644 --- a/src/index.js +++ b/src/index.js @@ -18,6 +18,8 @@ import About from './components/about'; import Dashboard from './components/dashboard'; import Event from './components/event'; import Timeline from './components/timeline'; +import Team from './components/Team-Container'; +import TeamContainer from './components/Team-Container'; // UIKit UIKit.use(Icons); @@ -52,6 +54,7 @@ ReactDOM.render( +