Skip to content

Commit 6fecd31

Browse files
committed
fix: solve linter problems with leptosfmt
1 parent 39c79a7 commit 6fecd31

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

src/components/icons/linkedin_icon.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ pub fn LinkedinIcon(
66
#[prop(default = "fill-black")] class: &'static str,
77
) -> impl IntoView {
88
view! {
9-
<svg
10-
width=size
11-
height=size
12-
class=class
13-
viewBox="0 0 16 16"
14-
xmlns="http://www.w3.org/2000/svg"
15-
>
16-
<path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"></path>
17-
</svg>
18-
}
9+
<svg
10+
width=size
11+
height=size
12+
class=class
13+
viewBox="0 0 16 16"
14+
xmlns="http://www.w3.org/2000/svg"
15+
>
16+
<path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"></path>
17+
</svg>
18+
}
1919
}
2020

src/components/our_communities.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ pub fn OurCommunities() -> impl IntoView {
2424
<GithubIcon size=30/>
2525
"Github"
2626
</ButtonLink>
27-
<ButtonLink href="https://www.linkedin.com/company/rustlanges" color="white" size="big">
27+
<ButtonLink
28+
href="https://www.linkedin.com/company/rustlanges"
29+
color="white"
30+
size="big"
31+
>
2832
<LinkedinIcon size=30/>
2933
"Linkedin"
3034
</ButtonLink>

0 commit comments

Comments
 (0)