mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
e78bd3fbbb
This commit switches the default image format from JPEG to WebP for all design-themes images. WebP offers superior compression compared to JPEG, resulting in smaller file sizes and faster website loading times. Additionally, this change helps avoid warnings from performance tools regarding image optimization. See also: odoo/odoo#168862 task-3167548 closes odoo/design-themes#805 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
28 lines
892 B
XML
28 lines
892 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_cta_box" inherit_id="website.s_cta_box">
|
|
<!-- Card -->
|
|
<xpath expr="//div[hasclass('card')]" position="attributes">
|
|
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Ready to explore?<br/>Book your time slot now
|
|
</xpath>
|
|
<!-- Paragraphs -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Each time slot includes a 1h discovery period.<br/><br/>
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/theme_kea/static/src/img/content/content_img_12.webp</attribute>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
|
|
Book now
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|