# Person hero

The profile header on a person's page: name, job title, photo, biography, education, past firms and LinkedIn link. It reads everything from the Person entry the page is about, not from its own fields.

## Screenshots

| Variant | Preview |
|---------|---------|
| Default | ![Default](../screenshots/components/person-hero-default.png) |

## What it looks like

A Navy-text section with a thin Navy rule above a large name and job title. Below, on laptop, the portrait (if any) sits in the left four columns and the biography column to its right; without a portrait the text runs in one centred column. Under the biography are "Studied" and "Past Firms" rows (label left, values right) and an underlined LinkedIn link. On mobile everything stacks.

## Typography

- **Name:** `h2` style, rendered as the page `<h1>`.
- **Job title:** `h5`.
- **Biography, fact rows:** `p2` (row labels medium weight).
- **LinkedIn link:** `button` style, underlined.

## Colours

- Text is Navy on the page background. This type does not use `backgroundColour` or `textColour`.

## Used fields

| Field | Type | Effect when set | Effect when empty/removed |
|-------|------|-----------------|---------------------------|
| `heading` | Symbol | No visible effect; the name comes from the Person entry | No visible effect |
| `showHeading` | Boolean | No visible effect | No visible effect |
| `cmsLabel` | Symbol | Internal and analytics label | No visible effect |
| `componentType` | Symbol | "Person hero" | N/A |
| `id` | Symbol | Entry id for preview | No visible effect |

Content shown comes from the Person entry: name, job title, featured image, bio, alumni of, past firms and LinkedIn. Edit those on the Person.

## Behaviour

- Only renders on a Person page; elsewhere nothing is shown.
- The name is always the page `<h1>`.
- Job title, portrait, bio, Studied, Past Firms and LinkedIn each appear only when the Person has them; the biography column widens when there is no portrait.
- Empty list items are ignored.

## Impact of content changes

| Change | Result |
|--------|--------|
| Add or remove the Person's featured image | Portrait column appears or disappears; text re-centres |
| Remove alumni and past firms | Fact rows vanish |
| Clear the LinkedIn value | Link disappears |
| Edit `heading` on this entry | Nothing changes on the page |
