# Campus Catalog

## Purpose

Campus records and campus branding come from the backend database through `GET /api/public/campuses`.

The frontend does not define campus names, campus IDs, mascot labels, online status, descriptions, or per-campus branding in runtime constants.

`frontend/src/shared/constants/campusDisplay.ts` contains only shared helpers and generic labels.
`frontend/tailwind.config.ts` safelists allowed branding utility classes so backend-controlled campus branding can render after production builds.

## Frontend Flow

- Data access: `frontend/src/shared/api/campuses.ts`
- Business mapping and React Query hook: `frontend/src/business/campuses/`
- Runtime consumers use `useCampusCatalog()` and pass mapped `CampusInfo` view models into components.
- Tests use `frontend/src/test-seeds/campuses.ts`.

Runtime code must not import campus records from test seeds or define campus rows in `appData.ts`.
