This commit is contained in:
Lukian LEIZOUR 2024-06-02 22:40:20 +02:00
parent 2be1074ce5
commit a2a6d9d11e
4 changed files with 23 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/png" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Joclud's Games</title>
</head>

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View file

@ -104,3 +104,24 @@ body {
.helpButton-disabled {
background-color: #d45555;
}
@media only screen and (max-width: 664px) {
.game {
padding: 15px;
border-radius: 45px;
}
.game-image {
height: 150px;
margin-left: 20px;
}
.game-right {
width: 55vw;
margin-right: 5vw;
}
.game-title {
font-size: 20px;
}
}

View file

@ -117,7 +117,7 @@ export default function Home() {
<div className='game-bottom'>
<div className='helpers'>
{JSON.parse(game.helpers).length === 0 ? (
<p className='no-helper'>Aucun membre ne connait les rêgles</p>
<p className='no-helper'>Personne</p>
) :
(JSON.parse(game.helpers).map((helper) => (
helper === user.username ? () => { } : (