{
loading = true;
fetch($event.detail.new_url)
.then(response => response.text())
.then(data => {
let html_div = document.createElement('div');
html_div.innerHTML = data;
const button = document.querySelector('#blog-pagination .btn');
const href = button.getAttribute('href');
const url = new URL(href, window.location.origin);
const pageValue = url.searchParams.get('page');
if(pageValue && parseInt(pageValue) === parseInt(button.getAttribute('data-total-pages'))) {
document.querySelector('#blog-pagination').style.display = 'none';
}
let html_dom = html_div.querySelector('#blog-grid').innerHTML;
if (document.querySelector('#blog-grid')){
document.querySelector('#blog-grid').innerHTML += html_dom;
}
showingResultCount = document.querySelectorAll('.article-card').length
calculateProgressBarWidth(showingResultCount)
if (html_div.querySelector('#blog-pagination')){
let pagination_dom = html_div.querySelector('#blog-pagination').innerHTML;
if(document.querySelector('#blog-pagination')) {
document.querySelector('#blog-pagination').innerHTML = pagination_dom;
}
}
})
.catch(error => console.error('Error:', error))
.finally(() => loading = false);
})
">
Jul 02, 2025
How CBD Supports Health, Sleep and Recovery the fourfive Way
Read more
May 27, 2025
CBD Supplements for Sleep and Health: What Our Customers Are Saying
Read more
Apr 28, 2025
Unlocking Restful Sleep: The Science Behind Reishi Mushroom
Read more
Apr 01, 2025
Boost Your Health with fourfive: Get Free Gifts When You Spend Over £50!
Read more
Mar 31, 2025
What Are Natural Hydration Powders?
Read more
Mar 07, 2025
Unlock Your Brain’s Potential with Lion’s Mane Supplements
Read more
Feb 03, 2025
Immune Support Vitamins: Helping You Stay Strong Through the Winter
Read more
Jan 09, 2025
Reishi Mushroom for Sleep: A Natural Way to Restful Nights
Read more
Jan 06, 2025
New Year, New You: Prioritising Health and Wellness with fourfive
Read more
Dec 09, 2024
Cordyceps Mushrooms for Sleep: Nature's Secret to Rest and Recovery
Read more
Nov 11, 2024
CBD for Health: The Benefits of CBD and How fourfive Can Help
Read more
Oct 17, 2024
Exploring Mushroom Supplements in the UK: A Beginner's Guide
Read more
Sep 23, 2024
Cordyceps Mushrooms For Athletic Performance
Read more
Sep 16, 2024
Struggling to Sleep? Have You Tried CBD?
Read more
Aug 20, 2024
The Benefits Of CBD For Health: Exploring Our Product Line
Read more