Skip to content
New: Customize your theme with an AI assistant. Read the guide

Files: src/config/menu.en.json, src/config/menu.fr.json, src/config/menu.ar.json · Skill level: Beginner

In the Tina edition, edit these under Menus at /admin/. In the Sanity edition, open your language in the Studio, then Menus: Header menu and Footer menu.

Each language has its own menu file with two parts: headerPrimary (the menus in the header) and footer (the link columns in the footer). Edit every language’s file when you change a menu. Navigation explains how the menu behaves.

The Order Of The Items

The order in the file is the order on the page. Taskly doesn’t sort menu items, so move an item in the file to move it on the site. The mega menu groups in the shipped files have a weight key, but nothing reads it.

{ "enable": true, "name": "Pricing", "url": "/pricing/" }
  • "enable": true is required: header items without it are hidden. "enable": false hides an item without deleting it.
  • url is an internal path (/pricing/, the language prefix is added for you), a full https:// address, or an anchor.

A Dropdown

Set "hasChildren": true and list the links in children. Each child can have a Lucide icon, a short description, and a color for its icon tile (sun | lime | sky | lilac | orchid | mint; without one, colors rotate):

{
"enable": true,
"name": "Solutions",
"hasChildren": true,
"children": [
{
"enable": true,
"name": "Marketing",
"url": "/solutions/marketing/",
"icon": "Megaphone",
"color": "sun",
"description": "Campaigns that launch on time"
}
]
}

An item with hasChildren only opens its list: it is a button with no link. To link to its page, make that page the first item of the list.

Nested Flyouts

Give a child its own "hasChildren": true and children, and it opens a flyout to the side. It flips if there is no room, and flyouts can nest to any depth. The Resources menu uses this: Integrations → Communication → Chatnest.

A Mega Menu

Set "hasMegaMenu": true on a top item and list the columns in menus. Each group has enable, name, and children (its links). A link with a description shows as an icon row. A mega menu can also show:

  • cta: a promo card. In the desktop panel it shows from extra-large screens up: { "enable": true, "eyebrow": "New", "image": "/images/blog/task-template.svg", "title": "...", "description": "...", "items": [], "button": { "enable": true, "label": "Read the release", "url": "/changelog/..." } }
  • bar: a line of text and a link along the bottom: { "enable": true, "text": "Planning a bigger rollout?", "label": "Talk to sales", "url": "/request-demo/" }

The Pages menu in the demo is a mega menu with four columns, a promo card, and a bottom bar. Note that cta and bar need "enable": true too.

On Phones

You don’t configure anything for phones: the same tree becomes an accordion in the phone menu, with dropdowns, flyouts, and mega menu columns as nested levels.

The Demo Menus

The shipped header has two menus that exist to show off the theme:

  • Home links the three homepages.
  • Pages links every page design, including the log-in screen, the 404 page, and a sample integration.

Most sites set "enable": false on both, or replace them with their own product menu. The footer’s Homepages column is a demo column too.

"footer": [
{
"label": "Company",
"list": [
{ "enable": true, "name": "About us", "url": "/about/" },
{ "enable": true, "name": "Careers", "url": "/careers/" }
]
}
]
  • Footer links are shown unless "enable": false. A column with no visible links is hidden.
  • The default footer has room for three columns next to the logo and the newsletter form. The newsletter footer shows one row and the tiles footer one card per column (Footer & CTA).

Do It With AI

Update the menus in src/config/menu.en.json, menu.fr.json, and menu.ar.json. Header (the
headerPrimary list): [Product (dropdown: ...), Solutions, Pricing, Resources (mega menu with
columns: ...), Contact]. Hide the "Home" and "Pages" demo menus. Footer columns (the footer list):
[Product, Resources, Company]. Use hasChildren and children for dropdowns, and hasMegaMenu and menus
for a mega menu. Use Lucide icon names, keep "enable": true on every visible item (including cta and
bar), and translate the names for each language. Put the items in the order I listed: the file order
is the order on the site.
Type something to search...