zc2 0.0.52

P2P compute broker with yen-denominated billing, WAL, and broker mesh support
import { MACHINE } from "../lib/format";

/** What joining the public squad means. Shown at setup (where the owner
 * agrees) and on the Squads screen (where it stays readable). */
export const CONSENT_POINTS: { title: string; body: string }[] = [
  {
    title: "Who can send jobs",
    body: `The public squad is the default for every node: anyone on Zakuro can send this ${MACHINE} a job. Jobs run in a sandbox and never see your files.`,
  },
  {
    title: "What you earn",
    body: "You are paid at your own price for the time a job runs. Each job shows on the Jobs screen with its source, its squad and the amount.",
  },
  {
    title: "Energy and heat",
    body: `A running job uses your ${MACHINE}'s processor, and its GPU if you share it. Expect more fan noise, heat and power use while one runs. Turn on "Only when plugged in" in Resources to keep jobs off the battery.`,
  },
  {
    title: "Pause or leave",
    body: "The Sharing switch in the sidebar, or Pause in the menu bar, stops new jobs at once; a running job wraps up first. To leave the public squad, turn Sharing off. You can join again any time.",
  },
];

export function ConsentList() {
  return (
    <div className="grid gap-2.5">
      {CONSENT_POINTS.map((p) => (
        <div key={p.title} className="grid gap-0.5">
          <b className="text-[12.5px] font-semibold">{p.title}</b>
          <span className="text-[12.5px] leading-snug text-fg-dim">{p.body}</span>
        </div>
      ))}
    </div>
  );
}