Default capabilities alongside minimal version within single instance under different routes
I want to serve OHIF in a default configuration, and in addition of that I would like to have OHIF in a minimal version without side panels, and headers, without tracking measurements and without dialogs (It will be used as a mini-version iframe)
Currently we have this functionality by deploying 2 instances, and patching the source code by removing panels and headers directly from the source code.
Is there a way how to do it in a single instance? First I though it would be possible through dangerouslyUseDynamicConfig, but that not changes layout.
Then I was exploring possibility of using different modes, but I lack expertise how to change layout in the mode, nad how to build it together within the other modes. And if it even is a correct approach as I feel like that would be hard to maintain. In the future.
Any advice would be welcomed.
OHIF: 3.10.1