import { MintelBlock } from "./types"; import type { Block } from "payload"; export const WebVitalsScoreBlock: MintelBlock = { slug: "webVitalsScore", labels: { singular: "Web Vitals Score", plural: "Web Vitals Scores", }, admin: { group: "MDX Components", }, ai: { name: "WebVitalsScore", description: "Displays Core Web Vitals (LCP, INP, CLS) in a premium card layout with automatic traffic light coloring (Good/Needs Improvement/Poor). Use for performance audits or comparisons.", usageExample: "'