diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/GitHubIcon.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/GitHubIcon.razor new file mode 100644 index 0000000000..812783fbff --- /dev/null +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/GitHubIcon.razor @@ -0,0 +1,5 @@ +@inherits StaticComponent + + + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/GoogleIcon.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/GoogleIcon.razor new file mode 100644 index 0000000000..87f9f58794 --- /dev/null +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/GoogleIcon.razor @@ -0,0 +1,6 @@ +@inherits StaticComponent + + + + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/TwitterIcon.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/TwitterIcon.razor new file mode 100644 index 0000000000..cf7c50cb06 --- /dev/null +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/Components/TwitterIcon.razor @@ -0,0 +1,6 @@ +@inherits StaticComponent + + + + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor index ffc8cf94cc..ddca88c00c 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignInPage.razor @@ -1,6 +1,7 @@ @*+:cnd:noEmit*@ @attribute [Route(Urls.SignInPage)] @inherits AppComponentBase +@using Boilerplate.Client.Core.Components.Pages.Identity.Components @Localizer[nameof(AppStrings.SignInTitle)] @@ -32,7 +33,7 @@ OnClick="WrapHandled(GoogleSignIn)" Color="BitColor.SecondaryBackground" Title="@Localizer[AppStrings.GoogleSignUpButtonText]"> - + - + - +
@@ -134,7 +135,7 @@ @bind-Value="model.Otp" Size="BitSize.Large" Label="@Localizer[nameof(AppStrings.Otp)]" - Type="BitInputType.Number" + Type="BitInputType.Number" Style="justify-content:center" OnFill="WrapHandled(DoSignIn)" /> diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor index 6106e1313b..3eac50d6a6 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Identity/SignUpPage.razor @@ -1,6 +1,7 @@ @*+:cnd:noEmit*@ @attribute [Route(Urls.SignUpPage)] @inherits AppComponentBase +@using Boilerplate.Client.Core.Components.Pages.Identity.Components @Localizer[nameof(AppStrings.SingUpTitle)] @@ -27,7 +28,7 @@ OnClick="WrapHandled(GoogleSignUp)" Color="BitColor.SecondaryBackground" Title="@Localizer[AppStrings.GoogleSignUpButtonText]"> - + - + - +
diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/StaticComponent.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/StaticComponent.cs new file mode 100644 index 0000000000..449fea9299 --- /dev/null +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/StaticComponent.cs @@ -0,0 +1,6 @@ +namespace Boilerplate.Client.Core.Components; + +public class StaticComponent: ComponentBase +{ + protected override bool ShouldRender() => false; +} diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg index bcb3709884..476c1716ac 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/github-icon.svg @@ -1,3 +1,3 @@ - - + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/google-icon.svg b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/google-icon.svg index 8ebdc2a2c7..2753121262 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/google-icon.svg +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/google-icon.svg @@ -1,3 +1,3 @@ - - + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/x-icon.svg b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/x-icon.svg index 5ad991747e..432f6ea0a7 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/x-icon.svg +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/wwwroot/images/icons/x-icon.svg @@ -1,3 +1,3 @@ - +