I've made it only show on hover, but to be honest I think I like it better when they're always visible. Let me know what you think.
This uses the same method as the copy button for module usage which might be a bit hacky, but since CodeBlock is only used on the landing page I think it should be fine. Otherwise making this an actual island would be preferable I think.
I've made it only show on hover, but to be honest I think I like it better when they're always visible. Let me know what you think.
This uses the same method as the copy button for module usage which might be a bit hacky, but since
CodeBlock
is only used on the landing page I think it should be fine. Otherwise making this an actual island would be preferable I think.https://user-images.githubusercontent.com/2737650/191625383-038d8887-e019-4e87-95d4-1469af5fe2c5.mp4