From 831ae0edefc8ab540205e66e701a2ae09095b8cb Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Mon, 15 Dec 2025 17:07:08 +0100 Subject: [PATCH] Refactor components for improved styling and layout consistency - Updated Layout component to enhance flex properties for better responsiveness. - Adjusted CredenzaContent width in UserDashboard for improved layout. - Modified Footer component for better spacing and logo size adjustments. - Enhanced ServizioContent layout with new AlarmClockSVG and improved button styling. - Updated Status500 and 404 pages to use muted foreground text for better readability. - Added new PasswordSVG and AlarmClockSVG components for better icon representation. - Refined table components to use muted foreground colors for icons. - Improved form components by removing unnecessary classes and enhancing label styling. - Cleaned up global CSS by removing unused CSS variables for better maintainability. --- apps/infoalloggi/src/components/Layout.tsx | 4 +- .../components/area-riservata/dashboard.tsx | 2 +- apps/infoalloggi/src/components/footer.tsx | 18 ++--- .../src/components/servizio/main.tsx | 16 +++-- .../src/components/status-page.tsx | 4 +- apps/infoalloggi/src/components/svgs.tsx | 70 ++++++++++++++++++ .../components/tables/prezziario-tables.tsx | 2 +- .../src/components/tables/users-table.tsx | 10 +-- .../src/forms/FormChangePassword.tsx | 4 +- .../src/forms/FormContattoAnnuncio.tsx | 2 +- .../src/forms/FormRstPwFromToken.tsx | 2 +- apps/infoalloggi/src/pages/404.tsx | 4 +- apps/infoalloggi/src/pages/500.tsx | 4 +- apps/infoalloggi/src/pages/500Auth.tsx | 4 +- .../src/pages/auth/accetta-invito/[token].tsx | 25 +++---- apps/infoalloggi/src/styles/globals.css | 71 ------------------- 16 files changed, 122 insertions(+), 120 deletions(-) diff --git a/apps/infoalloggi/src/components/Layout.tsx b/apps/infoalloggi/src/components/Layout.tsx index 7ec9a04..5789ba9 100644 --- a/apps/infoalloggi/src/components/Layout.tsx +++ b/apps/infoalloggi/src/components/Layout.tsx @@ -47,7 +47,9 @@ export const Layout = ({ {BannerFactory(banner)} ))} -
+
{children}
diff --git a/apps/infoalloggi/src/components/area-riservata/dashboard.tsx b/apps/infoalloggi/src/components/area-riservata/dashboard.tsx index 837125d..ce59cd1 100644 --- a/apps/infoalloggi/src/components/area-riservata/dashboard.tsx +++ b/apps/infoalloggi/src/components/area-riservata/dashboard.tsx @@ -109,7 +109,7 @@ export const UserDashboard = ({ userId }: { userId: UsersId }) => { - + Domande frequenti diff --git a/apps/infoalloggi/src/components/footer.tsx b/apps/infoalloggi/src/components/footer.tsx index b3e529c..0e29ada 100644 --- a/apps/infoalloggi/src/components/footer.tsx +++ b/apps/infoalloggi/src/components/footer.tsx @@ -12,23 +12,23 @@ export const Footer = ({ className }: FooterProps) => { return (