{{--
Pandini Voyages - Meta Tags Partial
Usage in views:
@section('meta_title', 'Your Page Title')
@section('meta_description', 'Your page description')
@section('meta_image', asset('path/to/image.jpg'))
--}}
@php
$appName = config('app.brand.name', 'Pandini Voyages');
$appUrl = config('app.url', 'https://pandinivoyages.com');
$appTagline = config('app.brand.tagline', 'Bespoke trips planned with careāso you can simply enjoy the journey');
// Page-specific meta (can be overridden in views)
$metaTitle = $metaTitle ?? ($title ?? $appName);
$metaDescription = $metaDescription ?? $appTagline;
$metaImage = $metaImage ?? asset('build/img/og-default.jpg');
$metaUrl = $metaUrl ?? url()->current();
$metaType = $metaType ?? 'website';
// Combine app name with page title
$fullTitle = $metaTitle === $appName ? $appName : "$metaTitle - $appName";
@endphp
{{-- Basic Meta Tags --}}
{{-- Open Graph Meta Tags (Facebook, LinkedIn) --}}
{{-- Twitter Card Meta Tags --}}
{{-- Additional SEO Tags --}}
{{-- Favicon and Touch Icons --}}
{{-- Structured Data (JSON-LD) --}}
@if(isset($structuredData) && $structuredData)
{!! $structuredData !!}
@else
@endif