aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-25 04:03:00 +0100
committerGravatar Joe Banks <[email protected]>2024-08-25 04:03:00 +0100
commit2f4ffb43bc01214d95ce6514d87b84b357a333d6 (patch)
treef2e9dede8e5c7c71ba02eea79561c42145017df3
parentWrap app in Redux Provider (diff)
Add new store page to router
-rw-r--r--thallium-frontend/src/App.tsx13
1 files changed, 11 insertions, 2 deletions
diff --git a/thallium-frontend/src/App.tsx b/thallium-frontend/src/App.tsx
index 49abf2c..701c744 100644
--- a/thallium-frontend/src/App.tsx
+++ b/thallium-frontend/src/App.tsx
@@ -12,6 +12,7 @@ import Header from "./components/Header";
import LandingPage from "./pages/LandingPage";
import ErrorPage from "./pages/ErrorPage";
import DesignSystem from "./pages/DesignSystem";
+import StorePage from "./pages/StorePage";
const GlobalStyle = createGlobalStyle`
@@ -41,7 +42,6 @@ const AppContainer = styled.div`
display: flex;
flex-direction: column;
margin: 0 auto;
- max-width: 800px;
height: 100%;
`;
@@ -50,7 +50,11 @@ flex-grow: 1;
`;
const ContentContainer = styled.div`
- padding: 1rem;
+ align-self: center;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
`;
const FooterHolder = styled.footer`
@@ -70,6 +74,11 @@ const router = createBrowserRouter([
path: "/design-system",
element: <DesignSystem />,
errorElement: <ErrorPage />
+ },
+ {
+ path: "/store",
+ element: <StorePage />,
+ errorElement: <ErrorPage />
}
]);