Browse Source

fix: update login button href for consistency and remove loading spinner from App component

pull/25235/head
maliming 1 month ago
parent
commit
89bf2ee6d0
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Client/Pages/Index.razor
  2. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/Components/App.razor
  3. 4
      templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Components/App.razor
  4. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/Pages/Index.razor
  5. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Client/Pages/Index.razor
  6. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Tiered.Client/Pages/Index.razor
  7. 8
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/App.razor
  8. 4
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/App.razor

2
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Client/Pages/Index.razor

@ -9,7 +9,7 @@
{
<MudText Typo="Typo.h5" Class="mb-2">@L["Welcome"]</MudText>
<MudText Typo="Typo.body1" Class="mud-text-secondary mb-2">@L["LongWelcomeMessage"]</MudText>
<MudButton Href="/Account/Login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
<MudButton Href="/authentication/login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
StartIcon="@Icons.Material.Filled.Login">@L["Login"]</MudButton>
}

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/Components/App.razor

@ -26,10 +26,6 @@
<script src="_framework/blazor.web.js"></script>
<div id="ApplicationContainer">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
<Routes @rendermode="new InteractiveWebAssemblyRenderMode(prerender: false)"/>
</div>

4
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/Components/App.razor

@ -26,10 +26,6 @@
<script src="_framework/blazor.web.js"></script>
<div id="ApplicationContainer">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
<Routes @rendermode="new InteractiveWebAssemblyRenderMode(prerender: false)"/>
</div>

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/Pages/Index.razor

@ -9,7 +9,7 @@
{
<MudText Typo="Typo.h5" Class="mb-2">@L["Welcome"]</MudText>
<MudText Typo="Typo.body1" Class="mud-text-secondary mb-2">@L["LongWelcomeMessage"]</MudText>
<MudButton Href="/Account/Login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
<MudButton Href="/authentication/login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
StartIcon="@Icons.Material.Filled.Login">@L["Login"]</MudButton>
}

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Client/Pages/Index.razor

@ -9,7 +9,7 @@
{
<MudText Typo="Typo.h5" Class="mb-2">@L["Welcome"]</MudText>
<MudText Typo="Typo.body1" Class="mud-text-secondary mb-2">@L["LongWelcomeMessage"]</MudText>
<MudButton Href="/Account/Login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
<MudButton Href="/authentication/login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
StartIcon="@Icons.Material.Filled.Login">@L["Login"]</MudButton>
}

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Tiered.Client/Pages/Index.razor

@ -9,7 +9,7 @@
{
<MudText Typo="Typo.h5" Class="mb-2">@L["Welcome"]</MudText>
<MudText Typo="Typo.body1" Class="mud-text-secondary mb-2">@L["LongWelcomeMessage"]</MudText>
<MudButton Href="/Account/Login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
<MudButton Href="/authentication/login" Variant="Variant.Filled" Color="Color.Primary" Class="mb-4"
StartIcon="@Icons.Material.Filled.Login">@L["Login"]</MudButton>
}

8
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/App.razor

@ -26,14 +26,6 @@
<script src="_framework/blazor.web.js"></script>
<div id="ApplicationContainer">
<div style="display: flex; justify-content: center; align-items: center; height: 100vh;">
<svg width="48" height="48" viewBox="0 0 44 44" stroke="currentColor" style="color: #5c4fd1;">
<g fill="none" fill-rule="evenodd" stroke-width="2">
<circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="0s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle>
<circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" dur="1.8s" values="1; 20" calcMode="spline" keyTimes="0; 1" keySplines="0.165, 0.84, 0.44, 1" repeatCount="indefinite" /><animate attributeName="stroke-opacity" begin="-0.9s" dur="1.8s" values="1; 0" calcMode="spline" keyTimes="0; 1" keySplines="0.3, 0.61, 0.355, 1" repeatCount="indefinite" /></circle>
</g>
</svg>
</div>
<Routes @rendermode="new InteractiveWebAssemblyRenderMode(prerender: false)"/>
</div>

4
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/App.razor

@ -20,10 +20,6 @@
<script src="_framework/blazor.web.js"></script>
<div id="ApplicationContainer">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
<Routes @rendermode="new InteractiveWebAssemblyRenderMode(prerender: false)"/>
</div>

Loading…
Cancel
Save