c483cf2719
Instead now use another custom mapping for the default colors of the shapes which are used for the default homepage. This allows for the built page to work with any color palette (especially useful for built pages in the new configurator) and to handle footer/header connection. Also change some shapes and default background colors to match what the preview wanted directly (instead of relying on user asked change as that would not be handled when generating the page automatically with the configurator). Part of https://github.com/odoo/design-themes/pull/2 task-2491890 closes odoo/design-themes#12 Related: odoo/odoo#71665 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="pt80 o_cc2" remove="pt48 o_cc3" separator=" "/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14", "flip":["y"]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Origins_14 o_we_flip_y"/>
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
|
|
<attribute name="class" add="pt16" remove="pb16" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//h3" position="replace">
|
|
<h3><b>50,000 people</b>, run Clean to grow their financial wealth.</h3>
|
|
</xpath>
|
|
<xpath expr="//p" position="replace">
|
|
<p>Join them and make the right money move.</p>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|