From fccfb07fc05b34e1cfc2ee4e2625bd3adfdfdf0d Mon Sep 17 00:00:00 2001 From: oiupoyt Date: Mon, 31 Aug 2026 23:09:37 +0530 Subject: [PATCH] ui: emerald accent, better layout, cleaner cards --- src/app/globals.css | 19 +++++++++++---- src/app/page.tsx | 15 +++++++----- src/components/Footer.tsx | 4 ++-- src/components/Header.tsx | 44 +++++++++++++++++++++-------------- src/components/ToolCard.tsx | 11 +++++---- src/components/ToolLayout.tsx | 17 +++++++++----- 6 files changed, 69 insertions(+), 41 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 41ee452..67d1bcd 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -3,11 +3,19 @@ :root { --background: #000000; --foreground: #e5e5e5; + --accent: #10b981; + --accent-dim: #065f46; + --surface: #0a0a0a; + --surface-hover: #111111; + --border: #1a1a1a; + --border-hover: #2a2a2a; + --muted: #525252; } @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); + --color-accent: var(--accent); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); } @@ -18,11 +26,11 @@ body { font-family: var(--font-sans), Arial, Helvetica, sans-serif; } -/* AdSense placeholder styling — sharp theme */ +/* Ad placeholders */ .ad-container ins.adsbygoogle { min-height: 90px; - background: #050505; - border: 1px solid rgba(255, 255, 255, 0.04); + background: var(--surface); + border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; @@ -32,10 +40,11 @@ body { .ad-container ins.adsbygoogle::after { content: "Ad"; font-size: 0.6rem; - color: rgba(255, 255, 255, 0.1); + color: var(--muted); font-weight: 400; - letter-spacing: 0.1em; + letter-spacing: 0.15em; font-family: monospace; + text-transform: uppercase; } .ad-side ins.adsbygoogle { diff --git a/src/app/page.tsx b/src/app/page.tsx index 176c263..cc904fa 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -15,15 +15,18 @@ export default function Home() { {/* Main content */} -
+
{Object.entries(toolsByCategory).map(([category, categoryTools]) => ( -
-

- {category} -

-
+
+
+
+

+ {category} +

+
+
{categoryTools.map((tool) => ( ))} diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index ae70e4d..e2a1b65 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,7 +1,7 @@ export default function Footer() { return ( -