https://github.com/hum2a/lifebalance
LifeBalance is an interactive web application designed to help users assess their current life satisfaction across seven key areas and explore how additional resources (money and time) could impact their overall well-being. The tool provides personalized insights and actionable recommendations based on user responses.
https://github.com/hum2a/lifebalance
css html javascript onrender react
Last synced: 5 months ago
JSON representation
LifeBalance is an interactive web application designed to help users assess their current life satisfaction across seven key areas and explore how additional resources (money and time) could impact their overall well-being. The tool provides personalized insights and actionable recommendations based on user responses.
- Host: GitHub
- URL: https://github.com/hum2a/lifebalance
- Owner: Hum2a
- License: mit
- Created: 2025-08-20T21:31:02.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-08-21T21:32:15.000Z (6 months ago)
- Last Synced: 2025-08-21T22:49:36.158Z (6 months ago)
- Topics: css, html, javascript, onrender, react
- Language: CSS
- Homepage: https://lifebalance.onrender.com
- Size: 593 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# LifeBalance - Life Assessment & Planning Tool

**A comprehensive life assessment tool that helps users evaluate and plan improvements across all life areas**
[](https://reactjs.org/)
[](LICENSE)
[](https://github.com/yourusername/lifebalance)
[](https://github.com/yourusername/lifebalance)
[Live Demo](#) โข [Report Bug](https://github.com/yourusername/lifebalance/issues) โข [Request Feature](https://github.com/yourusername/lifebalance/issues)
---
## ๐ Overview
LifeBalance is an interactive web application designed to help users assess their current life satisfaction across seven key areas and explore how additional resources (money and time) could impact their overall well-being. The tool provides personalized insights and actionable recommendations based on user responses.
### โจ Key Features
- **Comprehensive Life Assessment**: Evaluate 7 key life areas with intuitive sliders
- **Resource Impact Analysis**: See how money and time could improve different aspects of life
- **Personalized Insights**: Get tailored recommendations based on your responses
- **Interactive UI**: Modern, responsive design with smooth animations and icons
- **Progress Tracking**: Step-by-step assessment with progress indicators
- **Actionable Results**: Practical suggestions for life improvement
- **Export Functionality**: Download your results as images or PDFs
- **Smart Navigation**: Auto-advancing cards with smart scrolling
- **Professional Icons**: Material Design icons throughout the interface
### ๐ฏ Life Areas Covered
1. **๐ฅ Health & Well-being** - Physical and mental health assessment
2. **๐จโ๐ฉโ๐งโ๐ฆ Family & Connections** - Relationships and social support
3. **๐ผ Career & Income** - Professional satisfaction and financial security
4. **๐ Lifestyle, Spending & Fun** - Entertainment and quality of life
5. **๐ Housing, Safety & Security** - Living environment and personal safety
6. **๐ค Giving & Contribution** - Community involvement and philanthropy
7. **๐ Personal Growth & Purpose** - Learning and life direction
---
## ๐ ๏ธ Technology Stack
- **Frontend Framework**: React 18.2.0
- **UI Components**: Custom CSS with modern design principles
- **Sliders**: React Slider for interactive input
- **Styling**: CSS3 with responsive design and animations
- **Icons**: React Icons (Material Design)
- **Export Tools**: html2canvas & jsPDF for data export
- **Build Tool**: Create React App
- **Package Manager**: npm
---
## ๐จ New Features & Improvements
### ๐ **Export & Download System**
- **Image Export**: High-quality PNG downloads of your personal snapshot
- **PDF Export**: Professional PDF reports ready for printing or sharing
- **Smart Capture**: Ensures all data and content is properly exported
- **File Naming**: Automatic date-based file naming for organization
### ๐ญ **Enhanced Animations & Effects**
- **Staggered Entrances**: Elements appear with beautiful timing sequences
- **Shimmer Effects**: Magical light sweeps across interactive elements
- **Hover Animations**: Rich hover states with transforms and shadows
- **Smooth Transitions**: Professional cubic-bezier easing throughout
- **Responsive Animations**: Optimized for different screen sizes
### ๐ง **Smart Navigation System**
- **Auto-Advance**: Cards automatically advance on slider release
- **Smart Scrolling**: Intelligent scroll positioning to newly revealed content
- **Progress Tracking**: Visual progress indicators throughout the journey
- **Completion Buttons**: Clear completion indicators for each section
### ๐ฏ **Professional Icon System**
- **Material Design Icons**: Consistent, professional iconography
- **Semantic Meaning**: Each icon directly relates to its content
- **Color Coordination**: Icons use the existing color palette
- **Accessibility**: Icons enhance rather than replace text content
### ๐ฑ **Mobile-First Responsiveness**
- **Touch Optimized**: Larger slider thumbs for mobile devices
- **Responsive Layouts**: Adapts perfectly to all screen sizes
- **Performance**: Optimized animations for mobile devices
- **Safari Compatibility**: Special handling for Safari-specific behaviors
---
## ๐ฑ Screenshots
Click to view screenshots
### Welcome Page

### Life Assessment

### Results Dashboard

### Export Options

---
## ๐ Getting Started
### Prerequisites
- Node.js (version 16 or higher)
- npm (version 8 or higher)
### Installation
1. **Clone the repository**
```bash
git clone https://github.com/yourusername/lifebalance.git
cd lifebalance
```
2. **Install dependencies**
```bash
npm install
```
3. **Start the development server**
```bash
npm start
```
4. **Open your browser**
Navigate to [http://localhost:3000](http://localhost:3000)
### Available Scripts
| Command | Description |
|---------|-------------|
| `npm start` | Runs the app in development mode |
| `npm run build` | Builds the app for production |
| `npm test` | Launches the test runner |
| `npm run eject` | Ejects from Create React App |
---
## ๐๏ธ Project Structure
```
lifebalance/
โโโ public/ # Static assets
โ โโโ index.html # Main HTML file
โ โโโ WhiteLogo.png # Application logo
โ โโโ manifest.json # PWA manifest
โโโ src/ # Source code
โ โโโ lifebalance/ # Main application
โ โ โโโ components/ # Reusable components
โ โ โ โโโ LifeBalanceHeader.js # Header with progress tracking
โ โ โโโ pages/ # Page components
โ โ โ โโโ WelcomePage.js # Welcome and onboarding
โ โ โ โโโ Page2.js # Life area assessment
โ โ โ โโโ Page3.js # Money impact assessment
โ โ โ โโโ Page4.js # Time impact assessment
โ โ โ โโโ Page5.js # Results and export
โ โ โโโ styles/ # CSS stylesheets
โ โโโ App.js # Main App component
โ โโโ index.js # Application entry point
โโโ docs/ # Documentation
โโโ .github/ # GitHub-specific files
โโโ package.json # Dependencies and scripts
โโโ README.md # This file
```
---
## ๐จ Design System
### Color Palette
- **Primary**: #B79BFF (Purple)
- **Secondary**: #97A1FF (Blue)
- **Accent**: #64FFD0 (Green), #FF9264 (Orange)
- **Background**: Dark theme with gradients
- **Text**: White and light gray for readability
### Typography
- **Headings**: Bold, large fonts for hierarchy
- **Body Text**: Readable sans-serif fonts
- **Responsive**: Font sizes scale with viewport
### Components
- **Cards**: Glassmorphism design with backdrop blur
- **Sliders**: Custom-styled range inputs with enhanced thumbs
- **Buttons**: Consistent primary and secondary styles
- **Forms**: Clean, accessible form elements
- **Icons**: Material Design icon system throughout
### Animation System
- **Entrance Animations**: Staggered fade-in effects
- **Hover States**: Rich interactive feedback
- **Shimmer Effects**: Light sweeps across elements
- **Transitions**: Smooth cubic-bezier easing
- **Responsive**: Optimized for different devices
---
## ๐ฑ Responsive Design
The application is fully responsive and optimized for:
- **Desktop**: 1200px+ (Full feature set with enhanced animations)
- **Tablet**: 768px - 1199px (Adapted layout with touch optimization)
- **Mobile**: 320px - 767px (Mobile-first design with larger touch targets)
### Mobile Optimizations
- **Larger Slider Thumbs**: Easier touch interaction
- **Touch-Friendly Buttons**: Optimized button sizes
- **Smooth Scrolling**: Native-like mobile experience
- **Safari Compatibility**: Special handling for iOS devices
---
## ๐งช Testing
### Running Tests
```bash
npm test
```
### Test Coverage
```bash
npm run test:coverage
```
---
## ๐ Deployment
### Production Build
```bash
npm run build
```
### Deployment Options
- **Netlify**: Drag and drop the `build` folder
- **Vercel**: Connect your GitHub repository
- **GitHub Pages**: Use the `gh-pages` package
- **AWS S3**: Upload the `build` folder to S3
---
## ๐ค Contributing
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for details.
### Development Workflow
1. Fork the repository
2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
---
## ๐ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---
## ๐ Acknowledgments
- **LifeSmart Team** - For the vision and concept
- **React Community** - For the amazing framework
- **Material Design** - For the comprehensive icon system
- **Open Source Contributors** - For the tools and libraries
---
## ๐ Support
- **Email**: support@lifesmart.com
- **Issues**: [GitHub Issues](https://github.com/yourusername/lifebalance/issues)
- **Documentation**: [Wiki](https://github.com/yourusername/lifebalance/wiki)
---
**Made with โค๏ธ by the LifeSmart Team**
[](https://github.com/yourusername/lifebalance)
[](https://github.com/yourusername/lifebalance)
[](https://github.com/yourusername/lifebalance)