[IMP] theme_loftspace: revamp the theme

This commit revamp the design of the `theme_loftspace`.

task-4178079
part of task-4177975

closes odoo/design-themes#910

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-09-13 19:55:14 +02:00
parent 483ea55070
commit fa220d0170
26 changed files with 644 additions and 257 deletions
+11 -11
View File
@@ -2,25 +2,25 @@
<odoo>
<template id="s_cta_box" inherit_id="website.s_cta_box">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2" separator=" "/>
</xpath>
<!-- Card -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
<attribute name="class" add="o_cc1" remove="o_cc4" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Your new interior awaits !
Transform your space with<br/>our furniture. Contact us<br/>to bring your vision to life!<br/>
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
Unleash your inner artist and give yourself the perfect interior design<br/><br/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/theme_loftspace/static/src/img/content/content_img_03.jpg</attribute>
<!-- Paragraph -->
<xpath expr="//p" position="replace">
<p><br/></p>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
Shop now
<xpath expr="//a[hasclass('btn')]" position="attributes">
<attribute name="class" remove="btn-lg" separator=" "/>
</xpath>
</template>