Mira Astro documentation

Conditions and treatments

Describe the conditions you treat and the treatments you offer, each with its own page, price and illustration.

Patients search for what hurts (“sciatica”, “frozen shoulder”), not for treatment names. Mira gives every condition its own page, which lists the signs and links to the treatments that help, and every treatment its own page, which lists its length, price and who offers it.

Conditions

Each condition is a file in src/content/conditions/en/. The file name is its address: sciatica.md is published at /conditions/sciatica/.

---
title: Sciatica
summary: Pain that runs from the lower back down one leg, sometimes with tingling or numbness.
area: back-neck
areaLabel: Back & neck
icon: zap
art: condition-sciatica
kind: physio
symptoms:
  - Pain spreading down one leg
  - Tingling or numbness in the foot
treatments: [physio-assessment, manual-therapy, acupuncture]
order: 2
---

## What usually causes it

Write about the condition here, in Markdown.
Field What it does
title, summary The name and one or two sentences, used on cards, the page and in search results.
area, areaLabel The body area it belongs to. area groups conditions in the list block and filters with area:; areaLabel is how it’s shown.
icon A Lucide icon name, shown when there’s no illustration.
art An illustration from src/assets/art/, shown on cards and the page header.
kind physio, holistic or massage: the colour of its badge.
symptoms A list shown as “Common signs” on its page.
treatments Treatment file names, shown as “Treatments that can help”.
order Lower numbers come first.

Every condition page ends with a booking strip and the medical disclaimer.

Treatments

Each treatment is a file in src/content/treatments/en/, published at /treatments/<file-name>/.

---
title: Herbal heat therapy
summary: Warm herbal oils and compresses to soothe stiff joints and tired muscles.
kind: holistic
icon: flame
duration: 45
price: 50
art: herbal-heat-therapy
order: 5
---
Field What it does
kind physio, holistic or massage. Groups the treatment menu, colours the badge and picks which therapists the page shows.
duration Length in minutes.
price The “from” price, as a number, shown in your currency. Leave it out to hide the price.
image, imageAlt An optional photo.
art An illustration from src/assets/art/.

A treatment’s page lists the conditions it helps (any condition whose treatments includes it), therapists of the same kind, a booking strip and the disclaimer.

Showing them on a page

- type: conditions
  variant: grid          # or list, grouped by body area
  area: back-neck        # optional: one area only
  limit: 8               # optional

- type: treatments
  variant: menu          # or cards
  kind: holistic         # optional: one kind only
  items: [acupuncture, herbal-heat-therapy]   # optional: these, in this order

The body-map block links points on a figure to condition pages; the parts are head, neck, shoulder, elbow, wrist, upper-back, lower-back, hip, knee and ankle.

Writing about health

Say what a treatment helps with or may relieve, never that it cures. Many countries regulate health claims, including the UK’s ASA, Australia’s AHPRA and India’s Drugs and Magic Remedies Act. The disclaimer block adds a standard note, but it doesn’t replace careful wording.