Commit Graph

3 Commits

Author SHA1 Message Date
252491bd2f feat: refactor frontend routing and authentication
- Changed root div ID from 'root' to 'app' in index.html.
- Updated package.json to include new dependencies for routing and state management.
- Removed App component and replaced it with a router setup in main.tsx.
- Added route definitions for login, about, and index pages.
- Implemented authentication logic using Zustand for state management.
- Created API client with Axios for handling requests and token management.
- Added CORS support in the backend API.
- Updated schema for login requests to use camelCase.
2025-11-16 00:36:30 +01:00
f7a839b11a feat: add UI components and utilities
- Introduced Skeleton component for loading states.
- Added Slider component with customizable properties.
- Implemented Sonner for toast notifications with icons.
- Created Spinner component for loading indicators.
- Developed Switch component for toggle functionality.
- Added Table component with subcomponents for structured data display.
- Implemented Tabs component for tabbed navigation.
- Created Textarea component for multi-line text input.
- Developed ToggleGroup and Toggle components for grouped toggle functionality.
- Added Tooltip component for contextual hints.
- Implemented useIsMobile hook for responsive design.
- Updated global styles with Tailwind CSS and custom properties.
- Added utility functions for class name management.
- Configured TypeScript paths for easier imports.
- Updated Vite configuration to include Tailwind CSS and path aliases.
2025-11-15 23:44:58 +01:00
cbb59584c4 feat: initialize libertas-frontend project with Vite and React
- Add ESLint configuration for TypeScript and React.
- Create index.html as the entry point for the application.
- Set up package.json with scripts for development, build, linting, and preview.
- Include Vite logo SVG in the public directory.
- Add App.css for styling the application.
- Implement main App component in App.tsx with basic functionality.
- Add React logo SVG to assets.
- Create global styles in index.css.
- Set up main entry point in main.tsx.
- Configure TypeScript with tsconfig files for app and node environments.
- Create Vite configuration file for React integration.
2025-11-15 23:42:29 +01:00