+
+ {this.topics[this.state.prevLoc]}
+
+
+ {this.topics[this.state.currLoc]}
+
+
+ {this.topics[this.state.nextLoc]}
+
+
+ );
+ }
+
+ componentDidMount() {
+ setTimeout(()=>{
+ this.setState({
+ start: true,
+ });
+ }, 100);
+
+ document.title = "Introduction";
+
+ this.props.hideNavigation();
+
+ }
+}
+
+const mapStateToProps = (state) => {
+ return {};
+}
+
+
+export default connect(mapStateToProps, {hideNavigation, showNavigation})(Intro);
diff --git a/src/components/Navigation.js b/src/components/Navigation.js
index 6b571c7..7b49567 100644
--- a/src/components/Navigation.js
+++ b/src/components/Navigation.js
@@ -3,36 +3,43 @@ import { Link } from 'react-router-dom';
import { connect } from 'react-redux';
import {toggleContactModal} from '../actions'
import './css/Navigation.css';
-import { HouseDoor, FileEarmarkPerson, Github, Envelope } from 'react-bootstrap-icons';
+import { HouseDoor, FileEarmarkPerson, Github, Envelope, Flag} from 'react-bootstrap-icons';
import ContactModal from './subcomponents/ContactModal';
const Navigation = (props) => {
+ if (props.enable){
+ return (
+