/* global React */
/* Pausa-branded product dashboard mockups — built to match the
Energy Load Index card language (cream card, serif headline, moss bars,
mono micro-labels). No external screenshots. */
function DashTop({ label }) {
return (
pausa
{label}
);
}
/* segmented progress bar à la Energy Load Index */
function Segments({ filled, total = 12, tone = "moss" }) {
return (
{Array.from({ length: total }).map((_, i) => (
))}
);
}
/* ---------- A · Full-body biomarkers (blood · urine · saliva) ---------- */
const SYSTEMS = [
{ name: "Cardiometabolic", v: 88, tone: "good", s: "Optimal" },
{ name: "Inflammation", v: 61, tone: "watch", s: "Monitor" },
{ name: "Hormonal · cortisol", v: 44, tone: "act", s: "Act" },
{ name: "Micronutrients", v: 82, tone: "good", s: "Optimal" },
{ name: "Liver & kidney", v: 79, tone: "good", s: "Good" },
];
function BiomarkerCard() {
return (
Pausa full-body check
84/100
Composite biomarker score · optimised
Blood
Urine
Saliva
11 body systems · tested twice a year
{SYSTEMS.map((s) => (
))}
);
}
/* ---------- B · Four dimensions of wellbeing (vitality) ---------- */
const DIMENSIONS = [
{ name: "Physical health", v: 68 },
{ name: "Emotional health", v: 74 },
{ name: "Mental health", v: 70 },
{ name: "Purpose & values", v: 81 },
];
function WellbeingCard() {
return (
Pausa vitality index
72 · balanced
Four dimensions of wellbeing
{DIMENSIONS.map((d, i) => (
))}
Self-report · 4 minutes · immediate results
);
}
/* ---------- C · Mirror · 360° feedback ---------- */
const MIRROR = [
{ name: "Clarity of direction", self: 58, peers: 79 },
{ name: "Steadiness under pressure", self: 50, peers: 72 },
{ name: "Presence with the team", self: 66, peers: 70 },
{ name: "Sustainable energy", self: 47, peers: 44 },
];
function MirrorCard() {
return (
Pausa mirror · 360° feedback
Aligned · self vs peers
You
Your peers
Blind spot · peers rate your steadiness higher than you do
);
}
/* ---------- D · Energy drains ---------- */
const DRAINS = [
{ name: "Decision fatigue", v: 86, tone: "act", s: "High" },
{ name: "Context-switching", v: 78, tone: "act", s: "High" },
{ name: "Sleep debt", v: 58, tone: "watch", s: "Moderate" },
{ name: "Interpersonal load", v: 52, tone: "watch", s: "Moderate" },
{ name: "Recovery time", v: 34, tone: "good", s: "Protected" },
];
function DrainsCard() {
return (
Pausa energy drains
Elevated · drawing on reserves
Ranked by impact on your energy system
A clear map of what to protect first
);
}
Object.assign(window, { BiomarkerCard, WellbeingCard, MirrorCard, DrainsCard });