1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-14 11:02:49 +00:00

added client things - finished home page

This commit is contained in:
2018-01-07 00:22:53 -06:00
parent 74df75dd77
commit a9e5b185ee
98 changed files with 7303 additions and 7 deletions

34
client/app/Wrapper.tsx Normal file
View File

@@ -0,0 +1,34 @@
import React from 'react';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import { Footer, Header } from './components';
import { Home, Realms } from './pages';
// styling
import './scss/index.scss';
interface Props {}
interface State {}
export default class Wrapper extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
public render() {
return (
<BrowserRouter>
<div>
<Header />
<Switch>
<Route exact path="/" component={Home} />
<Route exact path="/realms" component={Realms} />
{/* <Route component={NotFound} /> */}
</Switch>
<Footer />
</div>
</BrowserRouter>
);
}
}