Skip to content

Commit

Permalink
add index.html for deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorBP committed Oct 31, 2023
1 parent 5f77a76 commit e0e48b7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<html>
<head>
<meta charset="UTF-8" />
<style>
body {
margin: 0;
background: linear-gradient(-45deg, #a6a6a6, #5ac05a, #262626, #a6a6a6);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
canvas {
background-color: white;
}

@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
</style>
</head>
<script type="module">
import init from './out/wasm_battle_arena.js'
init()
</script>
</html>

0 comments on commit e0e48b7

Please sign in to comment.