Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query params for download urls #583

Merged
merged 5 commits into from
Oct 16, 2024
Merged

Conversation

mason-at-pieces
Copy link
Collaborator

Decided to make the logic into a component instead of having it only for the CTA button so that it updates any link, even regular a tags. Then we just import the component into each page with download links on it instead. This is better than injecting the script into the head of each page since only a couple of pages have download links on them out of the hundreds/thousands of pages on the docs site.

Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview Oct 16, 2024 7:26pm

Copy link
Contributor

@tsavo-at-pieces tsavo-at-pieces left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good looks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work

@mason-at-pieces mason-at-pieces merged commit b1ab569 into main Oct 16, 2024
2 checks passed
@mason-at-pieces mason-at-pieces deleted the query_params_for_download_urls branch October 16, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants