GraphQL API and utilities for the rpdata project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
571 B

import React, { Component } from 'react'
import { Route, Redirect, Switch } from "react-router-dom";
import StoryRoot from './routes/story/StoryRoot'
import LogsRoot from './routes/logs/LogsRoot'
export default class App extends Component {
render() {
return (
<div className="App">
<Switch>
<Redirect exact path="/" to="/story/" />
<Route path="/story/" component={StoryRoot}/>
<Route path="/logs/" component={LogsRoot}/>
</Switch>
</div>
);
}
}
/* See ./common/Menu.js to change the top navbar */