feat: kariyer formu, mobil offcanvas menu ve blog modulu iyilestirmeleri
This commit is contained in:
@@ -8,8 +8,35 @@ $favicon_path = setting('site_favicon');
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ setting('seo_meta_title') }} - {{ $meta['title'] ?? ($settings->default_meta_title ?? config('app.name')) }}</title>
|
||||
<meta name="description" content="{{ $meta['description'] ?? (setting('seo_meta_description') ?? '') }}">
|
||||
@php
|
||||
$seo_title = ($meta['title'] ?? null) ? $meta['title'] . ' - ' . setting('site_name') : setting('seo_meta_title');
|
||||
$seo_description = $meta['description'] ?? setting('seo_meta_description');
|
||||
$seo_image = $meta['image'] ?? setting('default_meta_image');
|
||||
if ($seo_image && !str_starts_with($seo_image, 'http')) {
|
||||
$seo_image = asset($seo_image);
|
||||
}
|
||||
@endphp
|
||||
<title>{{ $seo_title }}</title>
|
||||
<meta name="description" content="{{ $seo_description }}">
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ url()->current() }}">
|
||||
<meta property="og:title" content="{{ $seo_title }}">
|
||||
<meta property="og:description" content="{{ $seo_description }}">
|
||||
@if($seo_image)
|
||||
<meta property="og:image" content="{{ $seo_image }}">
|
||||
@endif
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:url" content="{{ url()->current() }}">
|
||||
<meta name="twitter:title" content="{{ $seo_title }}">
|
||||
<meta name="twitter:description" content="{{ $seo_description }}">
|
||||
@if($seo_image)
|
||||
<meta name="twitter:image" content="{{ $seo_image }}">
|
||||
@endif
|
||||
|
||||
<link rel="icon" href="{{ asset('storage/' . $favicon_path) }}">
|
||||
<link rel="stylesheet" href="{{ asset('html/style.css') }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('assets/fonts/unicons/unicons.css') }}">
|
||||
@@ -18,10 +45,36 @@ $favicon_path = setting('site_favicon');
|
||||
<link rel="preload" href="{{ asset('assets/css/fonts/urbanist.css') }}" as="style" onload="this.rel='stylesheet'">
|
||||
<link rel="preload" href="{{ asset('assets/css/fonts/space.css') }}" as="style" onload="this.rel='stylesheet'">
|
||||
|
||||
<!-- Site Verification -->
|
||||
@if(setting('seo_google_search_console'))
|
||||
<meta name="google-site-verification" content="{{ setting('seo_google_search_console') }}" />
|
||||
@endif
|
||||
@if(setting('seo_bing_webmaster'))
|
||||
<meta name="msvalidate.01" content="{{ setting('seo_bing_webmaster') }}" />
|
||||
@endif
|
||||
|
||||
<style>
|
||||
<?php echo setting('custom_css') ?>
|
||||
</style>
|
||||
|
||||
<!-- Google Analytics 4 (GA4) -->
|
||||
@if(setting('seo_google_analytics_id'))
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ setting('seo_google_analytics_id') }}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', '{{ setting('seo_google_analytics_id') }}');
|
||||
|
||||
// Global Event Tracker Helper
|
||||
window.trackEvent = function(eventName, params = {}) {
|
||||
if (typeof gtag === 'function') {
|
||||
gtag('event', eventName, params);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@endif
|
||||
|
||||
@stack('styles')
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user