[IMP] theme_*: adapt s_card_offset

task-4105038

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:
Xavier Luyckx (xlu)
2024-08-21 14:47:58 +02:00
committed by qsm-odoo
parent 28cc178546
commit 2c8892ab4d
47 changed files with 687 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@
'views/snippets/s_parallax.xml',
'views/snippets/s_text_image.xml',
'views/snippets/s_framed_intro.xml',
'views/snippets/s_card_offset.xml',
'views/snippets/s_three_columns.xml',
'views/snippets/s_call_to_action.xml',
'views/snippets/s_carousel.xml',
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_card_offset" inherit_id="website.s_card_offset">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
Discover Art that Inspires Your Soul
</xpath>
<!-- Paragraph 1 -->
<xpath expr="(//p[hasclass('lead')])[1]" position="replace" mode="inner">
Explore a curated selection of artwork from emerging and established artists. Our galleries are designed to ignite creativity and connect you with timeless pieces.
</xpath>
<!-- Paragraph 2 -->
<xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
Let art be the language of your space.
</xpath>
</template>
</odoo>