oops
This commit is contained in:
parent
1c14b59238
commit
9cd6306cc9
1 changed files with 43 additions and 41 deletions
|
@ -32,47 +32,49 @@ class Header extends Component {
|
||||||
const mapper = section == "mapper"
|
const mapper = section == "mapper"
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="exploreMapsBar exploreElement">
|
<div id="exploreMapsHeader">
|
||||||
<div className="exploreMapsMenu">
|
<div className="exploreMapsBar exploreElement">
|
||||||
<div className="exploreMapsCenter">
|
<div className="exploreMapsMenu">
|
||||||
<MapLink show={signedIn && explore}
|
<div className="exploreMapsCenter">
|
||||||
href="/explore/mine"
|
<MapLink show={signedIn && explore}
|
||||||
linkClass={activeClass("my")}
|
href="/explore/mine"
|
||||||
data-router="true"
|
linkClass={activeClass("my")}
|
||||||
text="My Maps"
|
data-router="true"
|
||||||
/>
|
text="My Maps"
|
||||||
<MapLink show={signedIn && explore}
|
/>
|
||||||
href="/explore/shared"
|
<MapLink show={signedIn && explore}
|
||||||
linkClass={activeClass("shared")}
|
href="/explore/shared"
|
||||||
data-router="true"
|
linkClass={activeClass("shared")}
|
||||||
text="Shared With Me"
|
data-router="true"
|
||||||
/>
|
text="Shared With Me"
|
||||||
<MapLink show={signedIn && explore}
|
/>
|
||||||
href="/explore/starred"
|
<MapLink show={signedIn && explore}
|
||||||
linkClass={activeClass("starred")}
|
href="/explore/starred"
|
||||||
data-router="true"
|
linkClass={activeClass("starred")}
|
||||||
text="Starred"
|
data-router="true"
|
||||||
/>
|
text="Starred"
|
||||||
<MapLink show={explore}
|
/>
|
||||||
href={signedIn ? "/" : "/explore/active"}
|
<MapLink show={explore}
|
||||||
linkClass={activeClass("active")}
|
href={signedIn ? "/" : "/explore/active"}
|
||||||
data-router="true"
|
linkClass={activeClass("active")}
|
||||||
text="Recently Active"
|
data-router="true"
|
||||||
/>
|
text="Recently Active"
|
||||||
<MapLink show={!signedIn && explore}
|
/>
|
||||||
href="/explore/featured"
|
<MapLink show={!signedIn && explore}
|
||||||
linkClass={activeClass("featured")}
|
href="/explore/featured"
|
||||||
data-router="true"
|
linkClass={activeClass("featured")}
|
||||||
text="Featured Maps"
|
data-router="true"
|
||||||
/>
|
text="Featured Maps"
|
||||||
|
/>
|
||||||
|
|
||||||
{mapper ? (
|
{mapper ? (
|
||||||
<div className='exploreMapsButton active mapperButton'>
|
<div className='exploreMapsButton active mapperButton'>
|
||||||
<img className='exploreMapperImage' width='24' height='24' src={this.props.user.image} />
|
<img className='exploreMapperImage' width='24' height='24' src={this.props.user.image} />
|
||||||
<div className='exploreMapperName'>{this.props.user.name}’s Maps</div>
|
<div className='exploreMapperName'>{this.props.user.name}’s Maps</div>
|
||||||
<div className='clearfloat'></div>
|
<div className='clearfloat'></div>
|
||||||
</div>
|
</div>
|
||||||
) : null }
|
) : null }
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue