# Footer & Call To Action

## Footer & Call To Action

**Files:** `src/config/config.toml`, `src/i18n/en.json`, `src/config/social.json`, `src/content/sections/english/call-to-action.md`, `src/layouts/components/global/footer/` · **Skill level:** Beginner

In the Tina edition, the footer text is under **Interface labels > Footer** in `/admin/`, and the layout is under **Site settings > Settings > Layout**. In the Sanity edition, the text is under **Interface labels > Footer** in the Studio, and the layout and social links are in **Site settings**.

### Choose A Footer Layout
```toml
# src/config/config.toml
[settings.layout]
  footer         = "default"       # default | minimal | large
  footerWordmark = "interactive"   # interactive | static
```

| Layout    | What it shows                                                                                         |
| --------- | ----------------------------------------------------------------------------------------------------- |
| `default` | Logo, description, latest release pill, status badge, social icons, link columns, a large brand wordmark, copyright, and language switch |
| `minimal` | One row: logo, the last menu column (legal links), social icons, copyright, and language switch       |
| `large`   | Logo, description, and social icons beside a newsletter form, then the link columns, then a row with the status badge, language switch, and copyright |

`footerWordmark` sets the large brand name at the bottom of the `default` footer: `interactive` draws it in dots that follow the cursor, `static` shows plain text. A page can use another layout with `footerLayout: "minimal"` in its frontmatter.

### Footer Text
Edit `footer` in `src/i18n/en.json` (and the file for each other language):

```json
"footer": {
  "description": "The developer cloud for shipping apps, APIs, databases, and background jobs without managing servers.",
  "copyright": "© {year} {brand}. All rights reserved.",
  "status": "All systems operational"
}
```

- `{year}` becomes the year of the build and `{brand}` becomes `site.title`, so the year updates each time you rebuild the site.
- `status` is the text of the green status badge, which links to `/status/`.
- For a one-language site you can set the text in `config.toml` instead: `footerDescription` under `[settings]`, and `text` under `[settings.copyright]`.

### Parts Of The Default Footer
| Part                 | Where it comes from                                                                      |
| -------------------- | ---------------------------------------------------------------------------------------- |
| Latest release pill  | The newest entry in `src/content/changelog/`. Hidden when there are no entries          |
| Status badge         | Links to `/status/`. To link elsewhere or remove it, edit `src/layouts/components/global/footer/FooterStatus.astro` |
| Social icons         | `src/config/social.json`                                                                 |
| Link columns         | `footer` in `src/config/menu.en.json`. See [Menus](/kivo/customization/menus/)           |
| AI links row         | `FooterAi.astro`: "Ask AI about this page", Markdown copy, and `llms.txt`. Turn off with `[settings.pageActions] footer = false`. See [AI Links & llms](../../features/ai-links-llms/) |
| Language switch      | `FooterLanguages.astro`. Shown when more than one language is enabled                     |
| Theme credit         | `FooterCredit.astro`. Editable in `config.toml`: see below                                |

All three footer layouts show the AI links row, the language switch, and the theme credit.

### The Theme Credit
Every footer ends with the theme credit, which is also the last line of `llms.txt`. Edit it in `config.toml`:

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

### Social Links
`src/config/social.json` lists your profiles. Change `url`, set `enable: false` to hide one, or add a new one with an SVG icon from `src/assets/images/icons/`:

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

### The Call To Action Above The Footer
Every page ends with a call-to-action band above the footer, except the 404 pages, `/elements/`, and the log-in, sign-up, and reset screens. Its default content is `src/content/sections/english/call-to-action.md`: eyebrow, title, description, two buttons, an animated deploy pipeline, and an install command.

```yaml
options:
  layout: "default"      # default | split | band | newsletter
  appearance: "saas"     # saas | dark | light | accent
```

| Layout       | What it shows                                                     |
| ------------ | ----------------------------------------------------------------- |
| `default`    | A centered card with floating icons and the deploy pipeline      |
| `split`      | Copy and button left, the install command card right             |
| `band`       | A slim row: title, one line, and a button                        |
| `newsletter` | Copy left, an email form right (uses `[settings.subscription]`)  |

To change or hide it on **one page**, add a `ctaSection` block to that page's file:

```yaml
ctaSection:
  enable: false          # hide it on this page
```

```yaml
ctaSection:
  title: "Ready to migrate?"
  button:
    label: "Book a migration call"
    url: "/contact/"
```

<Aside type="tip">
  In the title, `**bold text**` is shown in your primary color on the default
  card. Use it to highlight the key phrase.
</Aside>

### Do It With AI
```text
Set the footer to the [minimal | large] layout in src/config/config.toml. Change footer.description
in each file in src/i18n/ to "[TEXT]", translated. Update src/config/social.json with my profiles: [LINKS],
and disable the others. Then rewrite call-to-action.md in each folder in src/content/sections/
for my product, keeping every key and option.
```