Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add external references page #205

Open
wants to merge 2 commits into
base: Changes
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions src/containers/ExternalReferences/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions src/containers/ExternalReferences/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.references
{
a {
color: #00abbc;

&:hover {
color: #c0c0c0;
position: relative;
display: inline;
}
}
}
1 change: 1 addition & 0 deletions src/containers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ export { LoadingMoment } from "./LoadingMoment";
export { ChannelViewer } from "./ChannelViewer";
export { Channels } from "./Channels";
export { ChannelsLoader } from "./ChannelsLoader";
export { ExternalReferences } from "./ExternalReferences";
22 changes: 13 additions & 9 deletions src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,13 @@ import {
ChannelViewer,
Channels,
ChannelsLoader,
ExternalReferences,
} from "./containers";

export default class Routes extends Component {
render() {
return (
<Switch>
<Route exact path="/apollo1" component={Apollo1Explorer} />
<Route exact path="/apollo4" component={Apollo4Explorer} />
<Route exact path="/apollo5" component={Apollo5Explorer} />
<Route exact path="/apollo6" component={Apollo6Explorer} />
<Route exact path="/apollo13" component={Apollo13Explorer} />
<Route exact path="/apollo11" component={Apollo11Explorer} />
<Route name="app" exact path="/" component={App}></Route>
<Route path="/settings" component={Settings} />
<Route path="/moments/moment/:momentId" component={MomentViewer} />
Expand All @@ -55,19 +50,28 @@ export default class Routes extends Component {

<Route path="/search" component={Search} />
<Route path="/stories" component={Stories} />
<Route path="/apollo1" component={Apollo1Explorer} />
<Route path="/apollo4" component={Apollo4Explorer} />
<Route path="/apollo5" component={Apollo5Explorer} />
<Route path="/apollo6" component={Apollo6Explorer} />

<Route exact path="/apollo11" component={Apollo11Explorer} />
<Route path="/apollo11/day/:missionDay" component={Apollo11Explorer} />

<Route path="/apollo13" component={Apollo13Explorer} />
<Route path="/moments/random" component={RandomMoment} />

<Route exact path="/channels/:mission" component={Channels} />
<Route exact path="/:mission/channels" component={Channels} />

<Route path="/channels/load/:mission" component={ChannelsLoader} />
<Route path="/apollo11/channels/load" component={ChannelsLoader} />

<Route path="/channels/play/:mission" component={ChannelViewer} />
<Route path="/apollo11/channels/play" component={ChannelViewer} />

<Route path="/dj" component={DJ} />
<Route path="/game" component={Game} />
<Route path="/lessons" component={LessonPlans} />
<Route path="/inthenews" component={InTheNews} />
<Route path="/externalreferences" component={ExternalReferences} />
<Route path="*" component={NoMatch} />
</Switch>
);
Expand Down