[IMP] theme_*: adapt theme with new s_image_hexagonal snippet

*: anelusia, artists, aviato, beauty, bewise, bistro, bookstore, buzzy,
kea, kiddo, monglia, notes, orchid, vehicle, yes

This commit adapts the design of new `s_image_hexagonal` snippet for
multiple themes

task-4094377

closes odoo/design-themes#857

Related: odoo/odoo#175813
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-06 10:21:45 +02:00
parent 41f6799c52
commit 67bf2505a1
39 changed files with 270 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@
'views/snippets/s_unveil.xml',
'views/snippets/s_key_benefits.xml',
'views/snippets/s_pricelist_boxed.xml',
'views/snippets/s_image_hexagonal.xml',
'views/new_page_template.xml',
],
'images': [
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

+5
View File
@@ -247,5 +247,10 @@
<field name="name">website.s_accordion_image_default_image</field>
<field name="url">/theme_notes/static/src/img/content/content_img_21.jpg</field>
</record>
<record id="s_image_hexagonal_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_image_hexagonal_default_image_1</field>
<field name="name">website.s_image_hexagonal_default_image_1</field>
<field name="url">/theme_notes/static/src/img/content/s_image_hexagonal_1.jpg</field>
</record>
</odoo>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_hexagonal" inherit_id="website.s_image_hexagonal">
<!-- Section -->
<xpath expr="section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Join the<br/>celebration
</xpath>
<!-- Images -->
<xpath expr="(//img)[2]" position="attributes">
<attribute name="src">/web/image/website.s_cover_default_image</attribute>
</xpath>
</template>
</odoo>