[IMP] theme_anelusia: update the theme

This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2573284

Part-of: odoo/design-themes#500
This commit is contained in:
Brieuc-brd
2021-08-04 14:38:09 +00:00
committed by qsm-odoo
parent 507844f515
commit c3bc687a76
68 changed files with 1006 additions and 409 deletions
+20 -7
View File
@@ -1,18 +1,24 @@
odoo.define("theme_anelusia.tour.anelusia", function (require) {
"use strict";
/** @odoo-module */
const wTourUtils = require("website.tour_utils");
var tour = require("web_tour.tour");
import wTourUtils from 'website.tour_utils';
const snippets = [
{
id: 's_cover',
name: 'Cover',
id: 's_banner',
name: 'Banner',
},
{
id: 's_images_wall',
name: 'Images Wall',
},
{
id: 's_color_blocks_2',
name: 'Big Boxes',
},
{
id: 's_references',
name: 'References',
},
{
id: 's_media_list',
name: 'Media List',
@@ -21,6 +27,10 @@ const snippets = [
id: 's_company_team',
name: 'Team',
},
{
id: 's_call_to_action',
name: 'Call to Action',
},
];
wTourUtils.registerThemeHomepageTour("anelusia_tour", [
@@ -33,5 +43,8 @@ wTourUtils.registerThemeHomepageTour("anelusia_tour", [
wTourUtils.clickOnSnippet(snippets[3], 'top'),
wTourUtils.changeBackgroundColor(),
wTourUtils.selectColorPalette(),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[4]),
wTourUtils.dragNDrop(snippets[5]),
wTourUtils.dragNDrop(snippets[6]),
]);
});