Initial commit
This commit is contained in:
+60
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Reactor</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<main id="menu" class="screen">
|
||||
<h1>Reactor</h1>
|
||||
<button id="btn-new" type="button">Nouveau</button>
|
||||
<button id="btn-continue" type="button">Continuer</button>
|
||||
</main>
|
||||
|
||||
<main id="game" class="screen hidden">
|
||||
<div class="topbar">
|
||||
<button id="btn-menu" type="button">Menu</button>
|
||||
<div class="hud">
|
||||
<span id="hud-money"></span>
|
||||
<span id="hud-power"></span>
|
||||
<span id="hud-slots"></span>
|
||||
<span id="hud-wind"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stage">
|
||||
<nav class="sidebar" aria-label="Menus de construction">
|
||||
<div class="side-item">
|
||||
<button id="btn-build" class="icon-btn" type="button"
|
||||
aria-label="Construire" title="Construire" aria-expanded="false" aria-controls="build-list">
|
||||
<svg viewBox="0 0 12 12" shape-rendering="crispEdges" aria-hidden="true">
|
||||
<rect x="1" y="1" width="10" height="4"/>
|
||||
<rect x="5" y="5" width="2" height="6"/>
|
||||
</svg>
|
||||
</button>
|
||||
<ul id="build-list" class="dropdown hidden"></ul>
|
||||
</div>
|
||||
<div class="side-item">
|
||||
<button id="btn-layer" class="icon-btn" type="button"
|
||||
aria-label="Sous-terre (U)" title="Sous-terre (U)" aria-expanded="false" aria-controls="pipe-list">
|
||||
<svg viewBox="0 0 12 12" shape-rendering="crispEdges" aria-hidden="true">
|
||||
<rect x="0" y="2" width="12" height="1"/>
|
||||
<rect x="0" y="5" width="5" height="2"/>
|
||||
<rect x="4" y="5" width="2" height="6"/>
|
||||
<rect x="4" y="9" width="8" height="2"/>
|
||||
</svg>
|
||||
</button>
|
||||
<ul id="pipe-list" class="dropdown hidden"></ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="viewport">
|
||||
<canvas id="canvas" aria-label="Grille de la centrale"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
<p id="hud-cell" class="info"></p>
|
||||
</main>
|
||||
|
||||
<script type="module" src="src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user