📁 last Posts

Healthy Dinner Recipes

Healthy Dinner Recipes The Best Homemade Healthy Dinners for Sustained Fat Loss
You want to lose weight, but the takeout menus keep calling your name. The solution isn't another expensive meal kit or a restrictive di...
Healthy Dinner Recipes One-Pan Dinner Ideas for Weight Loss and Easy Cleanup
You stare into the fridge after a long day. Hunger is setting in, but the thought of chopping, cooking, and scrubbing a mountain of pots fee...
// Blog CTA Close Functionality document.addEventListener('DOMContentLoaded', function() { // Check if CTA box exists on the page const ctaBox = document.querySelector('.blog-cta-box'); const ctaCloseBtn = document.querySelector('.cta-close'); if (ctaCloseBtn && ctaBox) { ctaCloseBtn.addEventListener('click', function() { ctaBox.style.opacity = '0'; ctaBox.style.transform = 'translateY(-20px)'; setTimeout(function() { ctaBox.style.display = 'none'; }, 300); }); } // Optional: Local storage to show CTA less frequently const ctaDismissed = localStorage.getItem('blogCtaDismissed'); if (ctaDismissed && ctaBox) { // If dismissed in last 7 days, don't show const dismissTime = parseInt(ctaDismissed); const oneWeek = 7 * 24 * 60 * 60 * 1000; if (Date.now() - dismissTime < oneWeek) { ctaBox.style.display = 'none'; } } // Update local storage when closed if (ctaCloseBtn) { ctaCloseBtn.addEventListener('click', function() { localStorage.setItem('blogCtaDismissed', Date.now().toString()); }); } });