feat: Introduce multi-condo management and notices

This commit refactors the application to support managing multiple condominiums.

Key changes include:
- Introduction of `Condo` and `Notice` data types.
- Implementation of multi-condo selection and management, including active condo context.
- Addition of a notice system to inform users about important updates or events within a condo.
- Styling adjustments to ensure better visibility of form elements.
- Mock database updates to accommodate new entities and features.
This commit is contained in:
2025-12-07 01:37:19 +01:00
parent fdd912a932
commit 3f954c65b1
11 changed files with 1169 additions and 1283 deletions

View File

@@ -1,29 +0,0 @@
# Stage 1: Build dell'applicazione React
FROM node:18-alpine as build
WORKDIR /app
# Copia i file di dipendenze
COPY package*.json ./
# Installa le dipendenze
RUN npm install
# Copia tutto il codice sorgente
COPY . .
# Esegue la build (crea la cartella dist)
RUN npm run build
# Stage 2: Serve con Nginx
FROM nginx:alpine
# Copia il file di configurazione nginx custom (che creeremo al punto 3)
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copia i file compilati dalla build stage alla cartella di Nginx
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]