Skip to content

Add tabbed install block#21

Merged
grega merged 5 commits intomainfrom
install-block
Apr 1, 2026
Merged

Add tabbed install block#21
grega merged 5 commits intomainfrom
install-block

Conversation

@maxelkins
Copy link
Copy Markdown
Collaborator

Summary

  • Add tabbed install block on the homepage
  • Follows w3c implementation example

Note

I suspect most people will want to use brew? Since first tab and slightly hidden curl manual option.
...Hmm wonder if we could prioritise curl option depending on UA?

No worries if we'd prefer to surface both options on the page, the updated styles of the code block would still be useful.

Chosen not to create a more generalise "tab" component for now since this is the only place its used.

@maxelkins maxelkins marked this pull request as ready for review April 1, 2026 19:30
@grega
Copy link
Copy Markdown
Owner

grega commented Apr 1, 2026

Very nice 👍

Brew is definitely the better first choice, and can be used on either macOS or Linux, and probably WSL2 on Windows. cURL is always a solid backup option for those who'd rather not use a package manager (I assume a pretty small minority).

@maxelkins
Copy link
Copy Markdown
Collaborator Author

Great!

Forgot need to update the tests, will do that 👍

@maxelkins maxelkins requested a review from grega April 1, 2026 22:04
@maxelkins
Copy link
Copy Markdown
Collaborator Author

g2g

@maxelkins maxelkins mentioned this pull request Apr 1, 2026
8 tasks
@grega grega merged commit 5ce85cc into main Apr 1, 2026
5 checks passed
@grega
Copy link
Copy Markdown
Owner

grega commented Apr 1, 2026

I'll hit the Actions website deploy button now so it'll be published right away...

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