marketplace-v1
marketplace-v1 copied to clipboard
Support ability to customize marketplace using query params
Support ability for user to add their own query params to the reservoir.market url to demo the configuration without needing to edit env variables etc.
For example https://reservoir.market/?NEXT_PUBLIC_COMMUNITY=azuki&NEXT_PUBLIC_DARK_MODE=true will let me view the site as a Azuki community marketplace in dark mode.
When a user uses query params the configuration is saved locally so that they can navigate freeling without having to add params on each page load.
If this is possible it will allow us to remove support for wildcard subdomains across the site.
Open questions
- Is it possible to support all env variables? If not, which ones can we support?
- Is it possible to save the configuration locally? If so, how can we provide a way for users to reset config back to default