2025-07-31 00:07:28 +07:00
|
|
|
{
|
|
|
|
|
"name": "adventure-rental-app",
|
|
|
|
|
"private": true,
|
2025-08-01 12:39:25 +07:00
|
|
|
"version": "0.0.0",
|
|
|
|
|
"type": "module",
|
2025-07-31 00:07:28 +07:00
|
|
|
"scripts": {
|
2025-08-01 12:39:25 +07:00
|
|
|
"dev": "vite",
|
|
|
|
|
"build": "vite build",
|
|
|
|
|
"lint": "eslint .",
|
|
|
|
|
"preview": "vite preview"
|
2025-07-31 00:07:28 +07:00
|
|
|
},
|
2025-08-01 12:39:25 +07:00
|
|
|
"dependencies": {
|
feat(auth): implement multi-step authentication flow with UI
This commit replaces the placeholder login page with a comprehensive, multi-step authentication system. It introduces a new `AuthPage` that orchestrates the user flow between login, signup, and OTP verification.
- **Login Form**: Supports both email and WhatsApp credentials, with input validation and API integration.
- **Signup Form**: Includes fields for full name, email, and WhatsApp, with real-time password strength validation.
- **OTP Form**: Provides a view for users to verify their account after signup.
- **UI/UX**: The entire authentication experience is restyled with a new background, Poppins font, custom brand colors, and improved form components for a polished look and feel.
- **Dependencies**: Adds `axios` for handling API requests to the backend.
BREAKING CHANGE: The `LoginPage` component has been deleted and is replaced by the new `AuthPage` component. All references to `LoginPage` must be updated.
2025-08-02 15:26:12 +07:00
|
|
|
"axios": "^1.11.0",
|
2025-08-01 12:39:25 +07:00
|
|
|
"react": "^19.1.0",
|
2025-08-03 11:50:00 +07:00
|
|
|
"react-dom": "^19.1.0",
|
2025-08-03 13:03:32 +07:00
|
|
|
"react-icons": "^5.5.0",
|
2025-08-03 11:50:00 +07:00
|
|
|
"react-router-dom": "^7.7.1"
|
2025-07-31 00:07:28 +07:00
|
|
|
},
|
2025-08-01 12:39:25 +07:00
|
|
|
"devDependencies": {
|
|
|
|
|
"@eslint/js": "^9.30.1",
|
|
|
|
|
"@types/react": "^19.1.8",
|
|
|
|
|
"@types/react-dom": "^19.1.6",
|
2025-08-10 10:27:39 +07:00
|
|
|
"@vitejs/plugin-react": "^4.6.0",
|
2025-08-01 12:39:25 +07:00
|
|
|
"autoprefixer": "^10.4.21",
|
|
|
|
|
"eslint": "^9.30.1",
|
|
|
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
|
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
|
|
|
"globals": "^16.3.0",
|
|
|
|
|
"postcss": "^8.5.6",
|
|
|
|
|
"tailwindcss": "^3.4.17",
|
2025-08-10 10:27:39 +07:00
|
|
|
"vite": "^7.0.4"
|
2025-07-31 00:07:28 +07:00
|
|
|
}
|
|
|
|
|
}
|