Merge pull request #6420 from devansh-webkul/footer-removed
Removed Footer Link From Velocity Theme
This commit is contained in:
commit
1feb45c3d6
|
|
@ -27,7 +27,7 @@ class VelocityMetaDataSeeder extends Seeder
|
|||
'footer_middle_content' => '<div class="col-lg-6 col-md-12 col-sm-12 no-padding"><ul type="none"><li><a href="{!! url(\'page/about-us\') !!}">About Us</a></li><li><a href="{!! url(\'page/cutomer-service\') !!}">Customer Service</a></li><li><a href="{!! url(\'page/whats-new\') !!}">What’s New</a></li><li><a href="{!! url(\'page/contact-us\') !!}">Contact Us </a></li></ul></div><div class="col-lg-6 col-md-12 col-sm-12 no-padding"><ul type="none"><li><a href="{!! url(\'page/return-policy\') !!}"> Order and Returns </a></li><li><a href="{!! url(\'page/payment-policy\') !!}"> Payment Policy </a></li><li><a href="{!! url(\'page/shipping-policy\') !!}"> Shipping Policy</a></li><li><a href="{!! url(\'page/privacy-policy\') !!}"> Privacy and Cookies Policy </a></li></ul></div>',
|
||||
'slider' => 1,
|
||||
|
||||
'subscription_bar_content' => '<div class="social-icons col-lg-6"><a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-facebook" title="facebook"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-twitter" title="twitter"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-linked-in" title="linkedin"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-pintrest" title="Pinterest"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-youtube" title="Youtube"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-instagram" title="instagram"></i></a></div>',
|
||||
'subscription_bar_content' => '<div class="social-icons col-lg-6"><a href="https://facebook.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-facebook" title="facebook"></i> </a> <a href="https://twitter.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-twitter" title="twitter"></i> </a> <a href="https://linkedin.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-linked-in" title="linkedin"></i> </a> <a href="https://pintrest.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-pintrest" title="Pinterest"></i> </a> <a href="https://youtube.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-youtube" title="Youtube"></i> </a> <a href="https://instagram.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-instagram" title="instagram"></i></a></div>',
|
||||
|
||||
'product_policy' => '<div class="row col-12 remove-padding-margin"><div class="col-lg-4 col-sm-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-van-ship fs40"></i></div> <div class="right"><span class="font-setting fs20">Free Shipping on Order $20 or More</span></div></div></div></div> <div class="col-lg-4 col-sm-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-exchnage fs40"></i></div> <div class="right"><span class="font-setting fs20">Product Replace & Return Available </span></div></div></div></div> <div class="col-lg-4 col-sm-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-exchnage fs40"></i></div> <div class="right"><span class="font-setting fs20">Product Exchange and EMI Available </span></div></div></div></div></div>',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -200,9 +200,9 @@ class ConfigurationController extends Controller
|
|||
$saveImage[$subIndex] = $copyAdImage;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
} elseif ( $index == 3 ) {
|
||||
|
|
@ -227,7 +227,7 @@ class ConfigurationController extends Controller
|
|||
break;
|
||||
|
||||
default:
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
} elseif ( $index == 2 ) {
|
||||
|
|
@ -246,7 +246,7 @@ class ConfigurationController extends Controller
|
|||
break;
|
||||
|
||||
default:
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -265,7 +265,7 @@ class ConfigurationController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Copy the default adversise images
|
||||
* Copy the default adversise images
|
||||
*
|
||||
* @param string $resourceImagePath
|
||||
* @param string $copiedPath
|
||||
|
|
@ -332,7 +332,7 @@ class ConfigurationController extends Controller
|
|||
'footer_left_content' => __('velocity::app.admin.meta-data.footer-left-raw-content'),
|
||||
'footer_middle_content' => '<div class="col-lg-6 col-md-12 col-sm-12 no-padding"><ul type="none"><li><a href="{!! url(\'page/about-us\') !!}">About Us</a></li><li><a href="{!! url(\'page/cutomer-service\') !!}">Customer Service</a></li><li><a href="{!! url(\'page/whats-new\') !!}">What’s New</a></li><li><a href="{!! url(\'page/contact-us\') !!}">Contact Us </a></li></ul></div><div class="col-lg-6 col-md-12 col-sm-12 no-padding"><ul type="none"><li><a href="{!! url(\'page/return-policy\') !!}"> Order and Returns </a></li><li><a href="{!! url(\'page/payment-policy\') !!}"> Payment Policy </a></li><li><a href="{!! url(\'page/shipping-policy\') !!}"> Shipping Policy</a></li><li><a href="{!! url(\'page/privacy-policy\') !!}"> Privacy and Cookies Policy </a></li></ul></div>',
|
||||
'slider' => 1,
|
||||
'subscription_bar_content' => '<div class="social-icons col-lg-6"><a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-facebook" title="facebook"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-twitter" title="twitter"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-linked-in" title="linkedin"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-pintrest" title="Pinterest"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-youtube" title="Youtube"></i> </a> <a href="https://webkul.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-instagram" title="instagram"></i></a></div>',
|
||||
'subscription_bar_content' => '<div class="social-icons col-lg-6"><a href="https://facebook.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-facebook" title="facebook"></i> </a> <a href="https://twitter.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-twitter" title="twitter"></i> </a> <a href="https://linkedin.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-linked-in" title="linkedin"></i> </a> <a href="https://pintrest.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-pintrest" title="Pinterest"></i> </a> <a href="https://youtube.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-youtube" title="Youtube"></i> </a> <a href="https://instagram.com" target="_blank" class="unset" rel="noopener noreferrer"><i class="fs24 within-circle rango-instagram" title="instagram"></i></a></div>',
|
||||
'product_policy' => '<div class="row col-12 remove-padding-margin"><div class="col-lg-4 col-sm-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-van-ship fs40"></i></div> <div class="right"><span class="font-setting fs20">Free Shipping on Order $20 or More</span></div></div></div></div> <div class="col-lg-4 col-sm-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-exchnage fs40"></i></div> <div class="right"><span class="font-setting fs20">Product Replace & Return Available </span></div></div></div></div> <div class="col-lg-4 col-sm-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-exchnage fs40"></i></div> <div class="right"><span class="font-setting fs20">Product Exchange and EMI Available </span></div></div></div></div></div>',
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,24 @@
|
|||
<div class="row footer-statics col-12 no-margin">
|
||||
@include('velocity::layouts.footer.footer-links.footer-left')
|
||||
@include('velocity::layouts.footer.footer-links.footer-middle')
|
||||
@include('velocity::layouts.footer.footer-links.footer-right')
|
||||
<div class="row footer-statics no-margin">
|
||||
<div class="col-12 software-description">
|
||||
<div class="logo">
|
||||
<a href="{{ route('shop.home.index') }}" aria-label="Logo">
|
||||
@if ($logo = core()->getCurrentChannel()->logo_url)
|
||||
<img
|
||||
src="{{ $logo }}"
|
||||
class="logo full-img" alt="" width="200" height="50" />
|
||||
@else
|
||||
<img
|
||||
src="{{ asset('themes/velocity/assets/images/static/logo-text-white.png') }}"
|
||||
class="logo full-img" alt="" width="200" height="50" />
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@if ($velocityMetaData)
|
||||
{!! $velocityMetaData->footer_left_content !!}
|
||||
@else
|
||||
{!! __('velocity::app.admin.meta-data.footer-left-raw-content') !!}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
<div class="col-lg-4 col-md-12 col-sm-12 software-description">
|
||||
<div class="logo">
|
||||
<a href="{{ route('shop.home.index') }}" aria-label="Logo">
|
||||
@if ($logo = core()->getCurrentChannel()->logo_url)
|
||||
<img
|
||||
src="{{ $logo }}"
|
||||
class="logo full-img" alt="" width="200" height="50" />
|
||||
@else
|
||||
<img
|
||||
src="{{ asset('themes/velocity/assets/images/static/logo-text-white.png') }}"
|
||||
class="logo full-img" alt="" width="200" height="50" />
|
||||
@endif
|
||||
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@if ($velocityMetaData)
|
||||
{!! $velocityMetaData->footer_left_content !!}
|
||||
@else
|
||||
{!! __('velocity::app.admin.meta-data.footer-left-raw-content') !!}
|
||||
@endif
|
||||
</div>
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
<div class="col-lg-4 col-md-12 col-sm-12 footer-ct-content">
|
||||
<div class="row">
|
||||
|
||||
@if ($velocityMetaData)
|
||||
{!! DbView::make($velocityMetaData)->field('footer_middle_content')->render() !!}
|
||||
@else
|
||||
<div class="col-lg-6 col-md-12 col-sm-12 no-padding">
|
||||
<ul type="none">
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.about-us') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.customer-service') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.whats-new') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.contact-us') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-12 col-sm-12 no-padding">
|
||||
<ul type="none">
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.order-and-returns') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.payment-policy') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.shipping-policy') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://webkul.com/about-us/company-profile/">
|
||||
{{ __('velocity::app.admin.meta-data.footer-middle.privacy-and-cookies-policy') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
<div class="col-lg-4 col-md-12 col-sm-12 footer-rt-content">
|
||||
<div class="row">
|
||||
<div class="mb5 col-12">
|
||||
<h3>{{ __('velocity::app.home.payment-methods') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="payment-methods col-12">
|
||||
@foreach(\Webkul\Payment\Facades\Payment::getPaymentMethods() as $method)
|
||||
<div class="method-sticker">
|
||||
{{ $method['method_title'] }}
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="mb5 col-12">
|
||||
<h3>{{ __('velocity::app.home.shipping-methods') }}</h3>
|
||||
</div>
|
||||
|
||||
<div class="shipping-methods col-12">
|
||||
@foreach(\Webkul\Shipping\Facades\Shipping::getShippingMethods() as $method)
|
||||
<div class="method-sticker">
|
||||
{{ $method['method_title'] }}
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,17 +1,11 @@
|
|||
<div class="footer">
|
||||
<div class="footer-content">
|
||||
|
||||
@include('shop::layouts.footer.newsletter-subscription')
|
||||
@include('shop::layouts.footer.footer-links')
|
||||
|
||||
{{-- @if ($categories)
|
||||
@include('shop::layouts.footer.top-brands')
|
||||
@endif --}}
|
||||
@include('shop::layouts.footer.footer-links')
|
||||
|
||||
@if (core()->getConfigData('general.content.footer.footer_toggle'))
|
||||
@include('shop::layouts.footer.copy-right')
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue