Skip to content

Commit

Permalink
changed index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
keshav2010 committed Apr 28, 2024
1 parent 58ab9a7 commit 2a35f8b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion public/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SpinnerPlugin from "phaser3-rex-plugins/templates/spinner/spinner-plugin.

import Phaser from "phaser";
const config = {
type: Phaser.WEBGL,
type: Phaser.AUTO,
width: 1200,
height: 800,
scale: {
Expand Down
30 changes: 14 additions & 16 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-8" id="app">
</div>

<div class="col-sm-4" style="background-color: #eee; height:100vh; display:flex; flex-direction:column;">
<div class="col-sm-2" style="background-color: #eee; height:100vh; display:flex; flex-direction:column;">
<div class="card" style="flex:0.2">

<h4>RealTimeStrategy IO-Game Project (0.0.2 BUILD)</h4>
Expand All @@ -27,18 +24,6 @@ <h4>RealTimeStrategy IO-Game Project (0.0.2 BUILD)</h4>
<p>Developer @ Discord <strong>pronoob2010</strong></p>

<p>Still in very initial phase</p>

</div>
<div class="card container">
<button class="btn-primary" style="max-width: 150px;">READY</button>
</div>
<div class="card container">
<h2>spawn units</h2>
<div class="card" style="display: flex; flex-direction: row; overflow-x: auto;">
<button class="btn-primary"> SPEARMAN</button>
<button class="btn-primary"> KNIGHT</button>
<button class="btn-primary"> MESSENGER</button>
</div>
</div>
<div class="card" style="flex:1">
<div class="card-header d-flex justify-content-between align-items-center p-3">
Expand All @@ -59,6 +44,19 @@ <h5 class="mb-0">IN-GAME Notifications</h5>
</div>
</div>
</div>
<div class="col-sm-8" id="app">
</div>

<div class="col-sm-2" style="background-color: #eee; height:100vh; display:flex; flex-direction:column;">
<div class="card container">
<h2>spawn units</h2>
<div class="card" style="display: flex; flex-direction: column; overflow-x: auto;">
<button class="btn-primary"> SPEARMAN</button>
<button class="btn-primary"> KNIGHT</button>
<button class="btn-primary"> MESSENGER</button>
</div>
</div>
</div>
</div>

</div>
Expand Down

0 comments on commit 2a35f8b

Please sign in to comment.