feat(14): appearing message, new game request

This commit is contained in:
efim
2023-07-02 06:15:11 +00:00
parent 4e1f4f4a8e
commit 697985a480
3 changed files with 43 additions and 4 deletions

View File

@@ -137,7 +137,7 @@
<!-- FRAGMENT : showdown result -->
<section
id="message"
class="flex flex-col items-center text-white"
class="flex flex-col items-center text-white slowly-appear"
th:classappend="${showdownState.gameResult.nonEmpty} ? '' : 'invisible'"
>
<p
@@ -146,11 +146,12 @@
>
You lose
</p>
<button
class="mt-6 w-9/12 h-12 tracking-widest uppercase bg-white rounded-xl text-radial-gradient-bottom"
<a
class="grid place-content-center mt-6 w-9/12 h-12 tracking-widest uppercase bg-white rounded-xl text-radial-gradient-bottom"
href="/"
>
Play again
</button>
</a>
</section>
</div>