[IMP] theme_artists: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2580170
X-original-commit: 46a1d66d96
Part-of: odoo/design-themes#501
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
odoo.define("theme_artists.tour.artists", function (require) {
|
||||
"use strict";
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_parallax',
|
||||
name: 'Parallax',
|
||||
id: 's_carousel_wrapper',
|
||||
name: 'Carousel',
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
@@ -19,6 +18,14 @@ const snippets = [
|
||||
id: 's_three_columns',
|
||||
name: 'Columns',
|
||||
},
|
||||
{
|
||||
id: 's_title',
|
||||
name: 'Title',
|
||||
},
|
||||
{
|
||||
id: 's_images_wall',
|
||||
name: 'Images Wall',
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
@@ -32,7 +39,8 @@ wTourUtils.registerThemeHomepageTour("artists_tour", [
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[2]),
|
||||
wTourUtils.dragNDrop(snippets[3]),
|
||||
wTourUtils.clickOnSnippet(snippets[3]),
|
||||
wTourUtils.changeOption('ScrollButton', 'we-button-group.o_we_user_value_widget', _t('height')),
|
||||
wTourUtils.clickOnText(snippets[3], 'h1'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[4]),
|
||||
wTourUtils.dragNDrop(snippets[5]),
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user