NERDDISCO's picture
feat: changed everything to create Canvas2D games
6c2bcb4
raw
history blame
455 Bytes
import Script from "next/script";
import TWEEN from "@tweenjs/tween.js";
const styles = (
<style>
{`
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
overflow: hidden;
background: #a9a9a9;
}
#__next {
display: contents;
}
`}
</style>
);
export default function Page() {
return (
<>
{styles}
<canvas id="canvas" />
<Script src="/js/utils.js" />
</>
);
}