feat: add UI components for skeleton, slider, sonner, switch, table, tabs, textarea, toggle group, toggle, tooltip, and mobile detection hook
- Implemented Skeleton component for loading states. - Created Slider component using Radix UI for customizable sliders. - Added Sonner component for toast notifications with theme support. - Developed Switch component for toggle functionality. - Introduced Table component with subcomponents for structured data display. - Built Tabs component for tabbed navigation. - Created Textarea component for multi-line text input. - Implemented ToggleGroup and Toggle components for grouped toggle buttons. - Added Tooltip component for displaying additional information on hover. - Created useIsMobile hook for mobile device detection. - Added utility functions for class name merging. - Configured TypeScript settings for the project.
This commit is contained in:
@@ -24,6 +24,22 @@ server:
|
||||
host: http://localhost
|
||||
# Out of the box middleware configuration. to disable middleware you can changed the `enable` field to `false` of comment the middleware block
|
||||
middlewares:
|
||||
cors:
|
||||
enable: true
|
||||
allow_origins:
|
||||
- "http://localhost:3000"
|
||||
allow_credentials: true
|
||||
max_age: 3600
|
||||
allow_headers:
|
||||
- "Content-Type"
|
||||
- "Authorization"
|
||||
allow_methods:
|
||||
- "GET"
|
||||
- "POST"
|
||||
- "PUT"
|
||||
- "DELETE"
|
||||
- "OPTIONS"
|
||||
|
||||
|
||||
# Worker Configuration
|
||||
workers:
|
||||
|
Reference in New Issue
Block a user