# Customizing Footer

## **Customizing the Footer**

**Files:** `src/layouts/components/global/Footer.astro`, `src/layouts/components/global/FooterTwo.astro`, `src/layouts/components/global/footer/`, `src/i18n/<lang>.json`, `src/config/config.toml` · **Skill level:** Beginner

In Tina and Sanity, the footer text is under **Interface labels > Footer Block** (at `/admin/` or in the Studio), and the settings are under **Site settings > Settings**.

Lumio includes two footer variants and pulls most footer content from configuration and translation files.

- **Logo** – [Update your site's logo](../site-identify-logo/)
- **Social Links** – [Configure site-wide social links](../social/)
- **Footer Menus** – [Customize navigation menus](../menus/)
- **Subscription** – [Set up the subscription form](../subscription/)
- **Copyright & Footer Description** – See below
- **Ask AI Row** – See below
- **Theme Credit** – See below
- **Brand Text** – Controlled by `site.logoText`

### Customizing Copyright Text and Footer Description
Lumio reads its footer copy from the language files:

#### Example: English (`en.json`)
```json {2-3}
"footerBlock": {
  "description": "Duis aute irure dolor in reprehenderit velit esse cillum dolore in fugiat nulla pariatur, excepteur sint",
  "copyright": "Copyright © 2024 Lumio All Rights Reserved.",
  "contactBlockLabel": "Contact",
  "aboutUsLabel": "About us",
  "quickLinksLabel": "Quick Links",
  "officeLabel": "Office",
  "socialLabel": "Social",
  "recentPostsLabel": "Recent Posts"
}
```

1. Open `src/i18n/<lang>.json`, such as `en.json`, `fr.json`, or `ar.json`. Change it in every language.
2. Locate the `"footerBlock"` object.
3. Update `"description"` and `"copyright"`.

`config.toml` has values for these too:

```toml {2} {6}
# src/config/config.toml
footerDescription = ""

[settings.copyright]
  enable = true
  text   = "Copyright © 2024 Lumio All Rights Reserved."
```

- **`footerDescription`:** if you fill it in, it replaces `footerBlock.description` in `Footer.astro`. `FooterTwo.astro` always shows `footerBlock.description`.
- **`copyright.text`:** it shows only when `footerBlock.copyright` is empty in the language file.
- **`copyright.enable`:** `false` hides the copyright line in both footers.

### Ask AI Row
`src/layouts/components/global/footer/FooterAi.astro` is the row that links to AI assistants and the AI-readable files. Change it with `[settings.pageActions]` and `[seo.ai]` in `config.toml`. See [AI Links & llms](../../features/ai-links-llms/).

### Theme Credit
`src/layouts/components/global/footer/FooterCredit.astro` shows the theme credit, on every page. It is editable in `config.toml`:

```toml
# src/config/config.toml
[settings.themeCredit]
  enable = true
  text   = "..."
  url    = "..."
```

The part of `text` in `[brackets]` becomes the link.

### Customizing Brand Text
Lumio does not use a separate `brandName` setting. The visible text next to the logo comes from `site.logoText`:

```toml {5}
# src/config/config.toml
[site]
  logo      = "/images/logo.png"
  logoWhite = "/images/logo-white.png"
  logoText  = "Lumio"
```

That value is rendered by `src/layouts/components/global/Logo.astro`.

### Choosing a Footer Variant
Pages can opt into either footer variant through the base layout:

```astro
// src/layouts/Base.astro
type Props = {
  footer?: "one" | "two";
};
```

- `footer="one"` uses `src/layouts/components/global/Footer.astro`
- `footer="two"` uses `src/layouts/components/global/FooterTwo.astro`, the default