TanchoToplineCargo/resources/views/client/humancarerecruit/partials/layout.blade.php
2024-05-05 10:32:49 +05:45

41 lines
1.1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="csrf-token" content="{{ csrf_token() }}" />
@include('client.humancarerecruit.partials.header')
<title>{{ env('APP_NAME') }}</title>
<script>
var APP_URL = '{{ env('
APP_URL ') }}';
</script>
@yield('css')
@stack('css')
</head>
<body>
@include("client.humancarerecruit.nav")
@yield('content')
@include('client.humancarerecruit.partials.footer')
@include('client.humancarerecruit.partials.footerincludes')
@yield('js')
@stack('js')
<script>
var imgTags = document.getElementsByTagName('img');
for (var i = 0; i < imgTags.length; i++) {
var imgTag = imgTags[i];
var originalSrc = imgTag.src;
imgTag.onerror = function() {
if (this.src === originalSrc) {
console.log('Error loading image: ' + originalSrc);
this.src = '{{site_url(SITEVARS->no_image)}}';
}
};
imgTag.src = originalSrc;
}
</script>
</body>
</html>