mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
0cdb391954
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2542281
X-original-commit: e18a0ff128
Part-of: odoo/design-themes#501
40 lines
896 B
JavaScript
40 lines
896 B
JavaScript
/** @odoo-module */
|
|
|
|
import wTourUtils from 'website.tour_utils';
|
|
|
|
const snippets = [
|
|
{
|
|
id: 's_cover',
|
|
name: 'Cover',
|
|
},
|
|
{
|
|
id: 's_text_image',
|
|
name: 'Text - Image',
|
|
},
|
|
{
|
|
id: 's_title',
|
|
name: 'Title',
|
|
},
|
|
{
|
|
id: 's_three_columns',
|
|
name: 'Columns',
|
|
},
|
|
{
|
|
id: 's_call_to_action',
|
|
name: 'Call to Action',
|
|
},
|
|
];
|
|
|
|
wTourUtils.registerThemeHomepageTour("treehouse_tour", [
|
|
wTourUtils.dragNDrop(snippets[0]),
|
|
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
|
wTourUtils.goBackToBlocks(),
|
|
wTourUtils.dragNDrop(snippets[1]),
|
|
wTourUtils.dragNDrop(snippets[2]),
|
|
wTourUtils.dragNDrop(snippets[3]),
|
|
wTourUtils.dragNDrop(snippets[4]),
|
|
wTourUtils.clickOnSnippet(snippets[4], 'top'),
|
|
wTourUtils.changeBackgroundColor(),
|
|
wTourUtils.selectColorPalette(),
|
|
]);
|