Add link to source code

This commit is contained in:
Daniel Flanagan 2021-11-12 13:12:06 -06:00
parent b9ac77f1aa
commit 7fdb89b274
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -4,6 +4,7 @@
</head> </head>
<body> <body>
<canvas id="canvas" width="640" height="480"></canvas> <canvas id="canvas" width="640" height="480"></canvas>
<a href="//git.lyte.dev/lytedev/rust-flappy-dragon">Source Code</a>
<script src="./rust-game-1.js"></script> <script src="./rust-game-1.js"></script>
<script> <script>
window.addEventListener("load", async () => { window.addEventListener("load", async () => {
@ -12,7 +13,8 @@
</script> </script>
<style> <style>
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body, html { background-color: #111; display: flex; height: 100vh; width: 100vw; justify-content: center; align-items: center; } body, html { background-color: #111; display: flex; height: 100vh; width: 100vw; justify-content: center; align-items: center; flex-direction: column; font-family: sans-serif; }
canvas { margin-bottom: 1em; }
</style> </style>
</body> </body>
</html> </html>