summaryrefslogtreecommitdiff
path: root/src/App.tsx
blob: 6bd26b95fa5072e48c97b89e4a1f2ce54aacd4d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { GameCanvas } from "./components/GameCanvas";
import { Miscellaneous } from "./engine/config";

export const App = () => {
  return (
    <div className="main">
      <div id={Miscellaneous.MODAL_ID} className="modal">
        <div id={Miscellaneous.MODAL_CONTENT_ID} className="modal-content">
          <span className="close">&times;</span>
          <p>Some text in the Modal..</p>
        </div>
      </div>

      <div className="header">
        <div className="nav">
          <h1>the abstraction engine</h1>
        </div>
      </div>
      <div className="content">
        <GameCanvas width={Miscellaneous.WIDTH} height={Miscellaneous.HEIGHT} />
      </div>
      <div className="footer">
        <span>
          built by{" "}
          <a href="https://github.com/simponic" target="_blank" className="tf">
            simponic
          </a>{" "}
          | inspired by{" "}
          <a href="https://hempuli.com/baba/" target="_blank">
            baba is you
          </a>{" "}
          | music by{" "}
          <a href="https://www.scottbuckley.com.au" target="_blank">
            scott buckley
          </a>
        </span>
      </div>
    </div>
  );
};