@page "/auto-redirect"
@inject IStringLocalizer<AutoRedirects> Localizer

<h3>@Localizer["Title"]</h3>
<h4>@Localizer["Description"]</h4>

<DemoBlock Title="@Localizer["NormalTitle"]" Introduction="@Localizer["NormalIntro"]" Name="Normal">
    <AutoRedirect Interval="3000" RedirectUrl="/" OnBeforeRedirectAsync="@OnBeforeRedirectAsync" />
    <ConsoleLogger @ref="Logger" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
