[IMP] theme_odoo_experts: revamp the theme

task-4178086
part of task-4177975

X-original-commit: 238f347935
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
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 7f7540ab13
commit 54fc022773
20 changed files with 787 additions and 387 deletions
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_mockup_image" inherit_id="website.s_mockup_image">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data"/>
<attribute name="class" add="pt64 pb64" remove="pt72 pb72" separator=" "/>
</xpath>
<!-- Remove shape -->
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
<xpath expr="//div[hasclass('col-lg-4')]" position="replace">
<div class="col-lg-5 pt16 pb16">
<h1 class="o_default_snippet_text">
Unlock the
<span class="o_text_highlight o_translate_inline o_text_highlight_circle_1" style="--text-highlight-color: var(--o-color-1); --text-highlight-width: 6px;"><span class="o_text_highlight_item">growth</span></span>
of your business
</h1>
<p>With over 15 years of proven success, we deliver expert guidance and strategic insights for your businesss future.</p>
<p><br/></p>
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg o_default_snippet_text"><t t-esc="cta_btn_text">Learn more</t></a>
</div>
</xpath>
<xpath expr="//div[hasclass('col-lg-8')]" position="attributes">
<attribute name="class" add="col-lg-6 offset-lg-1" remove="col-lg-8" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_image_text_device_perspective/web_editor/devices/iphone_3d_portrait_02.svg?c5=o-color-5</attribute>
<attribute name="data-shape">web_editor/devices/iphone_3d_portrait_02</attribute>
<attribute name="data-original-mimetype">image/jpg</attribute>
<attribute name="data-file-name">s_image_text_device_perspective.svg</attribute>
<attribute name="data-shape-colors">;;;;o-color-5</attribute>
<attribute name="style" add="width: 50% !important;" separator=";"/>
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
</xpath>
</template>
</odoo>