marketplace-v1 icon indicating copy to clipboard operation
marketplace-v1 copied to clipboard

Support ability to customize marketplace using query params

Open rorygeoghegan opened this issue 2 years ago • 0 comments

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

rorygeoghegan avatar Apr 29 '22 14:04 rorygeoghegan