aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--thallium-frontend/src/pages/CheckoutPage.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/thallium-frontend/src/pages/CheckoutPage.tsx b/thallium-frontend/src/pages/CheckoutPage.tsx
new file mode 100644
index 0000000..ae73009
--- /dev/null
+++ b/thallium-frontend/src/pages/CheckoutPage.tsx
@@ -0,0 +1,21 @@
+import Card from "../components/Card";
+import MaxWidthContainer from "../components/MaxWidthContainer";
+import Button from "../components/forms/Button";
+import { useNavigate } from "react-router-dom";
+
+const CheckoutPage = () => {
+ const navigate = useNavigate();
+
+ return <MaxWidthContainer>
+ <h1>Checkout</h1>
+ <Button onClick={() => {
+ navigate("/store");
+ }}>&lt; Return to store</Button>
+ <Card title="Cart">
+ {/* TODO */}
+ Not yet implemented.
+ </Card>
+ </MaxWidthContainer>
+};
+
+export default CheckoutPage;