From 5bd9daf70d1f761159900297cae3bd4b2af8b2eb Mon Sep 17 00:00:00 2001 From: Rodrigo <230417@epvc.pt> Date: Tue, 17 Mar 2026 10:03:47 +0000 Subject: [PATCH] feat: initialize web application with Tailwind CSS configuration, global styles, Header component, and Landing page. --- web/src/components/layout/Header.tsx | 12 ++++++------ web/src/index.css | 8 ++++---- web/src/pages/Landing.tsx | 14 +++++++------- web/tailwind.config.cjs | 3 +++ 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/web/src/components/layout/Header.tsx b/web/src/components/layout/Header.tsx index 68b841e..054bd43 100644 --- a/web/src/components/layout/Header.tsx +++ b/web/src/components/layout/Header.tsx @@ -22,7 +22,7 @@ export const Header = () => { className="text-2xl font-black tracking-tighter text-slate-900 group flex items-center gap-2" onClick={() => setMobileMenuOpen(false)} > -
+
Smart Agenda @@ -36,15 +36,15 @@ export const Header = () => { to="/explorar" className="text-sm font-bold text-slate-600 hover:text-slate-900 transition-all flex items-center gap-2" > - + Descobrir Barbearias - + {cart.length > 0 && ( {cart.length} @@ -63,7 +63,7 @@ export const Header = () => { className="flex items-center gap-3 bg-slate-50 hover:bg-slate-100 border border-slate-200/60 pl-3 pr-4 py-1.5 rounded-full transition-all group" type="button" > -
+
{user.name} @@ -88,7 +88,7 @@ export const Header = () => { Criar Conta diff --git a/web/src/index.css b/web/src/index.css index 1ad628e..9951d5d 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -4,9 +4,9 @@ @layer base { :root { - --brand-primary: #4f46e5; - --brand-primary-light: #818cf8; - --brand-primary-dark: #3730a3; + --brand-primary: #6366f1; /* Indigo 500 mais vibrante */ + --brand-primary-light: #a5b4fc; + --brand-primary-dark: #4338ca; --obsidian: #0f172a; --obsidian-light: #1e293b; --slate-950: #020617; @@ -55,7 +55,7 @@ .indigo-gradient { - @apply bg-gradient-to-br from-indigo-500 via-indigo-600 to-indigo-700; + @apply bg-gradient-to-br from-indigo-400 via-indigo-500 to-indigo-600; } .obsidian-gradient { diff --git a/web/src/pages/Landing.tsx b/web/src/pages/Landing.tsx index 1d0ba88..90bd838 100644 --- a/web/src/pages/Landing.tsx +++ b/web/src/pages/Landing.tsx @@ -39,7 +39,7 @@ export default function Landing() {
-
+
A Solução Completa para a Sua Barbearia
@@ -58,7 +58,7 @@ export default function Landing() {