[IMP] theme_avantgarde: theme improvement
Revamp of `theme_avantgarde` task-4178015 closes odoo/design-themes#912 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -3,34 +3,39 @@ import * as wTourUtils from '@website/js/tours/tour_utils';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_cover',
|
||||
name: 'Cover',
|
||||
id: 's_sidegrid',
|
||||
name: 'Sidegrid',
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_picture',
|
||||
name: 'Title - Image',
|
||||
groupName: "Images",
|
||||
},
|
||||
{
|
||||
id: 's_three_columns',
|
||||
name: 'Columns',
|
||||
id: 's_features_wall',
|
||||
name: 'Features Wall',
|
||||
groupName: "Columns",
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
name: 'Text - Image',
|
||||
id: 's_masonry_block',
|
||||
name: 'Masonry',
|
||||
groupName: "Images",
|
||||
},
|
||||
{
|
||||
id: 's_carousel',
|
||||
name: 'Carousel',
|
||||
groupName: "Intro",
|
||||
},
|
||||
{
|
||||
id: 's_timeline',
|
||||
name: 'Timeline',
|
||||
groupName: "Content",
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
groupName: "Content",
|
||||
id: 's_quadrant',
|
||||
name: 'Quadrant',
|
||||
groupName: "Images",
|
||||
},
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("avantgarde_tour", () => [
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"avantgarde-3"'),
|
||||
wTourUtils.assertCssVariable('--color-palettes-name', '"default-15"'),
|
||||
...wTourUtils.dragNDrop(snippets[0], 'top'),
|
||||
...wTourUtils.clickOnText(snippets[0], 'h1', 'left'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
@@ -41,4 +46,5 @@ wTourUtils.registerThemeHomepageTour("avantgarde_tour", () => [
|
||||
wTourUtils.goBackToBlocks(),
|
||||
...wTourUtils.dragNDrop(snippets[3], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[4], 'top'),
|
||||
...wTourUtils.dragNDrop(snippets[5], 'top'),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user