[IMP] theme_*: adapt s_split_intro snippet

*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, cobalt, enark, kiddo, loftspace, monglia, nano, notes,
odoo_experts, orchid, real_estate, treehouse, vehicle, yes, zap.

This commit reviews the occurrences of `s_split_intro` snippet across
design themes.

task-4077616
part of task-4077427

closes odoo/design-themes#876

Related: odoo/odoo#175321
Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-08-01 13:45:39 +02:00
parent bd4b876b57
commit b93e7407e5
81 changed files with 462 additions and 0 deletions
+1
View File
@@ -56,6 +56,7 @@
'views/snippets/s_text_cover.xml',
'views/snippets/s_empowerment.xml',
'views/snippets/s_numbers_boxed.xml',
'views/snippets/s_split_intro.xml',
'views/new_page_template.xml',
],
'images': [
Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

+7
View File
@@ -569,4 +569,11 @@
<field name="url">/theme_treehouse/static/src/img/content/masonry_block.jpg</field>
</record>
<!-- Split Intro -->
<record id="s_split_intro_default_image" model="theme.ir.attachment">
<field name="key">website.s_split_intro_default_image</field>
<field name="name">website.s_split_intro_default_image</field>
<field name="url">/theme_treehouse/static/src/img/content/s_split_intro_default_image.jpg</field>
</record>
</odoo>
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_split_intro" inherit_id="website.s_split_intro">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<!-- Left column -->
<xpath expr="//h1" position="replace" mode="inner">
Protect our<br/>natural world
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Join us in making a positive impact on the environment. We offer solutions and initiatives that promote sustainability and conservation, from reducing waste to supporting green practices. Together, we can create a healthier planet and ensure a thriving future for generations to come.<br/><br/>
</xpath>
</template>
</odoo>