# Fees

## Fees

**Files:** `src/content/fees/<language>/-index.md`, `src/content/sections/<language>/fees-fixed-fees.md`, `common.priceFormat` in `src/i18n/<lang>.json` · **Skill level:** Beginner

Covena has a full fees page at `/fees/` and a short fixed-fee table on Home 3 (`/home-family/`). Both are plain text you edit: there is no price calculator and no payment.

<div class="border border-dark">
  ![The Covena fees page](/images/covena/fees.jpg)
</div>

<Aside type="caution" title="The fees are samples">
  Every price, hourly rate and timescale in the demo is illustrative, in
  pounds, with VAT at 20%. Replace them with your own before you publish,
  and keep the same figures in every language. If your regulator requires
  price information for some services, check what it asks for.
</Aside>

### The Fees Page
`src/content/fees/english/-index.md` holds the whole page. The sections show in this order:

| Block                  | What it shows                                                                                                  |
| ---------------------- | -------------------------------------------------------------------------------------------------------------- |
| `feeBases`             | Three cards on how the firm charges: fixed fee, hourly rate, staged fee                                        |
| `fixedFees`            | The fixed-fee table: service, what's included, starting price and typical timescale, with a note under it     |
| `vatNote`              | The VAT line shown with the table                                                                              |
| `hourlyRates`          | The hourly rate for each role                                                                                  |
| The Markdown body      | What each fixed fee covers and how billing works                                                               |
| `corporateFaq`         | Questions about fees, in an accordion                                                                          |
| `ctaPanelCentered`     | The call to action at the end. Leave out a field to use `src/content/sections/<language>/cta-panel-centered.md` |

### Fixed Fees
```yaml
fixedFees:
  title: "Fixed fees"
  description: "Starting prices for straightforward matters..."
  columns: # the table headings
    service: "Service"
    included: "What's included"
    from: "From (ex VAT)"
    timescale: "Typical timescale"
  items:
    - service: "Simple will (one person)"
      included: "Instructions meeting, a draft to check, one round of changes and a witnessed signing"
      from: "£450"
      timescale: "2 to 3 weeks"
  note: "Fees and timescales are illustrative..."
```

Add a row by copying an item, remove one by deleting it. The figure in `from` counts up when the table scrolls into view, so write it as a price with its symbol, such as `"£1,250"`.

### Hourly Rates
```yaml
hourlyRates:
  title: "Hourly rates"
  description: "Your matter is led by a named lawyer..."
  unitLabel: "an hour, ex VAT"
  items:
    - role: "Partner"
      rate: "£320"
    - role: "Senior associate"
      rate: "£260"
```

### VAT
The sample prices are shown without VAT, and the page says so in three places: the page `description`, the `from` column heading ("From (ex VAT)") and `vatNote`. If your prices include VAT, or you don't charge VAT, change all three, and the `note` and `vatLabel` in the Home 3 section below. The VAT rate in the text (20%) is only words: nothing calculates it.

### Fixed Fees On Home 3
Home 3 shows a shorter table from `src/content/sections/<language>/fees-fixed-fees.md`, with a link to `/fees/`. It has its own copy of the prices, so update both when a fee changes.

```yaml
# src/content/sections/english/fees-fixed-fees.md
currency: "£"
fromLabel: "from"
vatLabel: "ex VAT"
items:
  - service: "Simple will (one person)"
    price: 450
    timescale: "2 to 3 weeks"
  - service: "Residential purchase (freehold, up to £500k)"
    price: "1,250" # in quotes to keep the comma
    timescale: "8 to 12 weeks"
```

Here `price` is a number and `currency` is the symbol. The theme puts them together in the order the language uses (see below), and the number counts up.

### Price Format In Each Language
Where the currency symbol goes is set per language in `common.priceFormat` in `src/i18n/<lang>.json`:

| Language | `common.priceFormat`     | Shows as   |
| -------- | ------------------------ | ---------- |
| English  | `{currency}{amount}`     | £1,250     |
| French   | `{amount} {currency}`    | 1 250 £    |
| Arabic   | `{amount} {currency}`    | 1,250 £    |

Numbers follow the language too: French groups thousands with a narrow space and uses a comma for decimals. The Home 3 table uses `priceFormat` for you. On the `/fees/` page, the prices are text, so write them in each language's own format, as the sample files do (`"£1,250"` in English, `"1 250 £"` in French). In French and Arabic, put a no-break space before the symbol so it doesn't wrap onto its own line.

To change the currency, change `currency` in `fees-fixed-fees.md` and the symbol in every price on the fees page, in every language. Check the fee figures elsewhere too, such as the fee questions and the `metaDescription` of the fees page.

### Do It With AI
```text
Update the fees on the Covena site. In src/content/fees/<language>/-index.md, replace the
fixedFees items and hourlyRates items with these: [FEES]. Keep each language's price format
(English "£1,250", French "1 250 £"). Make the same change to the items in
src/content/sections/<language>/fees-fixed-fees.md, where price is a number. Don't change any
other text. Then run npm run astro-check and check /fees/ and /home-family/ in every language.
```