From 5148ee2063846d37f9152a9dfa64fcd40cc0454b Mon Sep 17 00:00:00 2001
From: Elizabeth Hunt <elizabeth.hunt@simponic.xyz>
Date: Fri, 1 Mar 2024 16:31:27 -0700
Subject: get something on the screen

---
 src/App.tsx | 56 ++++++++++++++++++++++++++------------------------------
 1 file changed, 26 insertions(+), 30 deletions(-)

(limited to 'src/App.tsx')

diff --git a/src/App.tsx b/src/App.tsx
index afe48ac..9c5f790 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,35 +1,31 @@
-import { useState } from 'react'
-import reactLogo from './assets/react.svg'
-import viteLogo from '/vite.svg'
-import './App.css'
+import { GameCanvas } from "./components/GameCanvas";
 
-function App() {
-  const [count, setCount] = useState(0)
+const WIDTH = 800;
+const HEIGHT = 800;
 
+export const App = () => {
   return (
-    <>
-      <div>
-        <a href="https://vitejs.dev" target="_blank">
-          <img src={viteLogo} className="logo" alt="Vite logo" />
-        </a>
-        <a href="https://react.dev" target="_blank">
-          <img src={reactLogo} className="logo react" alt="React logo" />
-        </a>
+    <div className="main">
+      <div className="header">
+        <div className="nav">
+          <h1>the abstraction engine</h1>
+        </div>
       </div>
-      <h1>Vite + React</h1>
-      <div className="card">
-        <button onClick={() => setCount((count) => count + 1)}>
-          count is {count}
-        </button>
-        <p>
-          Edit <code>src/App.tsx</code> and save to test HMR
-        </p>
+      <div className="content">
+        <GameCanvas width={WIDTH} height={HEIGHT} />
       </div>
-      <p className="read-the-docs">
-        Click on the Vite and React logos to learn more
-      </p>
-    </>
-  )
-}
-
-export default App
+      <div className="footer">
+        <span>
+          built by{" "}
+          <a
+            href="https://git.simponic.xyz/simponic"
+            target="_blank"
+            className="tf"
+          >
+            simponic
+          </a>
+        </span>
+      </div>
+    </div>
+  );
+};
-- 
cgit v1.2.3-70-g09d2

