diff --git a/client/public/styles.css b/client/public/styles.css index e82593c..496593c 100644 --- a/client/public/styles.css +++ b/client/public/styles.css @@ -20,6 +20,7 @@ body { font-style: normal; font-stretch: condensed; } + button { @apply bg-neutral-600 border-b-4 diff --git a/client/src/components/browser.rs b/client/src/components/browser.rs index 1d00e3b..05d31eb 100644 --- a/client/src/components/browser.rs +++ b/client/src/components/browser.rs @@ -93,7 +93,7 @@ pub fn Browser() -> impl IntoView { - finish this + TODO: finish this diff --git a/client/src/components/game.rs b/client/src/components/game.rs index 158b416..7076b8d 100644 --- a/client/src/components/game.rs +++ b/client/src/components/game.rs @@ -28,12 +28,31 @@ pub fn Game() -> impl IntoView { view! {

Game

-

Name: {move || game_name()}

-

Host: {move || game_host()}

-

Players: {move || game_players()}

-

Czar: {move || game_czar()}

-

Black Card: {move || game_black().0} Pick: {move || game_black().1}

-

Your Cards: {move || game_white()}

+ +

Name: {move || game_name()}

+

Host: {move || game_host()}

+

Czar: {move || game_czar()}

+

Players: {move || game_players()}

+
+
+

{move || game_black().0}

+

Pick: {move || game_black().1}

+
+
+ {move || { + game_white() + .iter() + .map(|card| { + view! { +
+

{card}

+
+ } + }) + .collect_view() + }} + +
} }