Skip to content

Commit e5daff2

Browse files
committed
Added icons to card buttons
1 parent 1e81d09 commit e5daff2

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

src/CodeBreaker.Blazor.Client/Pages/IndexPage.razor

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,33 @@
1010
<FluentCard>
1111
<h6>@Loc["Index_Card_Game_Title"]</h6>
1212
<p>@Loc["Index_Card_Game_Body"]</p>
13-
<FluentButton OnClick="@(() => NavigateTo("/game"))">@Loc["Index_Card_Game_Action"]</FluentButton>
13+
<FluentButton
14+
OnClick="@(() => NavigateTo("/game"))"
15+
IconEnd="new Icons.Regular.Size20.BoardGames()">
16+
@Loc["Index_Card_Game_Action"]
17+
</FluentButton>
1418
</FluentCard>
1519
</FluentGridItem>
1620
<FluentGridItem xs="12" md="4">
1721
<FluentCard>
1822
<h6>@Loc["Index_Card_Reports_Title"]</h6>
1923
<p>@Loc["Index_Card_Reports_Body"]</p>
20-
<FluentButton OnClick="@(() => NavigateTo("/reports"))">@Loc["Index_Card_Reports_Action"]</FluentButton>
24+
<FluentButton
25+
OnClick="@(() => NavigateTo("/reports"))"
26+
IconEnd="new Icons.Regular.Size20.DataBarHorizontal()">
27+
@Loc["Index_Card_Reports_Action"]
28+
</FluentButton>
2129
</FluentCard>
2230
</FluentGridItem>
2331
<FluentGridItem xs="12" md="4">
2432
<FluentCard>
2533
<h6>@Loc["Index_Card_About_Title"]</h6>
2634
<p>@Loc["Index_Card_About_Body"]</p>
27-
<FluentButton OnClick="@(() => NavigateTo("/about"))">@Loc["Index_Card_About_Action"]</FluentButton>
35+
<FluentButton
36+
OnClick="@(() => NavigateTo("/about"))"
37+
IconEnd="new Icons.Regular.Size20.Info()">
38+
@Loc["Index_Card_About_Action"]
39+
</FluentButton>
2840
</FluentCard>
2941
</FluentGridItem>
3042
</FluentGrid>

0 commit comments

Comments
 (0)