Initial commit: monorepo Naturcalabacera reservas (apps/api + apps/web + packages/shared)

This commit is contained in:
2026-04-30 10:09:44 +01:00
commit a0ccb8ca64
188 changed files with 16418 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import type { ReservationOrigin } from '../types/reservation.js';
export interface OriginConfig {
label: string;
shortLabel: string;
color: {
dot: string;
border: string;
checkedBg: string;
checkedText: string;
calendarBg: string;
calendarBgDark: string;
calendarBorder: string;
};
}
export const ORIGIN_CONFIG: Record<ReservationOrigin, OriginConfig> = {
Teneriffa2000: {
label: 'Teneriffa',
shortLabel: 'Teneriffa',
color: {
dot: 'bg-blue-500',
border: 'peer-checked:border-blue-500',
checkedBg: 'peer-checked:bg-blue-50',
checkedText: 'peer-checked:text-blue-700',
calendarBg: 'bg-blue-600/30',
calendarBgDark: 'dark:bg-blue-500/30',
calendarBorder: 'border-l-4 border-blue-500',
},
},
Naturcalabacera: {
label: 'Natur',
shortLabel: 'Natur',
color: {
dot: 'bg-yellow-500',
border: 'peer-checked:border-yellow-500',
checkedBg: 'peer-checked:bg-yellow-50',
checkedText: 'peer-checked:text-yellow-700',
calendarBg: 'bg-yellow-500/30',
calendarBgDark: 'dark:bg-yellow-400/30',
calendarBorder: 'border-l-4 border-yellow-500',
},
},
};