2021-04-02 21:45:14 +02:00
|
|
|
@page "/"
|
2021-04-06 18:17:22 +02:00
|
|
|
@using MediatR
|
|
|
|
|
@using WotBlitzStatisticsPro.Blazor.Messages
|
|
|
|
|
@using WotBlitzStatisticsPro.Blazor.Model
|
|
|
|
|
@inject IMediator Mediator
|
|
|
|
|
<div class="splash">
|
|
|
|
|
<div class="splash-content">
|
|
|
|
|
<RadzenLabel Text="Welcome to WOT Blitz statistics application!" Style="margin: 30px 0px 100px 0px"></RadzenLabel>
|
2021-04-02 21:45:14 +02:00
|
|
|
|
2021-04-06 18:17:22 +02:00
|
|
|
<RadzenButton Click=@(async args => { await Mediator.Publish(new LoginToWgMessage()); })
|
|
|
|
|
Icon="vpn_key"
|
|
|
|
|
Text="Login with WG.net ID"
|
|
|
|
|
Style="width: 250px; margin: 30px" />
|
|
|
|
|
<RadzenButton Click=@(async args => { await Mediator.Publish(new OpenSearchDialogMessage(DialogType.FindPlayer)); })
|
|
|
|
|
Icon="person_search"
|
|
|
|
|
Text="Search player"
|
|
|
|
|
Style="width: 250px; margin: 30px" />
|
|
|
|
|
<RadzenButton Click=@(async args => { await Mediator.Publish(new OpenSearchDialogMessage(DialogType.FindClan)); })
|
|
|
|
|
Icon="screen_search_desktop"
|
|
|
|
|
Text="Search clan"
|
|
|
|
|
Style="width: 250px; margin: 30px" />
|
2021-04-02 21:45:14 +02:00
|
|
|
|
2021-04-06 18:17:22 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-04-02 21:45:14 +02:00
|
|
|
|