Skip to content

Commit

Permalink
fixup! refactor end of narrative styled component
Browse files Browse the repository at this point in the history
  • Loading branch information
kairstenfay committed Jan 29, 2020
1 parent 2084ba9 commit 2db00b7
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions src/components/narrative/MobileNarrativeDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
linkStyles,
MobileBannerTop,
MobileBannerBottom,
MobileContentContainer
MobileContentContainer,
EndOfNarrative
} from "./styles";
import Tree from "../tree";
import Map from "../map/map";
Expand Down Expand Up @@ -122,18 +123,20 @@ class MobileNarrativeDisplay extends React.Component {
Previous
</MobileBannerTop>
<MobileContentContainer height={contentHeight+bannerHeight}>
<h1>End of Narrative</h1>
<a style={{...linkStyles, textAlign: "center"}}
onClick={() => this._goToPage(0)}
>
Jump to the beginning
</a>
<br />
<a style={{...linkStyles, textAlign: "center"}}
onClick={this.exitNarrativeMode}
>
Explore the data
</a>
<EndOfNarrative>
<h1>End of Narrative</h1>
<a style={{...linkStyles}}
onClick={() => this._goToPage(0)}
>
Jump to the beginning
</a>
<br />
<a style={{...linkStyles}}
onClick={this.exitNarrativeMode}
>
Explore the data
</a>
</EndOfNarrative>
</MobileContentContainer>
</>
);
Expand Down

0 comments on commit 2db00b7

Please sign in to comment.