For decades, the Kamiti area in Nairobi was a place where few dared to live. It was an area where people passed through hurriedly.
Fact‑first reporting that puts you at the heart of the newsroom. Subscribe for full access.
Continue Reading
Unlimited access to all premium content
Uninterrupted ad-free browsing experience
Mobile-optimized reading experience
Weekly Newsletters
MPesa, Airtel Money and Cards accepted
Already a subscriber? Log in
`;
} else {
teaserEl.innerHTML = “”;
}
activeEl.innerHTML = “”;
paywallEl.style.display = “block”;
} else if (now >= saleStart && now <= saleEnd) {
paywallEl.style.display = “none”;
var diffToEnd = saleEnd – now;
var totalSeconds = Math.floor(diffToEnd / 1000);
var days = Math.floor(totalSeconds / (24 * 3600));
var hours = Math.floor((totalSeconds % (24 * 3600)) / 3600);
var minutes = Math.floor((totalSeconds % 3600) / 60);
var seconds = totalSeconds % 60;
activeEl.innerHTML = `
Offer ends in…
${days}Days
${String(hours).padStart(2,’0′)}Hours
${String(minutes).padStart(2,’0′)}Minutes
${String(seconds).padStart(2,’0′)}Seconds
Subscribe Now & Save
`;
} else {
teaserEl.innerHTML = “”;
activeEl.innerHTML = “”;
paywallEl.style.display = “block”;
}
}
function formatTime(ms) {
let totalSeconds = Math.floor(ms / 1000);
const days = Math.floor(totalSeconds / (3600 * 24));
totalSeconds %= 3600 * 24;
const hours = Math.floor(totalSeconds / 3600);
totalSeconds %= 3600;
const minutes = Math.floor(totalSeconds / 60);
const seconds = totalSeconds % 60;
return `${days}d ${hours}h ${minutes}m ${seconds}s`;
}
updateFlashSale();
setInterval(updateFlashSale, 1000);
Follow The Standard
channel
on WhatsApp
Follow The Standard
channel
on WhatsApp
By Jacinta Mutura
