Files
design-themes/theme_anelusia/views/snippets/s_wavy_grid.xml
T
Serge Bayet (seba) e78bd3fbbb [REF] website: convert default images to WebP format
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>
2025-07-01 06:52:49 +00:00

57 lines
2.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_wavy_grid" inherit_id="website.s_wavy_grid">
<!-- Layout -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data"/>
<attribute name="class" add="o_cc o_cc4" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_wavy_grid_default_image_1/web_editor/geometric/geo_square_3.svg</attribute>
<attribute name="data-shape">web_editor/geometric/geo_square_3</attribute>
<attribute name="data-original-mimetype">image/webp</attribute>
<attribute name="data-file-name">s_wavy_grid_default_image_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<xpath expr="(//img)[4]" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_wavy_grid_default_image_4/web_editor/geometric/geo_square_6.svg</attribute>
<attribute name="data-shape">web_editor/geometric/geo_square_6</attribute>
<attribute name="data-original-mimetype">image/webp</attribute>
<attribute name="data-file-name">s_wavy_grid_default_image_4.svg</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<!-- Texts -->
<xpath expr="//h2" position="replace" mode="inner">
What we bring to our clients
</xpath>
<xpath expr="//h3" position="replace" mode="inner">
Tailored Designs
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We craft bespoke styles to reflect your unique identity. Our team collaborates with you to ensure flawless fashion from concept to creation.
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Sustainable Fashion
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Customer delight drives us. Our support team is always on hand, ensuring your fashion journey is smooth and satisfying.
</xpath>
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Quality and Craftsmanship
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
With rich experience and fashion expertise, we offer trends and solutions that keep you ahead of the curve.
</xpath>
<xpath expr="(//h3)[4]" position="replace" mode="inner">
Expertise and Vision
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
We deliver innovative fashion solutions for today’s demands. Harnessing the latest trends, we help you set new standards.
</xpath>
</template>
</odoo>