[IMP] theme_*: adapt s_wavy_grid

This commit adapts customizations for `s_wavy_grid`, added in
https://github.com/odoo/odoo/pull/177620

task-4105125
Part of task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-08-22 18:03:22 +02:00
committed by qsm-odoo
parent 9eecd12db1
commit ebb9ca2ab3
73 changed files with 1465 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/snippets/s_wavy_grid.xml',
'views/new_page_template.xml',
],
'images': [
+20
View File
@@ -322,5 +322,25 @@
<field name="name">website.s_intro_pill_default_image_2</field>
<field name="url">/theme_notes/static/src/img/content/s_intro_pill_default_image_2.jpg</field>
</record>
<record id="s_wavy_grid_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_wavy_grid_default_image_1</field>
<field name="name">website.s_wavy_grid_default_image_1</field>
<field name="url">/theme_notes/static/src/img/content/library_image_16.jpg</field>
</record>
<record id="s_wavy_grid_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_wavy_grid_default_image_2</field>
<field name="name">website.s_wavy_grid_default_image_2</field>
<field name="url">/theme_notes/static/src/img/content/content_img_35.jpg</field>
</record>
<record id="s_wavy_grid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_wavy_grid_default_image_3</field>
<field name="name">website.s_wavy_grid_default_image_3</field>
<field name="url">/theme_notes/static/src/img/content/library_image_03.jpg</field>
</record>
<record id="s_wavy_grid_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_wavy_grid_default_image_4</field>
<field name="name">website.s_wavy_grid_default_image_4</field>
<field name="url">/theme_notes/static/src/img/content/content_img_28.jpg</field>
</record>
</odoo>
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_wavy_grid" inherit_id="website.s_wavy_grid">
<!-- Layout -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5"/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Wavy/10','colors':{'c1':'o-color-1','c2':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
<div class="o_we_shape o_web_editor_Wavy_10" style="background-image: url('/web_editor/shape/web_editor/Wavy/10.svg?c1=o-color-1&amp;c2=o-color-1');"/>
</xpath>
<!-- Texts -->
<xpath expr="//h2" position="replace" mode="inner">
What we bring to our guests
</xpath>
<xpath expr="//h3" position="replace" mode="inner">
Unforgettable Moments
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We craft exceptional events and activities designed to create lasting memories. Our team ensures a thrilling and immersive experience from beginning to end.
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Eco-Friendly Fun
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Your enjoyment and our planets health are top priorities. Our friendly staff is here to support you, making sure your festival experience is enjoyable and sustainable.
</xpath>
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Excellence and Excitement
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
With extensive expertise and a commitment to high standards, we offer top-notch performances and attractions that keep you entertained and engaged.
</xpath>
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Creativity and Engagement
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
We introduce innovative concepts and interactive elements to our events. Embracing the latest trends, we ensure every activity is fun and captivating for all guests.
</xpath>
</template>
</odoo>