# projects-gallery Specification

## Requirements

### Requirement: Projects listing with filters

The `/proyectos` page MUST list completed projects and MUST allow filtering by type
(residencial/comercial) and by stone line used.

#### Scenario: Listing shows published projects

- GIVEN published projects exist
- WHEN a visitor requests `/proyectos`
- THEN the published projects are listed

#### Scenario: Filtering by type narrows the listing

- GIVEN projects of both residential and commercial types
- WHEN the visitor filters by "comercial"
- THEN only commercial projects are shown

#### Scenario: Filtering by stone line narrows the listing

- GIVEN projects using different stone lines
- WHEN the visitor filters by a stone line
- THEN only projects using that stone line are shown

### Requirement: Project detail and stone linking

Each project MUST display its photos, location, and the stone used, and the stone used MUST link to
its product page.

#### Scenario: Project shows details and links to product

- GIVEN a project using a seeded stone line with a product page
- WHEN the project is displayed
- THEN it shows photos, location, and the stone used
- AND the stone name links to the corresponding product page
