[IMP] theme_paptic: update the theme

This commit updates the theme to improve the design with shapes, new
pictures and new custom snippets.

task-2602618

closes odoo/design-themes#497

X-original-commit: a416e49105
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2021-09-02 16:34:05 +00:00
parent 5396f472e8
commit 5f2b968199
34 changed files with 271 additions and 78 deletions
+12 -9
View File
@@ -1,11 +1,6 @@
odoo.define("theme_paptic.tour.paptic", function (require) {
"use strict";
/** @odoo-module */
const core = require("web.core");
const _t = core._t;
const wTourUtils = require("website.tour_utils");
var tour = require("web_tour.tour");
import wTourUtils from 'website.tour_utils';
const snippets = [
{
@@ -24,6 +19,14 @@ const snippets = [
id: 's_three_columns',
name: 'Columns',
},
{
id: 's_comparisons',
name: 'Comparisons',
},
{
id: 's_call_to_action',
name: 'Call to Action',
},
];
@@ -31,9 +34,9 @@ wTourUtils.registerThemeHomepageTour("paptic_tour", [
wTourUtils.dragNDrop(snippets[0], 'top'),
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[1], 'top'),
wTourUtils.dragNDrop(snippets[2], 'top'),
wTourUtils.dragNDrop(snippets[3], 'top'),
wTourUtils.dragNDrop(snippets[4], 'top'),
wTourUtils.dragNDrop(snippets[5], 'top'),
]);
});