[IMP] theme_*: adapt s_carousel_intro

task-4077628
Part of task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-03 13:39:43 +02:00
committed by qsm-odoo
parent 8e2ad3496f
commit 42a2d6e3a6
72 changed files with 1149 additions and 0 deletions
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel_intro" inherit_id="website.s_carousel_intro">
<!-- Layout -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
<!-- Texts -->
<xpath expr="//h1" position="replace" mode="inner">
Nurturing young minds through play
</xpath>
<xpath expr="//h2" position="replace" mode="inner">
Experiences designed just for kids
</xpath>
<xpath expr="(//h2)[2]" position="replace" mode="inner">
Discover joyful learning
</xpath>
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
Foster creativity and curiosity with our engaging activities and caring environment, perfect for your child's first steps.
</xpath>
<xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
Enrich your child's early years with our fun programs and dedicated teachers.
</xpath>
<xpath expr="(//p[hasclass('lead')])[3]" position="replace" mode="inner">
Explore more and find a nurturing space for your childs growth, designed to inspire and support their early development.
</xpath>
</template>
</odoo>