first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { type ClassValue, clsx } from 'clsx';
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
// Application constants
|
||||
export const APP_NAME = 'PWA React App';
|
||||
export const APP_DESCRIPTION = 'Production-ready Progressive Web App';
|
||||
|
||||
// Route paths
|
||||
export const ROUTES = {
|
||||
HOME: '/',
|
||||
ACCOUNT: '/account',
|
||||
REQUEST: '/request',
|
||||
CHAT: '/chat',
|
||||
LOGIN: '/login',
|
||||
SIGNUP: '/signup'
|
||||
} as const;
|
||||
|
||||
// Request statuses
|
||||
export const REQUEST_STATUS = {
|
||||
PENDING: 'pending',
|
||||
IN_PROGRESS: 'in_progress',
|
||||
COMPLETED: 'completed'
|
||||
} as const;
|
||||
|
||||
// Toast durations
|
||||
export const TOAST_DURATION = {
|
||||
SHORT: 3000,
|
||||
MEDIUM: 5000,
|
||||
LONG: 7000
|
||||
} as const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user