mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
b9d48ebe86
Rename all imports with alias old system to the new js module system Task ID: 3266759 closes odoo/design-themes#671 Related: odoo/odoo#127414 Related: odoo/enterprise#43716 Signed-off-by: Bastien Pierre (ipb) <ipb@odoo.com>
43 lines
962 B
JavaScript
43 lines
962 B
JavaScript
/** @odoo-module */
|
|
|
|
import wTourUtils from '@website/js/tours/tour_utils';
|
|
|
|
const snippets = [
|
|
{
|
|
id: 's_banner',
|
|
name: 'Banner',
|
|
},
|
|
{
|
|
id: 's_text_image',
|
|
name: 'Text - Image',
|
|
},
|
|
{
|
|
id: 's_three_columns',
|
|
name: 'Columns',
|
|
},
|
|
{
|
|
id: 's_image_text',
|
|
name: 'Image - Text',
|
|
},
|
|
{
|
|
id: 's_numbers',
|
|
name: 'Numbers',
|
|
},
|
|
{
|
|
id: 's_call_to_action',
|
|
name: 'Call to Action',
|
|
},
|
|
];
|
|
|
|
wTourUtils.registerThemeHomepageTour("buzzy_tour", [
|
|
wTourUtils.assertCssVariable('--color-palettes-name', '"kiddo-2"'),
|
|
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.dragNDrop(snippets[5]),
|
|
]);
|