cncf / cncf/landscapeapp

Incorrect url generation for members in <a> hyperlink

Open
#878 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
253
Forks
116
PR merge metrics
No merged PRs in 30d

Description

This issue applies to both the CNCF and LFAI landscapes, and I believe this is the result of url-generation in this upsteam app.

## What happens?

The url in the `a` element for the members header is incorrect. On click the element functions as expected, but when opened in a new tab the link leads to a 404.

This happens in the [members page](https://landscape.cncf.io/members?category=platinum&grouping=category) when clicking the category link for silver/gold/platinum (CNCF) or associate/general/premier (LFAI) respectively. For clarity, here's a screen shot of the cncf page with the offending link highlighted in a red box:

![Screenshot 2023-04-19 at 14 01 24](https://user-images.githubusercontent.com/17317361/233070193-7c3c5875-2f13-4950-beed-5cfc061d1f83.png)

The hyperlink element looks like this:

```
Platinum

```

The `href` part is wrong, and should redirect to `/card-mode` rather than `card`.

This seems like a very simple fix and I'd be happy to fix it myself, but I have absolutely no experience in NodeJS and have been unable to find exactly where in the code this has to be fixed. If someone can either fix this, or direct me to the file that needs to be edited, that'd be much appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.