115 lines
4.6 KiB
PHP
115 lines
4.6 KiB
PHP
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport"
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>{{ $title }}</title>
|
|
<meta name='keywords' content='{{ $keywords }}' />
|
|
<meta name='description' content='{{ $meta_description }}' />
|
|
<link rel="shortcut icon" href="{{ asset ('assets/favicon.ico')}}">
|
|
<link rel="stylesheet" href="{{ asset ('assets/css/bootstrap.css') }}">
|
|
<link rel="stylesheet" href="https://bilettm.com/vendor/icon-awesome/css/font-awesome.min.css">
|
|
|
|
@yield('after_styles')
|
|
<link rel="stylesheet" href="{{ asset ('assets/css/style.css')}}">
|
|
<link rel="stylesheet" href="{{ asset ('assets/css/media.css')}}">
|
|
<link rel="stylesheet" href="{{ asset ('assets/css/menu.css')}}">
|
|
<link rel="stylesheet" href="{{ asset ('assets/css/menumedia.css')}}">
|
|
</head>
|
|
<body>
|
|
@include('web.layouts.headerMenu')
|
|
|
|
@yield('content')
|
|
@yield('content2')
|
|
@yield('content3')
|
|
|
|
@include('web.layouts.footerMenu')
|
|
|
|
<script src="{{ asset('assets/js/jquery-2.1.4.min.js')}}"></script>
|
|
<script src="{{ asset('assets/js/bootstrap.min.js')}}"></script>
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-145040878-1"></script>
|
|
<script>
|
|
////// scroll button
|
|
window.onscroll = function() {scrollFunction()};
|
|
|
|
function scrollFunction() {
|
|
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
|
|
document.getElementById("myBtn").style.display = "block";
|
|
} else {
|
|
document.getElementById("myBtn").style.display = "none";
|
|
}
|
|
}
|
|
function topFunction() {
|
|
document.body.scrollTop = 0;
|
|
document.documentElement.scrollTop = 0;
|
|
}
|
|
//////drop down
|
|
/* When the user clicks on the button,
|
|
toggle between hiding and showing the dropdown content */
|
|
function myDropdownFunc() {
|
|
document.getElementById("myDropdown").classList.toggle("show");
|
|
}
|
|
|
|
// Close the dropdown if the user clicks outside of it
|
|
window.onclick = function(e) {
|
|
if (!e.target.matches('.dropbtn')) {
|
|
var myDropdown = document.getElementById("myDropdown");
|
|
if (myDropdown.classList.contains('show')) {
|
|
myDropdown.classList.remove('show');
|
|
}
|
|
}
|
|
}
|
|
|
|
jQuery(document).ready(function (e) {
|
|
function t(t) {
|
|
e(t).bind("click", function (t) {
|
|
t.preventDefault();
|
|
e(this).parent().fadeOut()
|
|
})
|
|
}
|
|
e(".dropdown-toggle").click(function () {
|
|
var t = e(this).parents(".button-dropdown").children(".dropdown-menu").is(":hidden");
|
|
e(".button-dropdown .dropdown-menu").hide();
|
|
e(".button-dropdown .dropdown-toggle").removeClass("activee");
|
|
e(".button-dropdown").css('background-color', '#187f7e');
|
|
e(".button-dropdown .dropdown-toggle *").css('color', '#ffffff');
|
|
if (t) {
|
|
e(this).parents(".button-dropdown").children(".dropdown-menu").toggle().parents(".button-dropdown").children(".dropdown-toggle").addClass("activee");
|
|
e(this).parents(".button-dropdown").children(".dropdown-menu").toggle().parents(".button-dropdown").css('background-color', '#ffffff');
|
|
e(this).parents(".button-dropdown").children(".dropdown-menu").toggle().parents(".button-dropdown").children(".dropdown-toggle").children("*").css('color', '#187f7e');
|
|
}
|
|
});
|
|
e(document).bind("click", function (t) {
|
|
var n = e(t.target);
|
|
if (!n.parents().hasClass("button-dropdown")) e(".button-dropdown .dropdown-menu").hide();
|
|
});
|
|
e(document).bind("click", function (t) {
|
|
var n = e(t.target);
|
|
if (!n.parents().hasClass("button-dropdown")) {
|
|
e(".button-dropdown .dropdown-toggle").removeClass("activee");
|
|
e(".button-dropdown").css('background-color', '#187f7e');
|
|
e(".button-dropdown .dropdown-toggle *").css('color', '#ffffff');
|
|
}
|
|
})
|
|
});
|
|
///// google
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'UA-145040878-1');
|
|
|
|
//////search
|
|
$(document).ready(function () {
|
|
$('#searchId').click(function () {
|
|
$('#searchContentId').toggleClass('visible');
|
|
});
|
|
});
|
|
</script>
|
|
@yield('after_scripts')
|
|
</body>
|
|
</html>
|