Smart Wellness & Relaxation Reminder Tool

Smart Wellness & Relaxation Reminder

Create a personalized schedule to nurture your mind and body.

Your Reminders

You have no reminders set. Add one from the 'Add New Reminder' tab!

Generated by the Smart Wellness & Relaxation Reminder Tool.

`; // Use html2canvas to render the clean content // We append it to the body to render, then remove it document.body.appendChild(pdfContent); html2canvas(pdfContent).then(canvas => { const imgData = canvas.toDataURL('image/png'); const imgProps = doc.getImageProperties(imgData); const pdfWidth = doc.internal.pageSize.getWidth(); const pdfHeight = (imgProps.height * pdfWidth) / imgProps.width; doc.addImage(imgData, 'PNG', 0, 0, pdfWidth, pdfHeight); doc.save('wellness-schedule.pdf'); // Clean up by removing the temporary element document.body.removeChild(pdfContent); }); }); // --- Utility Functions --- const formatTime = (timeString) => { const [hourString, minute] = timeString.split(':'); const hour = +hourString % 24; return (hour % 12 || 12) + ":" + minute + (hour < 12 ? " AM" : " PM"); }; // --- Initial State --- updateTabs(); // Set the initial view renderReminders(); // Render the initial empty state });
Scroll to Top