/* global React */ const { useState: usePbState } = React; /* Lead-magnet download band — captures the email via Web3Forms (so the owner is notified at yaro@pausa.pt) and then serves the PDF. */ const PLAYBOOK_KEY = "e1f43f3f-17b9-4164-a588-cc235cdb160d"; const PLAYBOOK_URL = "https://manual.pausa.pt/"; const PB_POINTS = [ "What's really driving performance risk in your leadership team", "The five pillars Pausa tracks: sleep, stress, recovery, attention, behaviour", "How to read your Energy Load Index", "A first-step protocol for your 90 days", ]; function PbCheck() { return ( ); } function DownloadIcon() { return ( ); } function Playbook() { const [email, setEmail] = usePbState(""); const [status, setStatus] = usePbState("idle"); // idle | sending | done const [err, setErr] = usePbState(""); function triggerRedirect() { window.open(PLAYBOOK_URL, '_blank', 'noopener,noreferrer'); } async function submit(ev) { ev.preventDefault(); if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email.trim())) { setErr("Enter a valid email so we can send it over."); return; } setErr(""); setStatus("sending"); const payload = { access_key: PLAYBOOK_KEY, subject: "New Leader Wellbeing Manual request — " + email.trim(), from_name: "Pausa · Manual request", email: email.trim(), resource: "The Leader Wellbeing Manual", message: email.trim() + " requested The Leader Wellbeing Manual from pausa.pt.", }; try { await fetch("https://api.web3forms.com/submit", { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json" }, body: JSON.stringify(payload), }); } catch (e) { /* never block the download on a network hiccup */ } setStatus("done"); triggerRedirect(); } return (
Free resource

The Leader Wellbeing Manual

A practical guide for founders and leadership teams: understand your energy load, spot early burnout signals, and build a protocol that holds under pressure.

The Leader Wellbeing Manual

Pausa · Lisbon · 2026 · Free {status === "done" ? (

Your download is starting.

Thanks — the manual is opening now.{" "} Open again.

) : (
{ setEmail(e.target.value); if (err) setErr(""); }} placeholder="your@email.com" aria-label="Your email" /> {err ? {err} : null}

PDF · Free · No spam.

)}
); } Object.assign(window, { Playbook });