Commit e2db427d authored by David Haynes's avatar David Haynes 🙆

Add in the default page to the rendering

parent b1c61f3c
Pipeline #3553 passed with stage
in 1 minute and 8 seconds
import React from "react";
const DebugCRUD = () => (
<div>
<h1>Debug CRUD Page</h1>
</div>
);
export default DebugCRUD;
import HomePage from "./HomePage";
import AboutPage from "./AboutPage";
import DhaynesPage from "./DhaynesPage";
import DebugCRUD from "./DebugCRUD";
export { HomePage, AboutPage, DhaynesPage };
export { HomePage, AboutPage, DhaynesPage, DebugCRUD };
import { AuthButton } from "./Molecules";
import { NavBar } from "./Organisms";
import { HomePage, AboutPage, DhaynesPage } from "./Pages";
import { HomePage, AboutPage, DhaynesPage, DebugCRUD } from "./Pages";
import { PageTemplate } from "./Templates";
export {
......@@ -12,6 +12,7 @@ export {
HomePage,
AboutPage,
DhaynesPage,
DebugCRUD,
//Templates
PageTemplate
};
import React from "react";
import { Route } from "react-router-dom";
import { HomePage, AboutPage, DhaynesPage } from "Components";
import { HomePage, AboutPage, DhaynesPage, DebugCRUD } from "Components";
const Routes = () => (
<div>
<Route path="/" exact component={HomePage} />
<Route path="/dhaynes" component={DhaynesPage} />
<Route path="/about" component={AboutPage} />
<Route path="/debug" component={DebugCRUD} />
</div>
);
......
......@@ -9,7 +9,7 @@
/>
<meta name="theme-color" content="#006633" />
<meta name="description" content="University-branded URL shortening" />
<title>Welcome &bull; SRCT Go</title>
<title>SRCT Go 3</title>
</head>
<body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment