Loyalty
Authentication, registration, and profile management components for your loyalty program.👥 Component types: Authentication, registration, profile management | Benefits: Exclusive rates, special promotions, member advantages
Components Overview
Session
Login/logout interface with member dropdown menu
Signup
Registration form for new loyalty members
Profile
Member dashboard with info and reservations
Session Component
The<session> component handles user authentication with dynamic behavior:
- Not Authenticated
- Authenticated
Displays a login button that opens a modal with:
- Login form
- Password recovery option
- Link to registration page
Basic Implementation
Customization with Ghosting
Customize the component appearance using the ghosting system:Basic ghosting example
Basic ghosting example
The second child = authenticated state
Advanced ghosting with styling
Advanced ghosting with styling
[firstName]- User’s first name[lastName]- User’s last name[email]- User’s email address
Signup Component
The<signup> component provides the registration form for new loyalty members.
Implementation
Registration Process
Profile Component
The<profile> component provides authenticated users with a complete dashboard:
Personal Information
- Edit personal details
- Change password
- Delete account
My Reservations
- View past bookings
- Check upcoming stays
- Access booking details
Implementation
Required Pages
Complete Integration Example
View full loyalty setup
View full loyalty setup
💬 Need help setting up your loyalty program? Contact us at support@hotellinkage.com