add big button
This commit is contained in:
parent
4df5792be8
commit
d693146942
1 changed files with 11 additions and 0 deletions
|
@ -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()>
|
||||
|
|
Loading…
Add table
Reference in a new issue