add heroBackground, put only in hero the background image

This commit is contained in:
argirok 2022-09-26 14:00:37 +03:00
parent 360562178b
commit 1db2073e96
1 changed files with 3 additions and 3 deletions

View File

@ -19,9 +19,9 @@ export class Layout {
}
if(options.backgrounds){
variables['@general-search-form-background'] = options.backgrounds.form.color;
variables['@general-search-form-background-image'] = (options.backgrounds.form.imageFile?(this.getUrl(properties.utilsService + '/download/' +options.backgrounds.form.imageFile)): 'none') ;
variables['@general-search-form-background-position'] = options.backgrounds.form.position;
variables['@base-body-background'] = options.backgrounds.light.color;
variables['@base-body-background'] = options.backgrounds.light.color;
variables['@hero-background-image'] = (options.backgrounds.form.imageFile?(this.getUrl(properties.utilsService + '/download/' +options.backgrounds.form.imageFile)): 'none') ;
variables['@hero-background-position'] = options.backgrounds.form.position;
}
if(options.buttons){
//general