Closed nburka closed 2 years ago
Tested this out and I think there's an edge case that doesn't work as intended:
I think in Step 5 it should be opening the modal for icon B, but isn't.
Also, do we need the #
in the URL? I'm not sure we do.
Also, do we need the
#
in the URL? I'm not sure we do.
I'm not sure either. The example on NextJS uses their router dir/filename structure. I tried that and ran into problems trying to load all of the prop.categories
. I could use some help on this.
Is this ready to go @nburka @sgarrity ?
this is superseded by https://github.com/resolvetosavelives/healthicons/pull/119
Maybe there's a better way to do this? Trying to do it JS-only.
This opens a modal with the URL
/#icon/filled/name
Not sure if there's some better way. I tried following some tutorials like this one https://github.com/vercel/next.js/tree/canary/examples/with-route-as-modal and ran into problems with that approach. If we do go that way, we have to make sure that works with the statically published version of the site.
This works pretty well though.