3.5 KiB
3.5 KiB
React-Allauth Components Requiring Styling
Overview
This file lists all authentication components that require styling. These components are functional but use minimal styling from the django-allauth example repository. Apply consistent design using a styling skill (e.g., apply-shadcn).
Components Requiring Styling
Account Files (15 files)
frontend/src/user_management/account/Login.jsxfrontend/src/user_management/account/RequestLoginCode.jsxfrontend/src/user_management/account/ConfirmLoginCode.jsxfrontend/src/user_management/account/Logout.jsxfrontend/src/user_management/account/Signup.jsxfrontend/src/user_management/account/ChangeEmail.jsxfrontend/src/user_management/account/VerifyEmail.jsxfrontend/src/user_management/account/VerifyEmailByCode.jsxfrontend/src/user_management/account/VerificationEmailSent.jsxfrontend/src/user_management/account/RequestPasswordReset.jsxfrontend/src/user_management/account/ConfirmPasswordResetCode.jsxfrontend/src/user_management/account/ChangePassword.jsxfrontend/src/user_management/account/ResetPassword.jsxfrontend/src/user_management/account/Reauthenticate.jsx
Social Account Files (3 files)
frontend/src/user_management/socialaccount/ProviderSignup.jsxfrontend/src/user_management/socialaccount/ProviderCallback.jsxfrontend/src/user_management/socialaccount/ManageProviders.jsx
MFA Files (15 files)
frontend/src/user_management/mfa/MFAOverview.jsxfrontend/src/user_management/mfa/ActivateTOTP.jsxfrontend/src/user_management/mfa/DeactivateTOTP.jsxfrontend/src/user_management/mfa/AuthenticateTOTP.jsxfrontend/src/user_management/mfa/ReauthenticateTOTP.jsxfrontend/src/user_management/mfa/RecoveryCodes.jsxfrontend/src/user_management/mfa/GenerateRecoveryCodes.jsxfrontend/src/user_management/mfa/AuthenticateRecoveryCodes.jsxfrontend/src/user_management/mfa/ReauthenticateRecoveryCodes.jsxfrontend/src/user_management/mfa/AddWebAuthn.jsxfrontend/src/user_management/mfa/ListWebAuthn.jsxfrontend/src/user_management/mfa/AuthenticateWebAuthn.jsxfrontend/src/user_management/mfa/ReauthenticateWebAuthn.jsxfrontend/src/user_management/mfa/SignupByPasskey.jsxfrontend/src/user_management/mfa/CreateSignupPasskey.jsxfrontend/src/user_management/mfa/Trust.jsx
Component Files (2 files)
frontend/src/user_management/components/Button.jsxfrontend/src/user_management/mfa/WebAuthnLoginButton.jsx
Total: 35 files requiring styling
Button Component Duplication Issue
Two Button.jsx files exist in the project:
frontend/src/components/ui/button.jsx- shadcn/ui Button component with full styling variantsfrontend/src/user_management/components/Button.jsx- Wrapper component that uses shadcn/ui Button
Recommended approach: Keep both files as they serve different purposes:
frontend/src/components/ui/button.jsx- Core shadcn/ui component with styling systemfrontend/src/user_management/components/Button.jsx- Wrapper that ensures authentication components use consistent button styling
Notes
- All components use React Router for navigation
- Components expect shadcn/ui components to be available via
@/components/ui/imports - The authentication context (
AuthContextProvider) must wrap all components - Components use the allauth API client from
user_management/lib/allauth.jsx