Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.1club.ai/llms.txt

Use this file to discover all available pages before exploring further.

Areas are the bookable physical spaces in your gym: tennis courts, fitness rooms, soccer fields, studios, pools. Each area belongs to one gym, has an area type for grouping, an hourly price, operating hours, amenities, and a color used on the schedule. You manage areas under Operations > Areas (also reachable via the Resources route in the admin).

The list page

Areas are grouped by gym. Each gym section shows its areas in a sortable row layout with these columns: drag handle, area name, area type, price, status, visibility, and a row menu. Drag a row by its handle to reorder areas inside that gym; the order is what members see in the booking flow. If two admins reorder at the same time, the second save returns a conflict and the list reloads to the latest order. Click Add in a gym section header to create an area scoped to that gym, or open a row to view its details.

Creating or editing an area

The area dialog asks for:
  • Name and Gym - which gym the area belongs to.
  • Area type - the grouping (Court, Room, Field, etc.). Area types are managed under Settings > Area types and carry their own sort order.
  • Description and Images - shown on the public booking pages.
  • Color - the color used for the area’s blocks on the schedule.
  • Price per hour - in your organization’s currency. Used when a booking is created against this area; the booking duration multiplied by this rate seeds the line total before discounts.
  • Max concurrent bookings - how many simultaneous bookings the area accepts (e.g. a 4-court padel area might be set to 4 if you model it as a single resource).
  • Visibility - Public (visible to anyone), Member only (visible after sign-in), or Private (admin-only). The visibility chip appears on the detail page and the row.
  • Status - Active, Maintenance, or Inactive. The schedule page filters its area query to status=active, so non-active areas don’t appear on the calendar.
  • Amenities - multi-select from the organization’s amenity list.
  • Operating hours - per-day open/close times, with an option to fall back to the gym’s default hours.

The area detail page

Click an area row to open its detail page. The header shows the name with action buttons to toggle visibility (cycles Private to Member only to Public), edit, and delete. The body has two cards:
  • Information - area type, price per hour, status chip, color swatch, visibility chip, description, and amenities.
  • Operating hours - the weekly schedule, read-only.
If the area has images, a sortable image gallery sits above the information card. Drag thumbnails to reorder. Deleting an area is destructive: it removes the area, all its bookings, and the invoices linked to those bookings. The confirmation dialog spells this out before you commit.

How areas show up on the schedule

The Schedule page reads active areas and renders one column per area in day view, grouped by area type. Each block on the calendar uses the area’s color (or a hash-generated color if none is set). Hidden area types or hidden uncategorized areas - configured under Settings > Operations > Schedule display - default to off but can be toggled per browser via the resource filter panel. The booking dialog uses the area’s price per hour to seed the price breakdown. A booking policy scoped by area type can override payment timing or refund rules for a subset of areas.