import type { GlobalConfig } from "payload";

export const Navigation: GlobalConfig = {
  slug: "navigation",
  access: { read: () => true },
  fields: [
    {
      name: "primaryLinks",
      type: "array",
      fields: [
        { name: "label", type: "text", required: true },
        { name: "href", type: "text", required: true },
      ],
    },
    {
      name: "footerStatusText",
      type: "text",
      defaultValue: "LATENCY: 42ms | CORE STATUS: NOMINAL",
    },
  ],
};
