Skip to content

Commit

Permalink
feat(misc-pages): responsive for canceled game and not found game pages
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinezanardi committed Sep 18, 2024
1 parent 02e728a commit 9a91c41
Show file tree
Hide file tree
Showing 13 changed files with 71,235 additions and 71,179 deletions.
10 changes: 5 additions & 5 deletions app/components/pages/game/GameCanceled/GameCanceled.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
id="game-canceled"
class="flex flex-col items-center justify-center"
class="flex flex-col gap-2 items-center justify-center"
>
<h1
id="game-canceled-text"
Expand All @@ -17,12 +17,12 @@
</span>
</h1>

<div>
<PrimeVueDivider class="mb-4"/>
<PrimeVueDivider class="!w-2/3"/>

<CreateAnotherGameButton/>
<div class="flex flex-col gap-2 md:flex-row">
<CreateAnotherGameButton class="md:w-auto w-full"/>

<BackToHomeButton/>
<BackToHomeButton class="md:w-auto w-full"/>
</div>
</div>
</template>
Expand Down
12 changes: 6 additions & 6 deletions app/components/pages/game/GameNotFound/GameNotFound.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
id="game-not-found"
class="flex flex-col items-center justify-center"
class="flex flex-col gap-2 items-center justify-center"
>
<h1
id="game-not-found-text"
Expand All @@ -12,17 +12,17 @@
icon="fa-regular fa-question-circle"
/>

<span>
<span class="text-center">
{{ $t("components.GameNotFound.gameNotFound") }}
</span>
</h1>

<div>
<PrimeVueDivider class="mb-4"/>
<PrimeVueDivider class="!w-2/3"/>

<CreateAnotherGameButton class="me-2"/>
<div class="flex flex-col gap-2 md:flex-row">
<CreateAnotherGameButton class="md:w-auto w-full"/>

<BackToHomeButton/>
<BackToHomeButton class="md:w-auto w-full"/>
</div>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions app/error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
>
<h1
id="error-title"
class="!text-5xl"
class="!text-5xl text-center"
>
{{ errorTitle }}
</h1>
Expand All @@ -20,7 +20,7 @@

<h3
id="error-description"
class="!text-2xl"
class="md:!text-2xl text-center text-xl"
>
{{ errorDescription }}
</h3>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed tests/acceptance/screenshots/linux/Game canceled.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 9a91c41

Please sign in to comment.