feat: update styles for HomePage and RootLayout, adjust background color in CSS
This commit is contained in:
@@ -757,15 +757,12 @@ export function HomePage() {
|
||||
|
||||
<div className="mt-4 space-y-4">
|
||||
{groupedBookings.map(([date, bookings]) => (
|
||||
<article
|
||||
key={date}
|
||||
className="rounded-2xl border border-border/70 bg-background p-4"
|
||||
>
|
||||
<article key={date} className="rounded-2xl border border-border/70 bg-card p-4">
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<h2 className="text-sm font-semibold capitalize">
|
||||
{formatDateLabel(date, todayIso)}
|
||||
</h2>
|
||||
<span className="rounded-full border border-border/70 bg-card px-3 py-1 text-[11px] font-medium text-muted-foreground">
|
||||
<span className="rounded-full border border-border/70 bg-background px-3 py-1 text-[11px] font-medium text-muted-foreground">
|
||||
{bookings.length} reservas
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -142,10 +142,6 @@ export function RootLayout() {
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="hidden items-center gap-2 rounded-full border border-border/70 bg-card px-3 py-1.5 text-xs text-muted-foreground shadow-sm md:flex">
|
||||
<span className="size-2 rounded-full bg-emerald-500" />
|
||||
{isAuthenticated ? 'Sesión activa' : 'Modo visitante'}
|
||||
</div>
|
||||
|
||||
<ThemeSwitcher />
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
:root {
|
||||
/* Base colors (retaining the shadcn structure, but with a sports-club identity) */
|
||||
--background: oklch(0.985 0.01 145);
|
||||
--background: oklch(0.94 0.01 145);
|
||||
--foreground: oklch(0.16 0.02 145);
|
||||
--card: oklch(0.995 0.005 145);
|
||||
--card-foreground: oklch(0.16 0.02 145);
|
||||
|
||||
Reference in New Issue
Block a user