mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -52,6 +52,7 @@
|
||||
'views/snippets/s_key_images.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': [
|
||||
|
||||
@@ -295,5 +295,25 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
|
||||
<field name="name">website.s_intro_pill_default_image_2</field>
|
||||
<field name="url">/theme_artists/static/src/img/snippets/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_artists/static/src/img/snippets/library_image_08.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_artists/static/src/img/snippets/library_image_10.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_artists/static/src/img/snippets/library_image_14.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_artists/static/src/img/snippets/library_image_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="data-oe-shape-data">{'shape':'web_editor/Floats/12','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}</attribute>
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Floats_12 o_we_animated"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
What we create for our customers
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Custom Creations
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
We craft personalized art to express your unique vision. Our team works closely with you to bring your ideas to life from concept to completion.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Sustainable Art
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Your satisfaction is our passion. Our support team is always available, ensuring your artistic journey is seamless and fulfilling.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Mastery and Quality
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
With vast experience and artistic insight, we offer techniques and concepts that keep you ahead in the art world.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Expertise and Inspiration
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
We provide innovative art solutions for today’s challenges. Using cutting-edge methods, we help you achieve your creative goals.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user