velocity sidebar issue and default theme velocity update
This commit is contained in:
parent
e5afdf23cb
commit
133dd6ebd4
|
|
@ -15,6 +15,7 @@ class ChannelTableSeeder extends Seeder
|
|||
'id' => 1,
|
||||
'code' => 'default',
|
||||
'name' => 'Default',
|
||||
'theme' => 'velocity',
|
||||
'root_category_id' => 1,
|
||||
'home_page_content' => '<p>@include("shop::home.slider") @include("shop::home.featured-products") @include("shop::home.new-products")</p><div class="banner-container"><div class="left-banner"><img src="https://s3-ap-southeast-1.amazonaws.com/cdn.uvdesk.com/website/1/201902045c581f9494b8a1.png" /></div><div class="right-banner"><img src="https://s3-ap-southeast-1.amazonaws.com/cdn.uvdesk.com/website/1/201902045c581fb045cf02.png" /> <img src="https://s3-ap-southeast-1.amazonaws.com/cdn.uvdesk.com/website/1/201902045c581fc352d803.png" /></div></div>',
|
||||
'footer_content' => '<div class="list-container"><span class="list-heading">Quick Links</span><ul class="list-group"><li><a href="@php echo route(\'shop.cms.page\', \'about-us\') @endphp">About Us</a></li><li><a href="@php echo route(\'shop.cms.page\', \'return-policy\') @endphp">Return Policy</a></li><li><a href="@php echo route(\'shop.cms.page\', \'refund-policy\') @endphp">Refund Policy</a></li><li><a href="@php echo route(\'shop.cms.page\', \'terms-conditions\') @endphp">Terms and conditions</a></li><li><a href="@php echo route(\'shop.cms.page\', \'terms-of-use\') @endphp">Terms of Use</a></li><li><a href="@php echo route(\'shop.cms.page\', \'contact-us\') @endphp">Contact Us</a></li></ul></div><div class="list-container"><span class="list-heading">Connect With Us</span><ul class="list-group"><li><a href="#"><span class="icon icon-facebook"></span>Facebook </a></li><li><a href="#"><span class="icon icon-twitter"></span> Twitter </a></li><li><a href="#"><span class="icon icon-instagram"></span> Instagram </a></li><li><a href="#"> <span class="icon icon-google-plus"></span>Google+ </a></li><li><a href="#"> <span class="icon icon-linkedin"></span>LinkedIn </a></li></ul></div>',
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"/js/velocity.js": "/js/velocity.js?id=7c7ad485b3dcad7fa046",
|
||||
"/js/velocity.js": "/js/velocity.js?id=59115275749529fc9e30",
|
||||
"/css/velocity-admin.css": "/css/velocity-admin.css?id=612d35e452446366eef7",
|
||||
"/css/velocity.css": "/css/velocity.css?id=581e5c29d2518a2b2bb1"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
v-for="(category, categoryIndex) in slicedCategories">
|
||||
|
||||
<a
|
||||
:class="`category unset ${(category.children.length > 0) ? 'fw6' : ''}`"
|
||||
:href="`${$root.baseUrl}/${category.slug}`">
|
||||
:href="`${$root.baseUrl}/${category.slug}`"
|
||||
:class="`category unset ${(category.children.length > 0) ? 'fw6' : ''}`">
|
||||
|
||||
<div
|
||||
class="category-icon"
|
||||
|
|
@ -59,8 +59,10 @@
|
|||
v-for="(subCategory, subCategoryIndex) in category.children">
|
||||
|
||||
<a
|
||||
:class="`category sub-category unset ${(subCategory.children.length > 0) ? 'fw6' : ''}`"
|
||||
:href="`${$root.baseUrl}/${category.slug}/${subCategory.slug}`">
|
||||
:id="`sidebar-level-link-2-${subCategoryIndex}`"
|
||||
@mouseout="toggleSidebar(id, $event, 'mouseout')"
|
||||
:href="`${$root.baseUrl}/${category.slug}/${subCategory.slug}`"
|
||||
:class="`category sub-category unset ${(subCategory.children.length > 0) ? 'fw6' : ''}`">
|
||||
|
||||
<div
|
||||
class="category-icon"
|
||||
|
|
@ -80,6 +82,7 @@
|
|||
v-for="(childSubCategory, childSubCategoryIndex) in subCategory.children">
|
||||
|
||||
<a
|
||||
:id="`sidebar-level-link-3-${childSubCategoryIndex}`"
|
||||
:class="`category unset ${(subCategory.children.length > 0) ? 'fw6' : ''}`"
|
||||
:href="`${$root.baseUrl}/${category.slug}/${subCategory.slug}/${childSubCategory.slug}`">
|
||||
<span class="category-title">{{ childSubCategory.name }}</span>
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ $(document).ready(function () {
|
|||
|| Array.from(target.classList)[0] == "rango-arrow-right"
|
||||
) {
|
||||
let parentItem = target.closest('li');
|
||||
|
||||
if (target.id || parentItem.id.match('category-')) {
|
||||
let subCategories = $(`#${target.id ? target.id : parentItem.id} .sub-categories`);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue