[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
+26
View File
@@ -699,6 +699,14 @@
</xpath>
</template>
<!-- ======== CARD OFFSET ======== -->
<template id="s_card_offset" inherit_id="website.s_card_offset">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
<!-- ==== Big Number ===== -->
<template id="s_big_number" inherit_id="website.s_big_number">
<!-- Section -->
@@ -732,5 +740,23 @@
</xpath>
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
</template>
<template id="s_card_offset" inherit_id="website.s_card_offset">
<!-- 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">
Expert Consultancy in Tech &amp; Design
</xpath>
<!-- Paragraph 1 -->
<xpath expr="(//p[hasclass('lead')])[1]" position="replace" mode="inner">
Optimize your business with our consultancy services in technology and design. We provide strategic advice and innovative solutions to help you stay ahead in the digital age.
</xpath>
<!-- Paragraph 2 -->
<xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
Unlock your business potential.
</xpath>
</template>
</odoo>