Deploy your local alternative to the well known online climbing guide platforms with LocalCrag to keep control over all data in the crags you are developing!
Currently, a lot of the internal navigation is handled by click event handlers. Ideally, all of those references should be proper <a href> links, so you can use browser features like "Open in a new tab" or "Copy link". To keep the SPA feeling, normal click events should ignore the default browser link behavior and replace it with internal routing.
This works already fine for the breadcrumb and the line links for topo images but not for the main menu and crag/sector/area lists.
In the gallery branch I just implemented the entityLink pipe. You can use it like so <a [routerLink]="entity | entityLink">. Currently it supports creating links for Lines, [...], Crags and Users.
Currently, a lot of the internal navigation is handled by
click
event handlers. Ideally, all of those references should be proper<a href>
links, so you can use browser features like "Open in a new tab" or "Copy link". To keep the SPA feeling, normal click events should ignore the default browser link behavior and replace it with internal routing.This works already fine for the breadcrumb and the line links for topo images but not for the main menu and crag/sector/area lists.