mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
4492c5dfa6
Revamp of `theme_bookstore`. task-4109584 closes odoo/design-themes#862 Related: odoo/odoo#176503 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
28 lines
999 B
XML
28 lines
999 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_cta_box" inherit_id="website.s_cta_box">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc4" separator=" "/>
|
|
</xpath>
|
|
<!-- Card -->
|
|
<xpath expr="//div[hasclass('card')]" position="attributes">
|
|
<attribute name="class" add="o_cc3" remove="o_cc4" separator=" "/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace">
|
|
<h2 class="card-title h1-fs">Discover new reads,<br/> shop our bestsellers today!</h2>
|
|
</xpath>
|
|
<!-- Paragraphs -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Uncover hidden gems, indulge in literary adventures now<br/><br/>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]" position="replace">
|
|
<a t-att-href="cta_btn_href" class="btn btn-lg btn-secondary">Start Now<i class="fa fa-angle-right ms-2" role="img"/></a>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|