mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
563bce5b46
task-4178030 Part-of: odoo/design-themes#969 Related: odoo/odoo#182029 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
33 lines
1.4 KiB
XML
33 lines
1.4 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="oe_img_bg o_full_screen_height" remove="parallax s_parallax_is_fixed bg-black-50" separator=" "/>
|
|
<attribute name="data-scroll-background-ratio">0</attribute>
|
|
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/09_001', 'colors':{'c3':'o-color-1'}}</attribute>
|
|
<attribute name="style">background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 55%;</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Origins_09_001" style="background-image: url('/web_editor/shape/web_editor/Origins/09_001.svg?c3=o-color-1');"/>
|
|
</xpath>
|
|
<!-- Disable Parallax -->
|
|
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace"/>
|
|
<!-- Title -->
|
|
<xpath expr="//h1" position="replace" mode="inner">
|
|
Immerse yourself <br/>in original universes
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
|
<br/>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
|
Discover more
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|