Files
design-themes/theme_clean/views/snippets/s_three_columns.xml
T
Chrysanthe (chgo) 376ab972ea [IMP] theme_*: improve SEO by correcting heading tag hierarchy
* anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace,
monglia, nano, notes, odoo_experts, orchid, paptic, real estate,
treehouse, vehicle, yes, zap

This commit adapts all the `xpath` expressions inside design themes to
target the new heading tags that were changed within the snippet files.

task-4349019

closes odoo/design-themes#1043

Related: odoo/odoo#191300
Related: odoo/enterprise#92978
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-08 18:27:03 +00:00

53 lines
2.4 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_three_columns" inherit_id="website.s_three_columns">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Column #1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="style">border-width: 0px !important;</attribute>
</xpath>
<xpath expr="//h2[hasclass('card-title')]" position="replace" mode="inner">
Our mission
</xpath>
<xpath expr="//p[hasclass('card-text')]" position="replace" mode="inner">
Provide clear and concise financial advices to make your financial wealth grow. And this, completely free of charge.
</xpath>
<!-- Column #2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="style">border-width: 0px !important;</attribute>
</xpath>
<xpath expr="(//h2[hasclass('card-title')])[2]" position="replace" mode="inner">
Our values
</xpath>
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
We created our company to improve the work-life balance. We believe that we need to focus on our family more than our work and finances.
</xpath>
<!-- Column #3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="style">border-width: 0px !important;</attribute>
</xpath>
<xpath expr="(//h2[hasclass('card-title')])[3]" position="replace" mode="inner">
Our team
</xpath>
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">
Composed of 25 people from 25 to 66 years, were a young and dynamic company. We have open positions, do not hesitate to contact us.
</xpath>
</template>
<template id="configurator_s_three_columns" inherit_id="website.configurator_s_three_columns">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Connections/20","colors":{"c5": "o-color-1"},"flip":["y"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Connections_20" style="background-image: url('/web_editor/shape/web_editor/Connections/20.svg?c5=o-color-1&amp;flip=y'); background-position: 50% 0%"/>
</xpath>
</template>
</odoo>