/
Home.jsx
27 lines (25 loc) · 928 Bytes
/
Home.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import React from 'react';
import { Link } from 'react-router';
function Home() {
return (
<div>
<p>
This is an example single page app built with React and React Router using
browserHistory. Navigate with the links below and refresh the page or
copy/paste the url to test out the redirect functionality deployed to
overcome GitHub Pages incompatibility with single page apps
(like this one).
</p>
<p>
Please see <a href="https://github.com/rafrex/spa-github-pages#readme">
the repo readme</a> for instructions on how to use this boilerplate to deploy your
own single page app using GitHub Pages.
</p>
<div><Link to="/example">Example page</Link></div>
<div><Link to="/example/two-deep?field1=foo&field2=bar#boom!">
Example two deep with query and hash
</Link></div>
</div>
);
}
export default Home;