31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>Trianta</title>
|
|
<link rel="stylesheet" href="css/home.css" />
|
|
</head>
|
|
<body>
|
|
<div id="navigation" style="margin-bottom: 30px;">
|
|
<a class="nav-item" href="https://www.github.com/trimutex">GitHub</a>
|
|
<a class="nav-item" href="https://lab.trianta.dev/Trianta">Projects</a>
|
|
<p class="nav-item" style="text-align: right; flex-grow: 1;">Trianta</p>
|
|
</div>
|
|
<div id="main">
|
|
<div class="card">
|
|
<h2 class="card-top">Pong</h2>
|
|
<div>
|
|
<canvas width="750" height="585" id="pong"></canvas>
|
|
<script src="js/pong.js"></script>
|
|
<div id="gameover" hidden="true">
|
|
<h1>Game Over</h1>
|
|
</div>
|
|
<div id="restart" hidden="true">
|
|
<button class="button" type="button" onclick = "restartGame()">Restart Game</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|