Skip to content
This repository has been archived by the owner on Feb 17, 2019. It is now read-only.

Added navigation divider #93

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from
12 changes: 6 additions & 6 deletions src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Header extends React.Component {
return (
<div id="header" style={{ height: '72px' }}>
<nav className="uk-navbar-container uk-margin uk-dark uk-navbar-transparent" uk-navbar="mode: click">
<div className="uk-navbar-center">
<div className="uk-navbar-right uk-margin-xlarge-right">
<ul className="uk-navbar-nav">
<li className={[this.props.location.pathname === '/' ? 'uk-active' : ''].join(' ')}>
<Link className={'heading-text'} to={'/'}>
Expand All @@ -78,11 +78,11 @@ class Header extends React.Component {
<span>Timeline</span>
</Link>
</li>
<li className={[this.props.location.pathname === '/about' ? 'uk-active' : ''].join(' ')}>
<Link className={'heading-text'} to={'/about'}>
<span>About</span>
</Link>
</li>
// <li className={[this.props.location.pathname === '/about' ? 'uk-active' : ''].join(' ')}>
// <Link className={'heading-text'} to={'/about'}>
// <span>About</span>
// </Link>
// </li>
<li className={[this.props.location.pathname === '/dashboard' ? 'uk-active' : ''].join(' ')}>
{!this.props.signedIN ? (
<SignIn />
Expand Down
1 change: 0 additions & 1 deletion src/components/header/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
padding-bottom: 4px;
}


.institute-logo {
width: 30%;
margin-top: 0.5em;
Expand Down
20 changes: 20 additions & 0 deletions src/components/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.divider{
position: absolute;
transform: rotate(90deg);
color: white;
}

.contact {
top: 33%;
right: 1rem;
}

.about {
top: 77%;
right: 1.7rem;
}

.team {
right: 2rem;
top: 54%;
}
2 changes: 2 additions & 0 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import ReactFullpage from '@fullpage/react-fullpage';
import Countdown from './Countdown';
import EventList from './eventList';

import './index.css'

class Home extends React.Component {
componentDidMount() {
document.body.scrollTop = 0;
Expand Down