Technical settings

Check Menu Links

Navigation is not hardcoded in the header component. All links come from src/config/nav.ts, with optional children for dropdown menus.

  • nav.header — Top menu (desktop + mobile)
  • nav.footer — Bottom links
  • Each item: label, labelTr, href, hrefTr

Feature flags

Some items are added only when sector.features is true, e.g. blog or howItWorks. If a link is missing, check sector.ts before nav.ts.


                ...(f.blog ? [{
  label: "Blog", labelTr: "Blog",
  href: "/blog", hrefTr: "/tr/blog",
}] : []),
              

                {
  label: "Guide", labelTr: "Rehber",
  href: "/docs", hrefTr: "/tr/rehber",
  children: [
    { label: "Overview", labelTr: "Genel bakış",
      href: "/docs", hrefTr: "/tr/rehber" },
  ],
},
              

Keep routes in sync

href and hrefTr must match real pages. After adding a nav link, ensure the path exists and is listed in routes.ts.