the-abstraction-engine/src/App.tsx

36 lines
827 B
TypeScript
Raw Normal View History

2024-03-01 18:31:27 -05:00
import { GameCanvas } from "./components/GameCanvas";
2024-03-01 18:07:16 -05:00
2024-03-01 18:31:27 -05:00
const WIDTH = 800;
const HEIGHT = 800;
2024-03-01 18:07:16 -05:00
2024-03-01 18:31:27 -05:00
export const App = () => {
2024-03-01 18:07:16 -05:00
return (
2024-03-01 18:31:27 -05:00
<div className="main">
<div className="header">
<div className="nav">
<h1>the abstraction engine</h1>
</div>
2024-03-01 18:07:16 -05:00
</div>
2024-03-01 18:31:27 -05:00
<div className="content">
<GameCanvas width={WIDTH} height={HEIGHT} />
2024-03-01 18:07:16 -05:00
</div>
2024-03-01 18:31:27 -05:00
<div className="footer">
<span>
built by{" "}
<a
href="https://git.simponic.xyz/simponic"
target="_blank"
className="tf"
>
simponic
2024-03-01 20:56:58 -05:00
</a>{" "}
| inspired by{" "}
<a href="https://hempuli.com/baba/" target="_blank" className="tf">
baba is you
2024-03-01 18:31:27 -05:00
</a>
</span>
</div>
</div>
);
};