MCPcopy
hub / github.com/rafgraph/spa-github-pages / Home

Function Home

src/components/Home.tsx:17–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15);
16
17export const Home: React.VFC = () => (
18 <div>
19 <P>
20 This is an example single page app built with React and React&nbsp;Router
21 using <Code>BrowserRouter</Code>. Navigate with the links below and
22 refresh the page or copy/paste the url to test out the redirect
23 functionality deployed to overcome GitHub&nbsp;Pages incompatibility with
24 single page apps (like this one).
25 </P>
26 <P>
27 Please see the <RepoReadmeLink /> for instructions on how to use this
28 boilerplate to deploy your own single page app using GitHub Pages.
29 </P>
30 <P>
31 <span style={pageLinkContainerStyle}>
32 <InteractiveLink to="/example">Example page</InteractiveLink>
33 </span>
34 <span style={pageLinkContainerStyle}>
35 <InteractiveLink to="/example/two-deep?field1=foo&field2=bar#boom!">
36 Example two deep with query and hash
37 </InteractiveLink>
38 </span>
39 </P>
40 <P>
41 <InteractiveLink to="/sitemap-link-generator">
42 Sitemap Link Generator
43 </InteractiveLink>
44 </P>
45 </div>
46);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected