Skip to content

Practice Areas

Practice areas are stored in src/content/practice-areas and rendered through list and detail routes.

  • src/content/practice-areas
  • src/pages/practice-areas/index.astro
  • src/pages/practice-areas/[slug].astro
  • src/layouts/PracticeAreaLayout.astro
  • src/components/cards/PracticeAreaCard.astro
  • src/assets/images/practice-areas

The exact fields are defined in src/content.config.ts. A practice-area entry often includes a title, summary, hero image, ordering, featured status, related attorneys, and FAQ content.

The route file src/pages/practice-areas/[slug].astro generates individual pages. Slug behavior depends on the collection loader and file naming.