# Footer

## Footer

**Files:** `src/config/config.toml`, `src/config/menu.en.json`, `src/i18n/en.json`, `src/content/sections/english/footer-newsletter-grid.md`, `src/content/sections/english/footer-awards.md` · **Skill level:** Beginner

In the Tina edition, these are **Site settings**, **Menus**, **Interface labels**, and **Section defaults** at `/admin/`. In the Sanity edition, they are **Site settings**, **Menus**, **Interface labels**, and **Sections > Footer newsletter grid** in the Studio.

### Which Footer Each Page Uses
Like the header, the footer is chosen by each route:

| Footer         | Component                    | Used on                                       | What it shows                                                                    |
| -------------- | ---------------------------- | --------------------------------------------- | -------------------------------------------------------------------------------- |
| **Standard**   | `Footer.astro`               | Inner pages and the tax and accounting homepage | Description, phone and contact details, link columns, **Company Desk** link, legal links, social icons, copyright |
| **Office**     | `Footer.astro`, with `footerVariant="office"` | Corporate consulting homepage | Logo, newsletter form, social icons, head office address and phone, link columns, legal links, copyright |
| **Homepage**   | `FooterNewsletterGrid.astro`, with `footerVariant="newsletter-grid"` | Main homepage (`/`) | Newsletter form, logo, social icons, office details, link columns, bottom links, copyright |

The components are in `src/layouts/components/global/`. All three also show the **Ask AI** row (`footer/FooterAi.astro`) and the theme credit (`footer/FooterCredit.astro`).

### Footer Text
The standard and office footers read `footer` in `src/i18n/<lang>.json`:

```json
"footer": {
  "description": "We help businesses make smarter decisions, control risk, and drive sustainable growth.",
  "companyDesk": "Company Desk",
  "headOffice": "Head Office",
  "copyright": "Copyright © {{ year }} Consultiz | All rights reserved."
}
```

- In the copyright, `{{ year }}` becomes the current year, so you only change the firm name. `[settings.copyright] enable = false` in `config.toml` hides it in every footer.
- For a one-language site you can set the text in `config.toml` instead: `footerDescription` under `[settings]`, and `text` under `[settings.copyright]`.
- The **Company Desk** link downloads the file in `companyDesk` under `[settings]` (`"/company-desk.pdf"`, a file in `public/`). Replace the PDF, or point it at another file. Its label is `footer.companyDesk`.

### Contact Details And Links
| Part              | Where it comes from                                                                 |
| ----------------- | ----------------------------------------------------------------------------------- |
| Phone and email   | `[settings.contactInfo]` in `config.toml` (demo values ship there)                  |
| Address and hours | `contactInfo` in `src/i18n/<lang>.json`                                             |
| Link columns      | `footer` in `src/config/menu.en.json`. See [Menus](../menus/) |
| Legal links       | `footerLegal` in the menu files                                                      |
| Social icons      | The enabled entries in `src/config/social.json`                                      |
| Newsletter form   | `[settings.subscription]` in `config.toml`. See [Forms](../forms/) |

### The Homepage Footer
The main homepage has its own footer with all its text in `src/content/sections/english/footer-newsletter-grid.md` (and its copy in each other language):

```yaml
description: "We help businesses make smarter decisions, control risk, and drive sustainable growth."
newsletterTitle: "Newsletter"
newsletterHeading: "Consulting insights, straight to your inbox."
newsletterNote: "Stay informed with our latest consulting insights and business updates."
officeTitle: "Office"
columns:
  - title: "About"
    links:
      - { label: "Who we are", url: "/company/" }
      - { label: "Contact", url: "/contact/" }
bottomLinks:
  - { label: "Privacy policy", url: "/privacy-policy/" }
```

Its link columns are separate from the menu files, so update both when you change your footer links. Its newsletter form, copyright, office details, and social icons follow the same settings as the other footers.

### Ask AI Row And Theme Credit
Every footer has a row of **Ask AI** links and links to the AI-readable files. Change the assistants or turn the row off in `[settings.pageActions]`. Its labels are under `ai` in `src/i18n/<lang>.json`. See [AI Links & llms](../../features/ai-links-llms/).

Every footer also has the theme credit, editable in `config.toml`:

```toml
[settings.themeCredit]
  enable = true
  text   = "..."
  url    = "..."
```

### Social Links
`src/config/social.json` lists your profiles. They all ship with `"enable": false`. Turn on the ones you use and set their `url`:

```json
{
  "main": [
    {
      "enable": true,
      "label": "Linkedin",
      "icon": "/images/icons/linkedin.svg",
      "url": "https://www.linkedin.com/company/your-firm"
    }
  ]
}
```

The enabled links also appear in the header top bar, the contact drawer, and the structured data that describes your organization (`sameAs`).

### The Awards Strip
Some pages end with a strip above the footer: a title, award badges, and social links. Its content is `src/content/sections/english/footer-awards.md`, with a copy in each other language:

```yaml
enable: false   # off by default; pages opt in
title: "Strategies that power growth solutions built for long-term success."
socials:        # demo links: replace with your own accounts
  - label: "LinkedIn"
    icon: "Linkedin"
    url: "https://www.linkedin.com/"
awards:
  - image: "/images/reference-home/footer-award-img1.png"
    alt: "Top Consultant Awards 2025"
```

It is off by default. A page shows it with `footerAwardSection: { enable: true }` in its content file; the main and corporate consulting homepages do this. Pages that can show it are listed in [Sections](../sections/). The award badges are demo content: only show awards your firm has won.