[IMP] theme_*: adapt s_shape_image

task-4094366
Part of task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-08-26 09:11:04 +02:00
committed by qsm-odoo
parent 1ae012f908
commit 21bc9a1106
70 changed files with 399 additions and 1 deletions
+1
View File
@@ -45,6 +45,7 @@
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/snippets/s_wavy_grid.xml',
'views/snippets/s_shape_image.xml',
'views/new_page_template.xml',
],
'images': [
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

+6
View File
@@ -344,5 +344,11 @@
<field name="name">website.s_images_mosaic_default_image_5</field>
<field name="url">/theme_aviato/static/src/img/content/s_images_mosaic_default_image_5.jpg</field>
</record>
<!-- Shape Image -->
<record id="s_shape_image_default_image" model="theme.ir.attachment">
<field name="key">website.s_shape_image_default_image</field>
<field name="name">website.s_shape_image_default_image</field>
<field name="url">/theme_aviato/static/src/img/content/s_shape_image_default_image.jpg</field>
</record>
</odoo>
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_shape_image" inherit_id="website.s_shape_image">
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Travel services
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
We offer customized travel packages tailored to your preferences. From booking flights and accommodations to organizing tours, our goal is to provide a seamless and enjoyable travel experience.
</xpath>
<xpath expr="//p[2]" position="replace"/>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
Join the Experience
</xpath>
</template>
</odoo>