From 07de6177da96d7b63562ff39b67e42312b3a8c3d Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Fri, 30 Aug 2024 01:41:32 -0400 Subject: [PATCH] more formatting --- client/src/components/game/header.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/client/src/components/game/header.rs b/client/src/components/game/header.rs index 7b0ac1b..04380be 100644 --- a/client/src/components/game/header.rs +++ b/client/src/components/game/header.rs @@ -8,7 +8,6 @@ fn Meta() -> impl IntoView { view! {

Name: {move || game_meta().unwrap().name}

-

Host: {move || game_meta().unwrap().host}

White Deck: {move || game_meta().unwrap().white_count}

White Discard: {move || game_meta().unwrap().white_discard_count}

Black Deck: {move || game_meta().unwrap().black_count}

@@ -47,12 +46,18 @@ fn Scoreboard() -> impl IntoView { {if game_meta().unwrap().czar == player.name { - "👑 " + "👑" } else { "" }} - {player.name} + + {if game_meta().unwrap().host == player.name { + "⚜ " + } else { + "" + }} {player.name} + {player.score} }