Skip to content

Trainer Cards

File: snippets/trainer-cards.liquid

Used in sections: trainers

Screenshot not yet added.
Save as docs/src/assets/screenshots/snippet-trainer-cards.png

Description

Trainer Cards

Renders a grid of trainer person cards with data attributes for country and language filtering. Each card links to the trainer’s person page.

Features:

  • Outputs data-country and data-languages attributes for JS-based filtering
  • Responsive grid sizing (1/2, 1/4, 1/6 column widths)
- Links each card to /pages/person/{handle}

Usage

{% render 'trainer-cards' %}