+ Cart
+ Hi {user.name}! Here are your cart items:
+
+
+
+ Item |
+ Count |
+
+
+
+ {
+ cart.items.map((item) => (
+
+ {item.name} |
+ {item.count} |
+
+ ))
+ }
+
+
+
+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro
new file mode 100644
index 0000000000..1ce70bc81e
--- /dev/null
+++ b/src/pages/index.astro
@@ -0,0 +1,33 @@
+---
+import Header from '../components/Header.astro';
+import Container from '../components/Container.astro';
+import ProductListing from '../components/ProductListing.astro';
+import { getProducts } from '../api';
+import '../styles/common.css';
+
+const products = await getProducts(Astro.request);
+---
+
+
+
+