From 52f269ddeb6736926c2ce700bbec332bb7bbdbbb Mon Sep 17 00:00:00 2001
From: Avery Jacobsen <ajacobsen20@huskers.unl.edu>
Date: Wed, 30 Aug 2023 10:16:08 -0500
Subject: [PATCH] added unstyled HTML to inventory.js

---
 .../src/__snapshots__/app.test.js.snap        | 35 ++++++++++++++++++-
 .../src/features/inventory/inventory.js       | 21 ++++++++++-
 2 files changed, 54 insertions(+), 2 deletions(-)

diff --git a/inventory-app/src/__snapshots__/app.test.js.snap b/inventory-app/src/__snapshots__/app.test.js.snap
index d7852e2..2e4e2bf 100644
--- a/inventory-app/src/__snapshots__/app.test.js.snap
+++ b/inventory-app/src/__snapshots__/app.test.js.snap
@@ -3,7 +3,40 @@
 exports[`the app has one labeled button that displays the value from the store 1`] = `
 <div>
   <main>
-    [placeholder text]
+    <header>
+      <label>
+        App Title
+      </label>
+    </header>
+    <table>
+      <thead>
+        <tr>
+          <th
+            colspan="2"
+          >
+            Menu (Two items)
+          </th>
+        </tr>
+      </thead>
+      <tbody>
+        <tr>
+          <td>
+            Item 1 
+            <button>
+               Item 1 Button 
+            </button>
+          </td>
+          <td>
+            Item 2 
+            <button>
+               Item 2 Button 
+            </button>
+          </td>
+        </tr>
+      </tbody>
+    </table>
+    <hr />
+    Inventory
   </main>
 </div>
 `;
diff --git a/inventory-app/src/features/inventory/inventory.js b/inventory-app/src/features/inventory/inventory.js
index 5ff056a..d550386 100644
--- a/inventory-app/src/features/inventory/inventory.js
+++ b/inventory-app/src/features/inventory/inventory.js
@@ -1,7 +1,26 @@
 export function Inventory() {
   return (
     <main>
-      [placeholder text]
+      <header>
+        <label>
+          App Title
+        </label>
+      </header>
+      <table>
+        <thead>
+          <tr>
+            <th colspan="2">Menu (Two items)</th>
+          </tr>
+        </thead>
+        <tbody>
+          <tr>
+            <td>Item 1 <button> Item 1 Button </button></td>
+            <td>Item 2 <button> Item 2 Button </button></td>
+          </tr>
+        </tbody>
+      </table>
+      <hr></hr>
+      Inventory
     </main>
   );
 }
-- 
GitLab