add big button

This commit is contained in:
Adam 2024-09-10 18:18:44 -04:00
parent 4df5792be8
commit d693146942

View file

@ -57,6 +57,17 @@ pub fn Home() -> impl IntoView {
</p>
<p>Have fun!</p>
</div>
<div class="my-5 flex flex-wrap justify-around">
<Button
class="drop-shadow-md"
size=ButtonSize::Large
appearance=ButtonAppearance::Primary
icon=icondata::BsSearch
on_click=move |_| selected_value.set("browser".to_string())
>
"Find a Game"
</Button>
</div>
</Show>
<Show when=move || selected_value() == "browser".to_string()>