[IMP] theme_odoo_experts: revamp the theme

task-4178086
part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-09-14 22:57:45 +02:00
committed by qsm-odoo
parent 35ba43166a
commit 238f347935
20 changed files with 787 additions and 387 deletions
@@ -2,6 +2,14 @@
<odoo>
<template id="s_cta_box" inherit_id="website.s_cta_box">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 pt0 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/04_001', 'flip':[], 'showOnMobile':true}</attribute>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001" style="background-image: url('/web_editor/shape/web_editor/Origins/04_001.svg?c3=o-color-4'); background-position: 50% 100%;"/>
</xpath>
<!-- Card -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
@@ -14,13 +22,9 @@
<xpath expr="//p" position="replace" mode="inner">
Get in touch with us and see how we can help you.
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/theme_odoo_experts/static/src/img/content/content_img_02.jpg</attribute>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
Contact us
<xpath expr="//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-primary" remove="btn-secondary" separator=" "/>
</xpath>
</template>