Commit graph

10 commits

Author SHA1 Message Date
a4f822d462 feat: update page titles and descriptions for improved SEO and user experience
- Updated Italian translations for "Area Riservata" description in it.ts
- Added <Head> components with appropriate titles for the following pages:
  - Admin Annunci
  - Admin Banners
  - Admin Blacklist
  - Admin Chats
  - Admin Etichette
  - Admin Flags
  - Admin Impostazioni
  - Admin Ordini
  - Admin Potenziali
  - Admin Prezziario
  - Admin Storage
  - Admin Testi Stringhe
  - Admin Utenti
  - Allegati
  - User Chat
  - Comunicazioni
  - Ordini
  - Profilo
- Removed unused translation hooks from several components
2026-01-19 10:23:16 +01:00
9c18ca37ab Refactor API structure and update flag handling
- Replaced references to `api.settings` with `api.etichette`, `api.flags`, and `api.strings` in various admin pages to align with new API structure.
- Removed the deprecated `settingsRouter` and introduced `flagsRouter`, `etichetteRouter`, and `stringsRouter` to handle respective functionalities.
- Updated the `Flags` schema to change the `value` field from string to boolean.
- Modified flag handling logic in the `SendMessage` and `NewMail` functions to check for boolean flags instead of string values.
- Added migration script to convert the `value` column in the `flags` table from string to boolean.
- Implemented new routers for banners, etichette, flags, revalidation, and strings to encapsulate related functionalities.
2025-11-20 12:38:42 +01:00
d7bfd8fdf1 feat: Update UI components and styles across multiple pages
- Enhanced the CardInfos component in [cod].tsx with improved styling and added TrafficCone icon for status indication.
- Increased dialog content width in prezziario.tsx and testi-stringhe.tsx for better layout.
- Replaced static badge elements with the Badge component in chi-siamo.tsx, contatti.tsx, guida.tsx, prezzi.tsx, and proprietari.tsx for consistent styling.
- Updated button components to use the Button component in contatti.tsx and proprietari.tsx for improved accessibility and styling.
- Modified the TrovaCasaCTA and FrequentSearches components in index.tsx for better visual consistency and updated color usage.
- Refactored global CSS variables for improved color management and added new color variables for better theme support.
- Implemented dynamic loading for the KabanExample component in test.tsx to enhance performance.
2025-11-14 17:21:21 +01:00
6ad74c9002 Refactor and enhance UI components across the application
- Renamed `AnnunciInConferma` to `AnnunciInConfermaDialog` and `AnnunciSelezionati` to `AnnunciSelezionatiDialog` for clarity.
- Simplified button notifications for announcements by always displaying the count.
- Introduced `AnnunciInConfermaAccordion` and `AnnunciSelezionatiAccordion` components to manage accordion behavior for announcements.
- Updated button styles to remove unnecessary flex properties for better alignment.
- Improved form validation logic in `FormNewServizioAcquisto` for better clarity and performance.
- Enhanced the `UploadModal` to accept props directly, simplifying the component structure.
- Added a new `CardAnnuncio` component for displaying announcements with improved layout and functionality.
- Updated global styles to include a new background color variable.
- Refactored API routes and controllers for better clarity and maintainability.
- Cleaned up various components by removing redundant class names and improving accessibility.
2025-11-03 10:59:45 +01:00
bc1f114837 feat: implement server-side rendering for various admin pages and update backend URL configuration 2025-10-17 18:12:10 +02:00
a87a35ffbe sort classes rule and fix 2025-10-10 16:18:43 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
b2a118e907 Enhance button styling: add cursor-pointer class to refresh buttons across admin components 2025-08-20 14:06:38 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00