[v15] Use download center route for cloud clusters download link in support page#37015
[v15] Use download center route for cloud clusters download link in support page#37015mcbattirola merged 3 commits intobranch/v15from
Conversation
| <a | ||
| class="c12" | ||
| href="https://goteleport.com/docs/cloud/downloads/" | ||
| href="/web/downloads" |
There was a problem hiding this comment.
omg i just noticed this. this is routing in-app right? we need to use the react-router-dom Link so that navigating to this doesn't re-load the entire app. Also we probably dont want to open this in another tab right?
There was a problem hiding this comment.
Link compiles down to a tags, and this is the snapshot. I don't think this will open in another tab because of the relative path (which loads like the Link correctly). you can test it by opening the web app, adding the target="_blank" attribute to any of our links and it works fine
There was a problem hiding this comment.
It looks like this is really opening in a new tab, at least this is how its behaving in my browser.
I'll open a PR on master to use a react-router-dom Link here, then it should work as expected.
I'll wait to merge this backport once the fix is merged, so I backport both together
Backport #36804 to branch/v15