This commit sets up the foundational project structure for PhotumManager. It includes: - Initializing a new React project with Vite. - Configuring essential dependencies such as React, Lucide React, and the Google Generative AI SDK. - Setting up TypeScript and Vite configurations for optimal development. - Defining core application metadata and initial type definitions for users and events. - Establishing basic styling and font configurations in `index.html` with Tailwind CSS. - Adding a `.gitignore` file to manage project dependencies and build artifacts. - Updating the README with instructions for local development.
15 lines
698 B
TypeScript
15 lines
698 B
TypeScript
|
|
import { EventStatus, EventType } from './types';
|
|
|
|
// Mock data moved to DataContext, keeping constants for Colors/Labels
|
|
|
|
export const MOCK_EVENTS = []; // Deprecated, use DataContext
|
|
|
|
export const STATUS_COLORS: Record<EventStatus, string> = {
|
|
[EventStatus.PENDING_APPROVAL]: 'bg-yellow-50 text-yellow-700 border-yellow-200',
|
|
[EventStatus.PLANNING]: 'bg-gray-100 text-gray-800 border-gray-200',
|
|
[EventStatus.CONFIRMED]: 'bg-blue-50 text-blue-800 border-blue-100',
|
|
[EventStatus.IN_PROGRESS]: 'bg-purple-50 text-purple-800 border-purple-100',
|
|
[EventStatus.DELIVERED]: 'bg-green-50 text-green-800 border-green-100',
|
|
[EventStatus.ARCHIVED]: 'bg-gray-50 text-gray-400 border-gray-100'
|
|
};
|