From 8743849feeed3665ba485ade2e5a63d9ba75132a Mon Sep 17 00:00:00 2001 From: Beau Findlay Date: Tue, 12 Mar 2024 21:50:22 +0000 Subject: [PATCH] Hide recaptcha badge --- .../src/BeauFindlay.Client/Pages/Contact.razor | 15 +++++++-------- BeauFindlay/src/BeauFindlay.Client/_Imports.razor | 3 ++- .../src/BeauFindlay.Client/wwwroot/css/app.css | 7 ++++++- .../BeauFindlay.Client/wwwroot/css/app.min.css | 11 ++++++++--- .../src/BeauFindlay.Client/wwwroot/index.html | 3 +++ 5 files changed, 26 insertions(+), 13 deletions(-) diff --git a/BeauFindlay/src/BeauFindlay.Client/Pages/Contact.razor b/BeauFindlay/src/BeauFindlay.Client/Pages/Contact.razor index de4e9b4..9ed2d5f 100644 --- a/BeauFindlay/src/BeauFindlay.Client/Pages/Contact.razor +++ b/BeauFindlay/src/BeauFindlay.Client/Pages/Contact.razor @@ -2,7 +2,7 @@ @using BeauFindlay.Shared.Contracts @inject HttpClient HttpClient -@inject IJSRuntime JsRuntime +@inject IJSRuntime JSRuntime

Contact

@@ -12,7 +12,7 @@

-
+
@@ -39,7 +39,10 @@
-
+
+ This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. +
+
@@ -66,10 +69,6 @@
} - - - @code { private readonly ContactInputModel contactInput = new(); @@ -96,7 +95,7 @@ { isSubmitting = true; - var recaptchaResponse = await JsRuntime.InvokeAsync("executeRecaptcha"); + var recaptchaResponse = await JSRuntime.InvokeAsync("executeRecaptcha"); if (string.IsNullOrWhiteSpace(recaptchaResponse)) { diff --git a/BeauFindlay/src/BeauFindlay.Client/_Imports.razor b/BeauFindlay/src/BeauFindlay.Client/_Imports.razor index f0ed136..aaeab63 100644 --- a/BeauFindlay/src/BeauFindlay.Client/_Imports.razor +++ b/BeauFindlay/src/BeauFindlay.Client/_Imports.razor @@ -12,4 +12,5 @@ @using BeauFindlay.Client.Components.Alert @using BeauFindlay.Client.Components.Typewriter @using BeauFindlay.Client.Components.Button -@using BeauFindlay.Client.Components.LoadingSpinner \ No newline at end of file +@using BeauFindlay.Client.Components.LoadingSpinner +@using BeauFindlay.Shared.Contracts \ No newline at end of file diff --git a/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.css b/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.css index 9879179..f01f334 100644 --- a/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.css +++ b/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.css @@ -20,4 +20,9 @@ @keyframes fadeInAnimation { from { opacity: 0; } to { opacity: 1; } -} \ No newline at end of file +} + +.grecaptcha-badge { + visibility: hidden !important; +} + diff --git a/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css b/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css index 4c5ec61..31843cc 100644 --- a/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css +++ b/BeauFindlay/src/BeauFindlay.Client/wwwroot/css/app.min.css @@ -809,8 +809,8 @@ video { padding-bottom: 1rem; } -.pt-10 { - padding-top: 2.5rem; +.pt-8 { + padding-top: 2rem; } .text-center { @@ -980,6 +980,10 @@ video { } } +.grecaptcha-badge { + visibility: hidden !important; +} + .placeholder\:text-gray-400::-moz-placeholder { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity)); @@ -1090,4 +1094,5 @@ video { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity)); } -} \ No newline at end of file +} + diff --git a/BeauFindlay/src/BeauFindlay.Client/wwwroot/index.html b/BeauFindlay/src/BeauFindlay.Client/wwwroot/index.html index 92a81b4..a53ac4e 100644 --- a/BeauFindlay/src/BeauFindlay.Client/wwwroot/index.html +++ b/BeauFindlay/src/BeauFindlay.Client/wwwroot/index.html @@ -26,6 +26,9 @@
+ +