Closed SofienM closed 1 year ago
This can be done with a volume mount in the Docker image and is the preferred method if this is the only customisation you have. For further customization, you can rebuild your own sandbox from the js lib. Closing the issue.
Feature Request
Feature
The feature request is about making the main page's left side image customizable.
Suggested implementation
Currently, the front image is made of a linear background color and two SVGs. To make it totally customizable, I suggest allowing to set a
CUSTOM_HOME_IMAGE_URL
env inconfig.json
that points to a custom file (svg or regular image) that would replace the trio of components.Things would look like this in
SimpleLayout
:What I'm not sure of is where the admin would put the actual file.
A suggestion would be to add a new folder
/src/frontend/magnify/apps/magnify-sites/public/custom-assets/
whose content would be ignored in.gitignore
.WDYT ?
Do you want to work on it through a Pull Request? Sure !