aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-17 15:34:41 +0100
committerGravatar Joe Banks <[email protected]>2024-08-17 15:34:41 +0100
commit3fa6e28393417e864d81d71500a23a21b5229af8 (patch)
tree11e8959d0cde8341263a8f434be6beb8fea771a2
parentIgnore unused errors in catch statements (diff)
Add design system page
-rw-r--r--thallium-frontend/src/App.tsx9
1 files changed, 7 insertions, 2 deletions
diff --git a/thallium-frontend/src/App.tsx b/thallium-frontend/src/App.tsx
index bed409b..d9b0502 100644
--- a/thallium-frontend/src/App.tsx
+++ b/thallium-frontend/src/App.tsx
@@ -11,6 +11,7 @@ import Header from "./components/Header";
import LandingPage from "./pages/LandingPage";
import ErrorPage from "./pages/ErrorPage";
+import DesignSystem from "./pages/DesignSystem";
const GlobalStyle = createGlobalStyle`
@@ -37,7 +38,6 @@ const GlobalStyle = createGlobalStyle`
`;
const AppContainer = styled.div`
- text-align: center;
display: flex;
flex-direction: column;
margin: 0 auto;
@@ -57,8 +57,13 @@ const router = createBrowserRouter([
{
path: "/",
element: <LandingPage />,
- errorElement: <ErrorPage />,
+ errorElement: <ErrorPage />
},
+ {
+ path: "/design-system",
+ element: <DesignSystem />,
+ errorElement: <ErrorPage />
+ }
]);