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>
26 lines
1.1 KiB
XML
26 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<odoo>
|
||
<template id="s_cover" inherit_id="website.s_cover">
|
||
<!-- Section -->
|
||
<xpath expr="//section" position="attributes">
|
||
<attribute name="class" add="o_full_screen_height" separator=" "/>
|
||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/07_001","flip":[]}</attribute>
|
||
</xpath>
|
||
<!-- Title & Paragraph -->
|
||
<xpath expr="//div[hasclass('container')]" position="replace">
|
||
<div class="container s_allow_columns text-center">
|
||
<h1>
|
||
<font style="font-size: 62px;"><b>The Ultimate Laptop</b></font>
|
||
</h1>
|
||
<p class="lead">Speed up your work with the last laptop. 3.4Ghz, 8 cores.<br/>
|
||
You’ll be unstoppable all day long (up to 11 hours).</p>
|
||
<p><a href="/contactus" class="btn btn-primary mb-2">Discover</a></p>
|
||
</div>
|
||
</xpath>
|
||
<!-- Shape -->
|
||
<xpath expr="//section//*[last()]" position="after">
|
||
<div class="o_we_shape o_web_editor_Origins_07_001"/>
|
||
</xpath>
|
||
</template>
|
||
</odoo>
|