modify lobby and pause look
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -180,7 +180,7 @@ export default function Lobby() {
|
|||||||
|
|
||||||
if (sessionState == "lobby") {
|
if (sessionState == "lobby") {
|
||||||
return (
|
return (
|
||||||
<main className="flex min-h-screen flex-col items-center justify-between p-24">
|
<main className="relative flex min-h-screen flex-col items-center justify-between p-24">
|
||||||
<div>
|
<div>
|
||||||
<h1
|
<h1
|
||||||
className={`${nunito.className} text-outline text-[42px] tracking-tighter text-yellow-500`}
|
className={`${nunito.className} text-outline text-[42px] tracking-tighter text-yellow-500`}
|
||||||
@@ -189,7 +189,7 @@ export default function Lobby() {
|
|||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex min-h-[532px] min-w-[500px] flex-col items-center justify-start gap-4 rounded-md bg-blue-950/80 p-8">
|
<div className="absolute inset-1/2 flex min-h-[532px] min-w-[500px] -translate-x-1/2 -translate-y-1/2 flex-col items-center justify-start gap-4 rounded-md bg-blue-950/80 p-8">
|
||||||
<div className="flex w-full flex-row items-center justify-between px-1">
|
<div className="flex w-full flex-row items-center justify-between px-1">
|
||||||
<div className="text-3xl font-bold text-yellow-500">
|
<div className="text-3xl font-bold text-yellow-500">
|
||||||
Players: {userList.length}
|
Players: {userList.length}
|
||||||
@@ -198,7 +198,7 @@ export default function Lobby() {
|
|||||||
onClick={startSession}
|
onClick={startSession}
|
||||||
className="rounded-lg border-2 border-black bg-yellow-500 p-4 text-2xl font-extrabold text-blue-600 hover:bg-yellow-400"
|
className="rounded-lg border-2 border-black bg-yellow-500 p-4 text-2xl font-extrabold text-blue-600 hover:bg-yellow-400"
|
||||||
>
|
>
|
||||||
START!
|
START
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -211,7 +211,7 @@ export default function Lobby() {
|
|||||||
{userList.map((user) => (
|
{userList.map((user) => (
|
||||||
<div
|
<div
|
||||||
key={user.id}
|
key={user.id}
|
||||||
className="flex min-w-32 items-center gap-x-4 rounded-l-[40px] rounded-r-lg border-2 bg-orange-400/90 p-2"
|
className="flex min-w-51 items-center gap-x-4 rounded-l-[40px] rounded-r-lg border-2 bg-orange-400/90 p-2"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={user.avatar}
|
src={user.avatar}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export default function Pause() {
|
|||||||
href="/voting"
|
href="/voting"
|
||||||
className="rounded-lg border-2 border-black bg-yellow-500 p-4 text-2xl font-extrabold text-blue-600 hover:bg-yellow-400"
|
className="rounded-lg border-2 border-black bg-yellow-500 p-4 text-2xl font-extrabold text-blue-600 hover:bg-yellow-400"
|
||||||
>
|
>
|
||||||
START
|
HERVATTEN
|
||||||
</Link>
|
</Link>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user