[IMP] theme_bewise: revamp the theme

task-4178020
part of task-4177975

X-original-commit: f06ffd5c26
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
stefanorigano (SRI)
2024-09-18 19:54:16 +02:00
committed by qsm-odoo
parent 6f379e8b1c
commit 46b7e7bd35
8 changed files with 246 additions and 336 deletions
+28 -1
View File
@@ -51,6 +51,19 @@
</xpath>
</template>
<!-- ======== TITLE ======== -->
<template id="s_title" inherit_id="website.s_title" name="Be Wise s_title">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pt40" separator=" "/>
</xpath>
<xpath expr="//h2" position="replace" mode="inner">
Empower young minds
</xpath>
<xpath expr="//h2" position="attributes">
<attribute name="class" remove="display-3-fs" separator=" "/>
</xpath>
</template>
<!-- ======== TEXT-IMAGE ======== -->
<template id="s_text_image" inherit_id="website.s_text_image" name="Be Wise s_text_image">
<xpath expr="//h2" position="replace" mode="inner">
@@ -752,6 +765,9 @@
<xpath expr="//h1" position="replace" mode="inner">
Shaping Tomorrow's <br/>Game Changers
</xpath>
<xpath expr="//h1" position="attributes">
<attribute name="class" add="display-3-fs" separator=" "/>
</xpath>
<!-- Paragraph -->
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
Empower young minds with quality education and engaging learning experiences that nurture creativity, play, and academic excellence.
@@ -762,7 +778,7 @@
</xpath>
<!-- Figcaption -->
<xpath expr="//figcaption" position="replace" mode="inner">
Where learning meets fun
Where tradition meets innovation a legacy of excellence in education.
</xpath>
</template>
@@ -1111,4 +1127,15 @@
</xpath>
</template>
<!-- ======== COMPANY TEAM SHAPES ======== -->
<template id="configurator_s_company_team_shapes" inherit_id="website.configurator_s_company_team_shapes">
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/05",'colors':{'c3': 'o-color-4'}}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Origins_05" style="background-image: url('/web_editor/shape/web_editor%2FOrigins%2F05.svg?c3=o-color-4');"/>
</xpath>
</template>
</odoo>
+15
View File
@@ -387,5 +387,20 @@
<field name="name">website.s_empowerment_default_image</field>
<field name="url">/theme_bewise/static/src/img/content/s_empowerment_default_image.jpg</field>
</record>
<record id="s_three_columns_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_1</field>
<field name="name">website.s_three_columns_default_image_1</field>
<field name="url">/theme_bewise/static/src/img/content/college_carousel_2.jpg</field>
</record>
<record id="s_three_columns_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_2</field>
<field name="name">website.s_three_columns_default_image_2</field>
<field name="url">/theme_bewise/static/src/img/content/college_graduate_2.jpg</field>
</record>
<record id="s_three_columns_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_3</field>
<field name="name">website.s_three_columns_default_image_3</field>
<field name="url">/theme_bewise/static/src/img/content/library_image_10.jpg</field>
</record>
</odoo>