Migrate top_component.rs components
This commit is contained in:
parent
35d4878bb7
commit
c9fc2d59c6
7 changed files with 43 additions and 102 deletions
|
@ -19,7 +19,7 @@ pub fn SocialLink(
|
|||
icon: Icon,
|
||||
) -> impl IntoView {
|
||||
view! {
|
||||
<a class="mx-auto scale-150 mb-1" href=url target="_blank">
|
||||
<a href=url target="_blank">
|
||||
<Icon icon=icon class="mx-auto scale-150 mb-1" />
|
||||
<span class="text-sm">{ children() }</span>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue