import { __ } from "@wordpress/i18n"; import React from "react"; import { I } from "../../analytics/components/common/icons"; import { CopyIcon, FauxBtn } from "./primitives"; /** * Inert mock of Pro's Content Intelligence Overview * (betterdocs-pro/react-src/admin/content-intelligence/views/CIOverviewView.js). * * Same three bands as the real screen, in the same order: the KPI strip that * answers "how is the knowledge base doing", the "this week's top action" hero * with the evidence behind it, and the module tiles that navigate. Numbers are * invented but plausible for a mid-size knowledge base — the point is that a * Free user recognises this screen the day they upgrade. */ // Per-module accent, copied from Pro so the same hue keys the same module in // both plugins (gaps green, stale amber, duplicates violet, health blue). const ACCENT = { gaps: "#00b884", stale: "#f59e0b", duplicates: "#8b5cf6", health: "#3b82f6" }; const GRADE_COLOR = "#16C098"; function Kpi( { label, color, icon: Icon, children, footer } ) { return (
{ __( "128 reader signals point to this missing topic. It's your highest-demand gap, and no doc covers it yet.", "betterdocs" ) }