Add assets and banner message for EU cookie laws

This commit is contained in:
Nabeel Shahzad
2018-08-20 10:25:40 -05:00
parent 56c1f5ce4d
commit 666c5d50d4
7 changed files with 41 additions and 15 deletions

View File

@@ -84,16 +84,34 @@
{{-- Start of the required tags block. Don't remove these or things will break!! --}}
<script src="{{ public_asset('/assets/global/js/vendor.js') }}"></script>
<script src="{{ public_asset('/assets/frontend/js/app.js') }}"></script>
{{--<script src="bower_components/sightglass/index.js"></script>
<script src="bower_components/rivets/dist/rivets.min.js"></script>--}}
@yield('scripts')
{{--
It's probably safe to keep this to ensure you're in compliance
with the EU Cookie Law https://privacypolicies.com/blog/eu-cookie-law
--}}
<script>
window.addEventListener("load", function () {
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#edeff5",
"text": "#838391"
},
"button": {
"background": "#067ec1"
}
},
"position": "top"
})
});
</script>
{{-- End the required tags block --}}
<script>
$(document).ready(function () {
$(document).ready(function () {
$(".select2").select2({width: 'resolve'});
});
});
</script>
</body>
</html>