mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
845b969555
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
closes odoo/design-themes#13
Related: odoo/odoo#71665
Related: odoo/odoo#71699
X-original-commit: c483cf2719
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
29 lines
1.0 KiB
XML
29 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_banner" inherit_id="website.s_banner">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14","flip":[]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//section//*[last()]" position="after">
|
|
<div class="o_we_shape o_web_editor_Origins_14"/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h1" position="replace">
|
|
<h1>
|
|
<font style="font-size: 48px;">Real Estate Agencies.<br/>
|
|
Near You.</font>
|
|
</h1>
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p" position="replace">
|
|
<p class="lead">We are specialist in the sale and rental of residential real estate.</p>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a" position="replace">
|
|
<a href="#" class="btn btn-primary mb-2">Properties</a>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|