Files
ahrommag/resources/views/components/layouts/app.blade.php
2025-11-16 12:43:07 +03:30

167 lines
5.4 KiB
PHP

<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="{{env('APP_URL_IMAGE').'images/static/logo.png'}}">
<meta name="csrf-token" content="{{ csrf_token() }}">
@section('robots')
<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
@show
<title>@yield('title', 'مجله خبری سرمایه گذاری اهرم')</title>
@yield('metaSEO')
@vite(['resources/css/app.css', 'resources/js/app.js'])
<script data-navigate-once src="{{asset('js/tailwind.js')}}"></script>
<style>
@font-face {
font-family: iransans;
font-style: normal;
font-weight: bold;
src: url('{{asset(' fonts/IRANSansX-Bold.woff')}}') format('woff'),
}
@font-face {
font-family: iransans;
font-style: normal;
font-weight: normal;
src: url('{{asset(' fonts/IRANSansXV.woff')}}') format('woff'),
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.bg-ahrom {
background-color: rgb(8, 70, 66) !important;
}
.bg-preveBackQuiz {
background-color: rgb(223, 229, 231) !important;
}
.position-fixed {
position: fixed !important;
top: 0 !important;
}
.trans_all {
transition: all ease .4s;
}
.animation-open {
transform: translateY(-32px);
}
svg {
pointer-events: none;
}
.items-center {
align-items: center !important;
}
.animation-open2 {
transform: translateY(1px);
}
#nprogress .bar,
.spinner {
z-index: 3000 !important;
}
</style>
<link href="{{asset('home/css/flowbite@2.5.2.css')}}" rel="stylesheet" />
@stack('style_css')
@livewireStyles
</head>
<body id="bodyStyle" class="min-h-screen overflow-x-hidden bg-white leading-normal text-slate-700 antialiased">
@if(request()->ip() == '80.191.102.86' || true)
@livewire('partials.header')
@endif
<main class=" mx-auto lg:pt-24 pt-14" id="top">
<div wire:loading style="position: fixed; top: 0; left: 0; width: 100%; height: 3px; background-color: #084642; z-index: 10000;"></div>
{{ $slot }}
</main>
@include('partials.footer')
<script data-navigate-once src="{{asset('home/js/flowbite.min.js')}}"></script>
<script src="{{asset('js/lottie.js')}}"></script>
@stack('script_js')
<!---start GOFTINO code--->
<script type="text/javascript">
!function(){var i="hAqxn2",a=window,d=document;function g(){var g=d.createElement("script"),s="https://www.goftino.com/widget/"+i,l=localStorage.getItem("goftino_"+i);g.async=!0,g.src=l?s+"?o="+l:s;d.getElementsByTagName("head")[0].appendChild(g);}"complete"===d.readyState?g():a.attachEvent?a.attachEvent("onload",g):a.addEventListener("load",g,!1);}();
</script>
<script>
var boxwidget = document.getElementById('box-widget-icon');
window.addEventListener('goftino_ready', function() {
var currentRoute = "page.credit.index";
if (window.innerWidth < 1024 && (currentRoute == 'page.credit.index' || currentRoute ==
'page.credit.indexMobile')) {
Goftino.setWidget({
hasIcon: false,
hasSound: false,
});
var headerChatBtn = document.getElementById('header_chat_btn');
if (headerChatBtn) {
headerChatBtn.addEventListener('click', () => {
Goftino.open();
})
}
}
var header_btn_chat2 = document.getElementById('header_btn_chat2');
if (header_btn_chat2) {
header_btn_chat2.addEventListener('click', () => {
Goftino.open();
})
}
window.addEventListener('resize', function() {
currentRoute = "page.credit.index";
if (window.innerWidth < 1024 && (currentRoute == 'page.credit.index' || currentRoute ==
'page.credit.indexMobile')) {
Goftino.setWidget({
hasIcon: false,
hasSound: false,
});
if (boxwidget) {
boxwidget.classList.add('hidden');
}
headerChatBtn = document.getElementById('header_chat_btn');
if (headerChatBtn) {
headerChatBtn.addEventListener('click', () => {
Goftino.open();
})
}
}
header_btn_chat2 = document.getElementById('header_btn_chat2');
if (boxwidget) {
boxwidget.classList.remove('hidden');
}
if (header_btn_chat2) {
header_btn_chat2.addEventListener('click', () => {
Goftino.open();
})
}
});
});
</script>
<!---end GOFTINO code--->
@livewireScriptConfig
</body>
</html>