mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_orchid: add and customize wsale categories snipet
This commit includes and customize the `website_sale.s_dynamic_snippet_category_list` snippet in the default snippet sequence of the theme's homepage. task-5009694 Part-of: odoo/design-themes#1137 Related: odoo/odoo#225310 Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
This commit is contained in:
committed by
Antoine (anso)
parent
cb7c953f92
commit
29e623f2d7
@@ -73,6 +73,38 @@
|
||||
'configurator_snippets': {
|
||||
'homepage': ['s_kickoff', 's_key_images', 's_process_steps', 's_freegrid', 's_image_text_overlap', 's_company_team_basic', 's_title', 's_images_wall', 's_references'],
|
||||
},
|
||||
'configurator_snippets_addons': {
|
||||
'website_sale': {
|
||||
'homepage': [
|
||||
('website_sale.s_dynamic_snippet_category_list', 'after', 's_image_text_overlap'),
|
||||
],
|
||||
},
|
||||
},
|
||||
'theme_customizations': {
|
||||
'website_sale.s_dynamic_snippet_category_list': {
|
||||
'data_attributes': {
|
||||
'columns': '2',
|
||||
'gap': '3',
|
||||
'size': 'small',
|
||||
'alignment': 'left',
|
||||
},
|
||||
'background': {
|
||||
'shape': {
|
||||
'data-oe-shape-data': '{"shape":"web_editor/Connections/01", "colors":{"c5":"o-color-3"}, "flip":["x"]}',
|
||||
'element': """<div class="o_we_shape o_web_editor_Connections_01" style="background-image: url('/web_editor/shape/web_editor/Connections/01.svg?c5=o-color-3&flip=x');""",
|
||||
},
|
||||
},
|
||||
'add_classes': [
|
||||
'pt104', 'pb152',
|
||||
{
|
||||
's_dynamic_snippet_title': 's_dynamic_snippet_title_aside col-lg-3 flex-lg-column justify-content-lg-start'
|
||||
},
|
||||
],
|
||||
'remove_classes': [
|
||||
'pt64', 'pb64',
|
||||
],
|
||||
},
|
||||
},
|
||||
'new_page_templates': {
|
||||
'about': {
|
||||
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
|
||||
|
||||
Reference in New Issue
Block a user