footer-menu.ts
Footer links, groups, social links, and legal links.
config/footer-menu.ts defines footer navigation. The template populates only links by default. Its footer component also displays groups. For social, it displays only external links that use one of the supported icons. The component does not read legal or the top-level meta.
links
An array of regular footer links. Each item uses the same navigation object as header-menu.ts.
| Order | label.value | label.key | pathname |
|---|---|---|---|
| 1 | About Us | components.footer.nav.about | /about |
| 2 | Terms of Service | components.footer.nav.terms | /terms |
| 3 | Privacy Policy | components.footer.nav.privacy | /privacy |
| 4 | Cookie Policy | components.footer.nav.cookie | /cookies |
groups
An optional object containing link groups. Each key is a group ID. Each group contains title, items, and an optional meta.
title
items
An array of navigation items in the group. Each item uses the navigation fields described below.
meta
Additional group data of type Record<string, unknown>.
social
An optional array of social platform links. Each item uses a navigation object. The template's footer component displays only items with external: true and an icon of github or youtube.
legal
An optional array of links to legal pages. Each item uses a navigation object. The template's footer component does not read this field.
meta
Additional footer configuration data of type Record<string, unknown>. The template's footer component does not read this field.
Navigation item fields
Navigation items can also include badge, visibility, match, children, and meta, using the same field formats as header-menu.ts. The template's footer component does not read these fields.