Skip to main content

Services Example

The first part of the services component renders a panel with filter toggles that are computed from the topics appended to each service. These filters are clickable and can be used to fine-tune the list of visible services in the list below.

Note: Regarding the topic category named "Markets" in English (and the translated version of "Markets" in Danish, Finnish, Norwegian and Swedish), these are treated a bit differently than all other topic categories. Due to how it is implemented for NG Nordic's website, switching languages results in a switch of markets. Therefore, when viewing a set of services on the Norwegian version of the website will only show the services available in Norwegian an thus, it is already "filtered" by market as there is no need for writing the description for a service only available in Norway in Finnish, and vice versa. Because of this implementation, the "Markets" filtering panel is removed when shown on all other languages than the default language for a site. The tag itself is also removed from the service in the list.

Markets

Services

Showing all services

Garbage Collection & Demolition

This has the highest priority and will be shown first. If other services have the same priority, then it will be sorted alphabetically.

Demolition
Garbage

Excavator Services

Here is the description for this excavator service.

Demolition

Garbage Collection

Garbage

Creating Topics

TODO: How to create topics.

Properties

Services

Path

Relative path to the folder where a set of services are defined

Service

Image

Name

Description

Link Label

Link Path

Priority

Topics