[REF] website: move s_cover snippet to dedicated file
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
'views/website_navbar_templates.xml',
|
||||
'views/snippets/snippets.xml',
|
||||
'views/snippets/s_title.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/website_views.xml',
|
||||
'views/website_visitor_views.xml',
|
||||
'views/res_config_settings_views.xml',
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_cover" name="Cover">
|
||||
<section class="s_cover parallax s_parallax_is_fixed bg-black-50 pt96 pb96" data-scroll-background-ratio="1">
|
||||
<span class="s_parallax_bg oe_img_bg oe_custom_bg" style="background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 0;"/>
|
||||
<div class="container">
|
||||
<div class="row s_nb_column_fixed">
|
||||
<div class="col-lg-12 s_title" data-name="Title">
|
||||
<h1 class="s_title_thin" style="font-size: 62px; text-align: center;">Catchy Headline</h1>
|
||||
</div>
|
||||
<div class="col-lg-12 s_text pt16 pb16" data-name="Text">
|
||||
<p class="lead" style="text-align: center;">Write one or two paragraphs describing your product, services or a specific feature.<br/> To be successful your content needs to be useful to your readers.</p>
|
||||
</div>
|
||||
<div class="col-lg-12 s_btn text-center pt16 pb16" data-name="Buttons">
|
||||
<a href="/aboutus" class="btn btn-delta rounded-circle">About us</a>
|
||||
<a href="/contactus" class="btn btn-primary rounded-circle">Contact us</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -1,26 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_cover" name="Cover">
|
||||
<section class="s_cover parallax s_parallax_is_fixed bg-black-50 pt96 pb96" data-scroll-background-ratio="1">
|
||||
<span class="s_parallax_bg oe_img_bg oe_custom_bg" style="background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 0;"/>
|
||||
<div class="container">
|
||||
<div class="row s_nb_column_fixed">
|
||||
<div class="col-lg-12 s_title" data-name="Title">
|
||||
<h1 class="s_title_thin" style="font-size: 62px; text-align: center;">Catchy Headline</h1>
|
||||
</div>
|
||||
<div class="col-lg-12 s_text pt16 pb16" data-name="Text">
|
||||
<p class="lead" style="text-align: center;">Write one or two paragraphs describing your product, services or a specific feature.<br/> To be successful your content needs to be useful to your readers.</p>
|
||||
</div>
|
||||
<div class="col-lg-12 s_btn text-center pt16 pb16" data-name="Buttons">
|
||||
<a href="/aboutus" class="btn btn-delta rounded-circle">About us</a>
|
||||
<a href="/contactus" class="btn btn-primary rounded-circle">Contact us</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<template id="s_text_image" name="Text - Image">
|
||||
<section class="s_text_image pt32 pb32">
|
||||
<div class="container">
|
||||
Reference in New Issue
Block a user