{
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);
})
">
Dec 04, 2025
Best Supplements to Support Recovery and Hydration
Read more
Dec 04, 2025
What are the best mushroom supplements for energy and focus?
Read more
Dec 04, 2025
Why Professional Athletes Trust Fourfive for Their Supplement Needs
Read more
Dec 04, 2025
Top UK Supplements for Enhanced Athletic Recovery and Performance
Read more
Nov 17, 2025
What Are the Benefits of Fourfive Hydration Tablets for Athletes?
Read more
Nov 17, 2025
What Supplements Support Hydration and Electrolyte Balance After Workouts?
Read more
Nov 10, 2025
Feeling Foggy? Lion’s Mane Might Be Your Brain’s New Best Friend
Read more
Oct 13, 2025
The Science Behind Electrolytes: How They Boost Athletic Performance
Read more
Sep 15, 2025
CBD vs Traditional Sleep Aids: Which Is Better for Restful Nights?
Read more
Aug 18, 2025
Reishi Mushrooms UK: The Everyday Benefits You Might Notice
Read more
Jul 23, 2025
Lion’s Mane Is Having a Moment – Here’s Why We’re Into It at fourfive
Read more
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