[IMP] theme_*: review s_cta_box occurrences

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

This commit customizes the new `s_cta_box` snippet across all the design
themes.

task-4094396
Part of task-4077427

closes odoo/design-themes#863

Related: odoo/odoo#175703
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-08-12 11:14:35 +02:00
parent f2b03ac7bf
commit 8d1c11aa59
51 changed files with 718 additions and 0 deletions
+24
View File
@@ -302,6 +302,30 @@
</xpath>
</template>
<!-- ==== CTA Box ===== -->
<template id="s_cta_box" inherit_id="website.s_cta_box">
<!-- Card -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Leverage your processes
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
See how we can help<br/><br/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/theme_paptic/static/src/img/pictures/s_banner_2.jpg</attribute>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
Contact us
</xpath>
</template>
<template id="configurator_s_call_to_action" inherit_id="website.configurator_s_call_to_action" name="Paptic s_call_to_action">
<!-- Shape option -->
<xpath expr="//section" position="attributes">