canvas/packages/client/public/index.html

65 lines
1.6 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<title>Document</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<header>
<div></div>
<div class="spacer"></div>
<div>
<div class="user-card">
<div class="user-card--overview">
<div class="user-name"></div>
<div class="user-instance"></div>
</div>
<img src="#" alt="User Avatar" class="user-avatar" />
</div>
</div>
</header>
<main>
<div id="board-zoom">
<div id="board-move" style="width: 100px; height: 100px">
<canvas
id="board"
width="1000"
height="1000"
class="pixelate"
></canvas>
</div>
</div>
</main>
<div id="cursor" style="display: none"></div>
<div id="pallete">
<div id="canvas-meta">
<!-- canvas is in charge of the metabox -->
<span>
Pixels:
<span class="canvas-meta--pixels"></span>
</span>
<span>
Users Online:
<span class="canvas-meta--online"></span>
</span>
<button id="test">test button</button>
</div>
<div class="pallete-colors"></div>
<div class="pallete-user-overlay">
you are not logged in
<a href="/api/login" class="user-login">login</a>
</div>
</div>
<script src="bundle.js"></script>
</body>
</html>