[IMP] theme_yes: review theme design

task-4178092
part of task-4177975

closes odoo/design-themes#937

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-09-19 16:18:34 +02:00
parent ab8f6a8fce
commit 9763584495
28 changed files with 387 additions and 263 deletions
+16 -4
View File
@@ -2,14 +2,26 @@
<odoo>
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<xpath expr="//section" position="attributes">
<attribute name="style" add="background-image:url(/web/image/website.s_parallax_default_image)" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-25"/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
345 couples trusted us to organize their wedding.
<xpath expr="//h3" position="replace">
<h2>Discover how we can help you<br/>making this day unforgettable.</h2>
</xpath>
<!-- Paragraph -->
<xpath expr="//p" position="replace" mode="inner">
Join them and let us help you make this day unforgettable.
<xpath expr="//p" position="replace">
<p><br/></p>
</xpath>
<!-- CTA -->
<xpath expr="//p" position="after">
<a t-att-href="cta_btn_href" class="btn btn-primary btn-lg"><t t-esc="cta_btn_text">Contact us</t></a>
</xpath>
<!-- Remove right-side button -->
<xpath expr="//div[hasclass('col-lg-3')]" position="replace"/>
</template>
</odoo>