[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
+22
View File
@@ -449,4 +449,26 @@
<field name="url">/theme_bistro/static/src/img/content/s_intro_pill_default_image_2.jpg</field>
</record>
<!-- Wavy Grid -->
<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_bistro/static/src/img/backgrounds/01.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_bistro/static/src/img/backgrounds/02.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_bistro/static/src/img/backgrounds/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_bistro/static/src/img/backgrounds/16.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" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/09_001','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
<div class="o_we_shape o_web_editor_Origins_09_001"/>
</xpath>
<!-- Texts -->
<xpath expr="//h2" position="replace" mode="inner">
What we offer to our guests
</xpath>
<xpath expr="//h3" position="replace" mode="inner">
Personalized Dining
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We craft custom dishes to match your unique tastes. Our chefs work closely with you to ensure a delightful dining experience from appetizer to dessert.
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Sustainable Ingredients
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Your satisfaction is our priority. Our staff is always ready to assist, ensuring you enjoy a smooth and memorable meal.
</xpath>
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Quality and Freshness
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
With extensive experience and a passion for culinary arts, we provide dishes that keep you coming back for more.
</xpath>
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Expertise and Flavor
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
We offer innovative recipes and classic favorites. Leveraging the finest ingredients, we help you savor every bite.
</xpath>
</template>
</odoo>