From c451fb2c0ab8fcdcaedc82e39aba0e079bcff29c Mon Sep 17 00:00:00 2001 From: Kashish Shah Date: Sun, 31 May 2026 19:41:29 +0530 Subject: [PATCH] feat: improve subscription section visibility and layout --- src/components/Footer.tsx | 113 +++++++++++++++++++++++--------------- 1 file changed, 69 insertions(+), 44 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 3ad55184..4af364c5 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -39,7 +39,7 @@ function Footer() {
{/* Brand */} -
+
{/* Newsletter */} -
-

- Subscribe -

+
+
+ {/* Subtle background gradient to match design language */} +
+ +
+ + + Newsletter + + +

+ Stay updated with GitHub Tracker +

+ +

+ Get monthly insights, product updates, and repository analytics delivered directly to your inbox. +

+
-
- setEmail(e.target.value)} - className=" - flex-grow text-sm px-4 py-3 - bg-zinc-50 dark:bg-zinc-800/40 - border border-zinc-200 dark:border-zinc-700/50 - rounded-xl - focus:outline-none focus:ring-2 - focus:ring-blue-500/20 focus:border-blue-500 - text-zinc-900 dark:text-white - placeholder-zinc-400 dark:placeholder-zinc-500 - transition-all - " - /> - - -
+
+ setEmail(e.target.value)} + className=" + w-full text-sm px-4 py-3.5 pl-11 + bg-white dark:bg-zinc-900/60 + border border-zinc-200 dark:border-zinc-700/50 + rounded-xl + focus:outline-none focus:ring-2 + focus:ring-blue-500/20 focus:border-blue-500 + text-zinc-900 dark:text-white + placeholder-zinc-400 dark:placeholder-zinc-500 + transition-all + " + aria-label="Email address" + /> + +
+ + + +