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
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|