A modern React application for personal wisdom practice and growth tracking, converted from HTML templates to React components using Tailwind CSS v4.
- Landing Page: Beautiful introduction to the Wisdom Compass application
- Authentication: Login and signup with form validation
- Dashboard: Personal wisdom tracking with statistics and progress visualization
- Wisdom Library: Browse and search wisdom templates from various sources
- Profile Management: User settings and custom wisdom creation
- Responsive Design: Mobile-first design with Tailwind CSS v4
- Protected Routes: Authentication-based access control
- React 19 - Modern React with hooks and functional components
- React Router - Client-side routing and navigation
- Tailwind CSS v4 - Utility-first CSS framework
- Context API - State management for authentication
- Vite - Fast build tool and development server
src/
βββ components/
β βββ auth/
β β βββ ProtectedRoute.jsx
β βββ layout/
β β βββ Sidebar.jsx
β βββ ui/
βββ contexts/
β βββ AuthContext.jsx
βββ hooks/
βββ pages/
β βββ LandingPage.jsx
β βββ LoginPage.jsx
β βββ SignupPage.jsx
β βββ DashboardPage.jsx
β βββ WisdomTemplatesPage.jsx
β βββ ProfilePage.jsx
βββ utils/
βββ App.jsx
βββ main.jsx
βββ index.css
- Primary: Forest Green (#388E3C) - Growth and reflection
- Background: Soft Beige (#F5F5DC) - Calm atmosphere
- Card Background: Warm Cream (#F5F9EB) - Content areas
- Accent: Warm Gold (#D4AC0D) - Highlights and insights
- Destructive: Red (#D32F2F) - Errors and warnings
- Headlines: Alegreya (serif) - Elegant and intellectual
- Body Text: PT Sans (sans-serif) - Modern and readable
- Node.js (v18 or higher)
- npm or yarn
- Clone the repository:
git clone <repository-url>
cd wisdompractice- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:5173
npm run buildThe application includes a demo authentication system:
- Login: Use any email/password combination
- Signup: Create a new account with validation
- Protected Routes: Dashboard, Wisdom Templates, and Profile require authentication
- Local Storage: User session is persisted locally
- Hero section with Wisdom Compass branding
- Feature highlights and philosophy quotes
- Call-to-action buttons for login/signup
- Form validation and error handling
- Google OAuth integration (UI only)
- Responsive design with background imagery
- Welcome message and user statistics
- Progress tracking and category breakdown
- Daily wisdom practice logging
- AI-powered suggestions
- Custom wisdom creation modal
- Searchable wisdom library
- Category filtering and pagination
- Wisdom detail modals
- Add to practice functionality
- User profile editing
- Custom wisdom management (CRUD operations)
- Notification preferences
- Account statistics
- Responsive navigation menu
- Active route highlighting
- Logout functionality
- Mobile-friendly design
- Real-time password strength indicators
- Required field validation
- Error message display
- Mobile-first approach
- Collapsible sidebar navigation
- Touch-friendly interactions
- React Context for authentication
- Local state for forms and UI
- Optimistic updates for better UX
- Semantic HTML structure
- ARIA labels and descriptions
- Keyboard navigation support
- High contrast color scheme
- Create a new page component in
src/pages/ - Add the route to
App.jsx - Wrap with
ProtectedRouteif authentication is required
- Use Tailwind CSS utility classes
- Custom colors defined in
tailwind.config.js - Component-specific styles in individual files
- Replace mock data with actual API calls
- Implement proper error handling
- Add loading states and optimistic updates
- Real Authentication: Integrate with backend services
- Data Persistence: Database integration for wisdom entries
- Charts & Analytics: Chart.js integration for progress visualization
- Notifications: Push notifications and email reminders
- Social Features: Wisdom sharing and community features
- Mobile App: React Native or PWA implementation
- All components are functional components using React hooks
- Tailwind CSS v4 provides modern CSS features
- Google Fonts are loaded dynamically for better performance
- The application is fully responsive and accessible
- Mock data is used for demonstration purposes
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.
Wisdom Compass - Navigate your personal growth journey with ancient wisdom and modern technology.