diff --git a/web/src/app.html b/web/src/app.html index d34ea4c..9e3bf88 100644 --- a/web/src/app.html +++ b/web/src/app.html @@ -25,6 +25,16 @@ %sveltekit.head% +
%sveltekit.body%
diff --git a/web/src/lib/components/AuthenticationCard.svelte b/web/src/lib/components/AuthenticationCard.svelte index b76b48a..83e00ab 100644 --- a/web/src/lib/components/AuthenticationCard.svelte +++ b/web/src/lib/components/AuthenticationCard.svelte @@ -1,6 +1,7 @@
-
+

@@ -104,7 +105,7 @@

{/if} {#if authentication.iprev.details} -
{authentication.iprev.details}
+
{authentication.iprev.details}
{/if}
@@ -128,7 +129,7 @@ {/if} {#if authentication.spf.details} -
{authentication.spf.details}
+
{authentication.spf.details}
{/if} {:else} @@ -167,7 +168,7 @@ {/if} {#if authentication.dkim[0].details} -
{authentication.dkim[0].details}
+
{authentication.dkim[0].details}
{/if} {:else} @@ -206,7 +207,7 @@ {/if} {#if authentication.x_google_dkim.details} -
{authentication.x_google_dkim.details}
+
{authentication.x_google_dkim.details}
{/if} @@ -230,7 +231,7 @@ {/if} {#if authentication.x_aligned_from.details} -
{authentication.x_aligned_from.details}
+
{authentication.x_aligned_from.details}
{/if} @@ -276,7 +277,7 @@ {/if} {/if} {#if authentication.dmarc.details} -
{authentication.dmarc.details}
+
{authentication.dmarc.details}
{/if} {:else} @@ -303,7 +304,7 @@ {authentication.bimi.result} {#if authentication.bimi.details} -
{authentication.bimi.details}
+
{authentication.bimi.details}
{/if} {:else if authentication.bimi && authentication.bimi.result == "none"} @@ -315,7 +316,7 @@
Brand Indicators for Message Identification
{#if authentication.bimi.details} -
{authentication.bimi.details}
+
{authentication.bimi.details}
{/if} {:else} @@ -345,7 +346,7 @@
Chain length: {authentication.arc.chain_length}
{/if} {#if authentication.arc.details} -
{authentication.arc.details}
+
{authentication.arc.details}
{/if} diff --git a/web/src/lib/components/BlacklistCard.svelte b/web/src/lib/components/BlacklistCard.svelte index f5935a1..bb0a160 100644 --- a/web/src/lib/components/BlacklistCard.svelte +++ b/web/src/lib/components/BlacklistCard.svelte @@ -1,6 +1,7 @@
-
+

diff --git a/web/src/lib/components/ContentAnalysisCard.svelte b/web/src/lib/components/ContentAnalysisCard.svelte index b5fc380..87cfd5e 100644 --- a/web/src/lib/components/ContentAnalysisCard.svelte +++ b/web/src/lib/components/ContentAnalysisCard.svelte @@ -1,6 +1,7 @@
-
+

diff --git a/web/src/lib/components/DnsRecordsCard.svelte b/web/src/lib/components/DnsRecordsCard.svelte index c325049..a871096 100644 --- a/web/src/lib/components/DnsRecordsCard.svelte +++ b/web/src/lib/components/DnsRecordsCard.svelte @@ -1,6 +1,7 @@
-
+

diff --git a/web/src/lib/components/EmailAddressDisplay.svelte b/web/src/lib/components/EmailAddressDisplay.svelte index 0f62dd2..5b5f051 100644 --- a/web/src/lib/components/EmailAddressDisplay.svelte +++ b/web/src/lib/components/EmailAddressDisplay.svelte @@ -1,4 +1,6 @@ -
+
+
diff --git a/web/src/routes/+page.svelte b/web/src/routes/+page.svelte index d354a13..765b03d 100644 --- a/web/src/routes/+page.svelte +++ b/web/src/routes/+page.svelte @@ -252,6 +252,26 @@ text-shadow: black 0 0 1px; } + /* Dark mode hero adjustments */ + :global([data-bs-theme="dark"]) .hero { + background: + linear-gradient(135deg, rgba(50, 65, 140, 0.85) 0%, rgba(65, 40, 95, 0.9) 100%), + url("/img/report.webp"); + background-size: cover; + background-position: center 25%; + background-repeat: no-repeat; + } + + :global([data-bs-theme="dark"]) .hero h1, + :global([data-bs-theme="dark"]) .hero p { + text-shadow: black 0 0 3px; + } + + /* Dark mode section background */ + :global([data-bs-theme="dark"]) #steps { + background-color: var(--bs-secondary-bg) !important; + } + .fade-in { animation: fadeIn 0.6s ease-out; } @@ -293,4 +313,21 @@ box-shadow: 0 1rem 2rem rgba(25, 135, 84, 0.5); } } + + @keyframes pulse-dark { + 0%, + 100% { + transform: scale(1); + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4); + } + 50% { + transform: scale(1.08); + box-shadow: 0 1rem 2rem rgba(25, 135, 84, 0.7); + } + } + + /* Dark mode pulse animation */ + :global([data-bs-theme="dark"]) .cta-button { + animation: pulse-dark 2s infinite; + }