import type { Vertical } from "./verticals"; import { VERTICALS } from "./verticals"; export type NavItem = { label: string; href: string; external?: boolean }; export type SiteContent = { site: { productName: string; taglineShort: string; taglineLong: string; languages: { available: string[]; default: string; uiEnabled: boolean }; }; nav: { items: NavItem[]; login: NavItem; contact: NavItem; }; hero: { kicker: string; headline: string; subheadline: string; supportingLine: string; ctas: { label: string; href: string; external?: boolean; variant: "primary" | "secondary" }[]; microProof: { label: string; value: string }[]; }; howItWorks: { title: string; steps: { n: number; title: string; body: string; outputs: string[] }[]; diagramAlt: string; }; proofPrimitives: { title: string; items: { name: string; oneLiner: string; links?: string[] }[]; }; sectorIndex: { title: string; intro: string; featuredIds: string[]; }; pressureProfiles: { title: string; items: { name: string; symptom: string; fix: string }[]; }; pricing: { title: string; lede: string; tiers: { free: { title: string; price: string; included: string[] }; subscription: { title: string; price: string; included: string[] }; payg: { title: string; price: string; included: string[] }; }; slider: { title: string; steps: { receipts: number; unitUsd: number; monthlyUsd: number }[]; note: string; }; notes: string[]; }; api: { title: string; lede: string; baseUrl: string; endpoints: { method: "POST" | "GET"; path: string; purpose: string; fields?: { name: string; type: string; required: boolean; example: string }[]; responseExample?: Record; }[]; codeSamples: { label: string; language: string; code: string }[]; }; whitepaper: { title: string; lede: string; bullets: string[]; links: { label: string; href: string; external?: boolean }[]; }; legal: { privacy: { title: string; body: string }; terms: { title: string; body: string }; }; footer: { oneLiner: string; links: NavItem[]; }; getVerticalById: (id: string) => Vertical | undefined; verticals: Vertical[]; }; export const SITE: SiteContent = { site: { productName: "if.trace", taglineShort: "Confidential work → open verification.", taglineLong: "Proof that third parties can check without logins—without exposing your source.", languages: { available: ["en", "fr"], default: "en", uiEnabled: false }, }, nav: { items: [ { label: "Pricing", href: "/pricing/" }, { label: "API", href: "/api/" }, { label: "Whitepaper", href: "/whitepaper/" }, ], login: { label: "Login", href: "https://api.infrafabric.io/login", external: true }, contact: { label: "Contact", href: "/contact/" }, }, hero: { kicker: "No-login integrity receipts", headline: "Prove an output matches a confidential source.", subheadline: "Publish a receipt. Anyone can verify the bytes later—without access to your internal systems.", supportingLine: "Verified means the hashes match (black/white). It does not imply truth, compliance, or interpretation.", ctas: [ { label: "See a live receipt", href: "https://infrafabric.io/static/trace/6qRgcR01kw_qNo63Dbs_ob9n", external: true, variant: "primary", }, { label: "Read the paper", href: "/whitepaper/", variant: "secondary" }, ], microProof: [ { label: "What is verified", value: "The output bytes match the receipt hash." }, { label: "What is not verified", value: "Whether the output is correct, true, or compliant." }, ], }, howItWorks: { title: "How it works", steps: [ { n: 1, title: "Keep the source private", body: "You do not publish the confidential source.", outputs: ["source_sha256"] }, { n: 2, title: "Hash what you will share", body: "You hash the output you can show to others.", outputs: ["output_sha256"] }, { n: 3, title: "Publish a receipt", body: "A receipt binds source → output so the debate stays grounded.", outputs: ["receipt_url"] }, { n: 4, title: "Third parties verify", body: "They verify hashes match—no logins.", outputs: ["verified: true/false"] }, ], diagramAlt: "Flow: keep source private → hash the output → publish a receipt URL → third parties verify. End state is VERIFIED if hashes match, otherwise FAIL.", }, proofPrimitives: { title: "What you get (black/white)", items: [ { name: "Stable proof links", oneLiner: "Share a URL that survives handoffs and time.", links: [ "https://infrafabric.io/static/trace/", "https://infrafabric.io/static/pack/", "https://infrafabric.io/static/pack/.md", ], }, { name: "Offline bundles", oneLiner: "For reviewers who can’t log in or need offline verification.", links: ["https://infrafabric.io/static/hosted/review/trace-bundles//index.html"], }, { name: "Offline verifier", oneLiner: "Verify bundles offline (no InfraFabric install required).", links: ["https://infrafabric.io/static/hosted/iftrace-offline.html", "https://infrafabric.io/static/hosted/iftrace.py"], }, { name: "HTML fallbacks", oneLiner: "Some reviewers can open HTML but refuse downloads—publish both." }, { name: "Quantum-ready (optional)", oneLiner: "A post-quantum receipt can exist for the trace (QUANTUM READY; not a claim of quantum security)." }, ], }, sectorIndex: { title: "Browse by sector", intro: "Same mechanism, different pressure.", featuredIds: ["public-sector", "enterprise", "research", "professional-services"], }, pressureProfiles: { title: "Common failure modes", items: [ { name: "External reviewers cannot log in", symptom: "They refuse account creation or downloads.", fix: "HTML view + offline bundles + stable URLs.", }, { name: "Vendor handoff breaks the proof chain", symptom: "Links, access, or context disappears after the handoff.", fix: "No-login proof links that survive time." }, { name: "Disputes months later", symptom: "People argue about what existed at the time.", fix: "Receipts bind source → output; integrity is checkable later." }, ], }, pricing: { title: "Pricing", lede: "One thing priced: the proof surface.", tiers: { free: { title: "Free", price: "$0", included: ["10 receipts / month", "Public receipt URLs", "HTML view"] }, subscription: { title: "Subscription (sliding scale)", price: "$9.99+ / month", included: ["Receipt creation + verification", "Predictable monthly pricing", "Unit price decreases with volume"], }, payg: { title: "Pay as you go", price: "$0.12 / receipt", included: ["No subscription", "Same verification surface"] }, }, slider: { title: "Subscription calculator", steps: [ { receipts: 100, unitUsd: 0.1, monthlyUsd: 9.99 }, { receipts: 1000, unitUsd: 0.07, monthlyUsd: 70.0 }, { receipts: 10000, unitUsd: 0.06, monthlyUsd: 600.0 }, { receipts: 25000, unitUsd: 0.05, monthlyUsd: 1250.0 }, ], note: "The unit price is shown at the plan breakpoints. If you need volumes above 25,000/month, the unit price continues at $0.05 unless explicitly agreed otherwise.", }, notes: [ "We verify integrity (hashes), not correctness or truth.", "Large file egress or unusual storage can incur overages; see Terms.", ], }, api: { title: "API", lede: "Implementation ABC. Copy/paste examples. A real endpoint once the service is live.", baseUrl: "https://api.infrafabric.io", endpoints: [ { method: "POST", path: "/v1/trace", purpose: "Create a receipt", fields: [ { name: "source_sha256", type: "hex", required: true, example: "84730eea481d385d77ec2ee6fc3416c7156c4ff6e2cccaae6fbed649511138ed" }, { name: "output_sha256", type: "hex", required: true, example: "c306c5964c2945727d9b6840678db6013c49275acb89d2dfc09b9ce1b4808cc3" }, { name: "metadata", type: "object", required: false, example: "{\"kind\":\"report-summary\",\"public_title\":\"Q4 review pack\"}" }, ], responseExample: { shareId: "6qRgcR01kw_qNo63Dbs_ob9n", receipt_url: "https://infrafabric.io/static/trace/6qRgcR01kw_qNo63Dbs_ob9n", }, }, { method: "GET", path: "/v1/trace/{shareId}", purpose: "Fetch receipt data" }, ], codeSamples: [ { label: "curl", language: "bash", code: "curl -sS -X POST https://api.infrafabric.io/v1/trace \\\n -H 'Authorization: Bearer $IFTRACE_API_KEY' \\\n -H 'Content-Type: application/json' \\\n -d '{\"source_sha256\":\"...\",\"output_sha256\":\"...\"}'", }, { label: "Node", language: "js", code: "const res = await fetch('https://api.infrafabric.io/v1/trace', {\n method: 'POST',\n headers: {\n Authorization: `Bearer ${process.env.IFTRACE_API_KEY}`,\n 'Content-Type': 'application/json'\n },\n body: JSON.stringify({ source_sha256: '...', output_sha256: '...' })\n});", }, ], }, whitepaper: { title: "Whitepaper", lede: "The receipt-first sequence, documented with verifiable artifacts.", bullets: [ "Hash the source → hash the output → publish a trace → share no-login receipts → optional offline bundles.", "Verified means hashes match (black/white).", "Not implied: truth, compliance, or interpretation.", ], links: [ { label: "Read the paper (HTML)", href: "https://infrafabric.io/static/hosted/review/if-trace-paper-update/2025-12-28/review-pack.html", external: true, }, { label: "Get the full pack", href: "https://infrafabric.io/static/hosted/review/if-trace-paper-update/2025-12-28/", external: true }, ], }, legal: { privacy: { title: "Privacy", body: "if.trace is built to keep confidential work confidential.\n\nWhat we store by default:\n- Receipt data (hashes and non-sensitive metadata you choose to attach).\n- Operational logs needed to keep the service reliable (e.g., timestamps and request identifiers).\n\nWhat we do not need:\n- Your confidential source files.\n\nIf you upload or paste content into any test tools, treat that content as non-confidential.\n\nIf you contact us by email, we will use your email only to reply to your request.\n\nWe do not sell contact lists.\n", }, terms: { title: "Terms", body: "if.trace provides integrity receipts.\n\nBlack/white meaning:\n- VERIFIED means hashes match.\n- It does not mean the content is true, correct, compliant, safe, or endorsed.\n\nUsage:\n- You are responsible for what you choose to publish and what metadata you attach.\n- Do not upload confidential sources to public demo tooling.\n\nPricing and overages:\n- Subscription pricing follows the published sliding scale breakpoints.\n- Pay-as-you-go is billed per receipt.\n- If your usage involves unusually large artifacts (egress, storage, or bandwidth beyond typical receipt traffic), we may apply reasonable overages. Any overage policy change is documented before billing.\n\nAvailability:\n- The marketing site may describe features that depend on API availability. The service is considered live only when the API is operational and tested.\n", }, }, footer: { oneLiner: "Integrity, not interpretation.", links: [ { label: "Privacy", href: "/privacy/" }, { label: "Terms", href: "/terms/" }, { label: "Contact", href: "/contact/" }, ], }, getVerticalById: (id) => VERTICALS.find((v) => v.id === id), verticals: VERTICALS, };