Add Mollie checkout flow, billing UI, and payment UX polish #71

Merged
uz1mani merged 73 commits from staging into main 2026-03-28 10:28:03 +00:00
24 changed files with 1315 additions and 121 deletions
Showing only changes of commit 5faa0dec80 - Show all commits

View File

@@ -38,8 +38,22 @@ export default function FeatureSlideshow() {
}, [])
useEffect(() => {
const timer = setInterval(advance, 8000)
return () => clearInterval(timer)
let timer: ReturnType<typeof setInterval> | null = null
const start = () => { timer = setInterval(advance, 8000) }
const stop = () => { if (timer) { clearInterval(timer); timer = null } }
const onVisibility = () => {
if (document.hidden) stop()
else start()
}
start()
document.addEventListener('visibilitychange', onVisibility)
return () => {
stop()
document.removeEventListener('visibilitychange', onVisibility)
}
}, [advance])
const slide = slides[activeIndex]