Skip to content

Commit

Permalink
add character section in lobby page
Browse files Browse the repository at this point in the history
References #22
  • Loading branch information
isnide23 committed Nov 4, 2021
1 parent c53e777 commit 2ba00f0
Show file tree
Hide file tree
Showing 13 changed files with 57 additions and 6 deletions.
20 changes: 14 additions & 6 deletions assets/css/phoenix.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ body {
padding: 0 2em;
}

/* .button button {
background-color: #B6CBF4;
width: 100%;
display: block;
} */

input[type=button], input[type=submit], input[type=reset] {
color: #1E3A8A;
background-color: rgba(129, 140, 248);
Expand Down Expand Up @@ -218,7 +212,21 @@ select {
text-align: center;
font-weight: 800;
}
/* lobby */
.character {
margin: auto;
padding: 10px;
width: 200px;
height: 225px;
border: solid #2b327b 2px;
}

.character > p {
text-align: center;
color: #2b327b;
}

/* cards */
.card {
position: relative;
margin: auto;
Expand Down
Binary file removed assets/static/images/BrokenTopWhychusMilkyWay.jpg
Binary file not shown.
Binary file removed assets/static/images/UseCaseDiagram.jpg
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
43 changes: 43 additions & 0 deletions lib/dream_up_web/live/lobby_live.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,47 @@
<button class="defaultButton mt-12 text-blue-900 border-2 px-8 text-center" phx-click="begin-setup">Start Game</button>
</div>
<% end %>
<%# character image grid %>
<div class="grid grid-cols-3 gap-4">
<div class="character">
<img src="/images/characters/maker.png">
<p>The Maker</p>
</div>
<div class="character">
<img src="/images/characters/rebel.png">
<p>The Rebel</p>
</div>
<div class="character">
<img src="/images/characters/dreamer.png">
<p>The Dreamer</p>
</div>
<div class="character">
<img src="/images/characters/writer.png">
<p>The Writer</p>
</div>
<div class="character">
<img src="/images/characters/planner.png">
<p>The Planner</p>
</div>
<div class="character">
<img src="/images/characters/listener.png">
<p>The Listener</p>
</div>
<div class="character">
<img src="/images/characters/artist.png">
<p>The Artist</p>
</div>
<div class="character">
<img src="/images/characters/thinker.png">
<p>The Thinker</p>
</div>
<div class="character">
<img src="/images/characters/storyteller.png">
<p>The Storyteller</p>
</div>
</div>

<div>

</div>
</div>

0 comments on commit 2ba00f0

Please sign in to comment.