@extends('hiremee-revamp.layouts.main-layout')
@section('page_title', $quick_connect_title ?? 'Quick Connect | HireMee')
@section('meta_key', $quick_connect_metakey ?? '')
@section('meta_key_description', $meta_key_description ?? '')
@section('content')
@php
// Default country = India
$defaultCountry = 'in';
$url = request()->url();
// Slug → ISO country code mapping
$countrySlugMap = [
// 🇸🇬 Singapore
'singapore' => 'sg',
// 🇵🇭 Philippines
'philippines' => 'ph',
'manila' => 'ph',
// 🇦🇪 UAE
'uae' => 'ae',
'dubai' => 'ae',
'abudhabi' => 'ae',
'sharjah' => 'ae',
'ajman' => 'ae',
'umm-al-quwain' => 'ae',
'ras-al-khaimah' => 'ae',
'fujairah' => 'ae',
// 🇬🇧 United Kingdom
'uk' => 'gb',
'london' => 'gb',
// 🇺🇸 United States
'usa' => 'us',
'new-york' => 'us',
'philadelphia' => 'us',
'phoenix' => 'us',
'san-antonio' => 'us',
'san-diego' => 'us',
'fort-worth' => 'us',
'houston' => 'us',
'jacksonville' => 'us',
'las-vegas' => 'us',
'los-angeles' => 'us',
'miami' => 'us',
'austin' => 'us',
'chicago' => 'us',
'columbus' => 'us',
'dallas' => 'us',
'atlanta' => 'us',
// 🇨🇦 Canada
'canada' => 'ca',
'alberta' => 'ca',
'british-columbia' => 'ca',
// 🇩🇪 Germany
'germany' => 'de',
'berlin' => 'de',
'bavaria' => 'de',
'nuremberg' => 'de', // Nüremberg
'rhineland-palatinate' => 'de',
'rostock' => 'de',
'saarland' => 'de',
'saxony' => 'de',
'saxony-anhalt' => 'de',
'schleswig-holstein' => 'de',
'stuttgart' => 'de',
'thuringia' => 'de', // Thüringia
'trier' => 'de',
'ingolstadt' => 'de',
'jena' => 'de',
'karlsruhe' => 'de',
'koblenz' => 'de',
'leipzig' => 'de',
'lower-saxony' => 'de',
'lubeck' => 'de', // Lübeck
'ludwigshafen' => 'de',
'mannheim' => 'de',
'mecklenburg-vorpommern' => 'de',
'munich' => 'de',
'neunkirchen' => 'de',
'north-rhine-westphalia' => 'de',
'cologne' => 'de',
'dortmund' => 'de',
'dresden' => 'de',
'duisburg' => 'de',
'dusseldorf' => 'de', // Düsseldorf
'essen' => 'de',
'frankfurt-am-main' => 'de',
'freiburg-im-breisgau' => 'de',
'gera' => 'de',
'halle' => 'de',
'hamburg' => 'de',
'hanover' => 'de',
'hesse' => 'de',
'augsburg' => 'de',
'baden-wurttemberg' => 'de', // Baden-Württemberg
'brandenburg' => 'de',
'bremen' => 'de',
'chemnitz' => 'de',
// 🇦🇺 Australia (countries, states, cities)
'australia' => 'au',
'new-south-wales' => 'au',
'south-australia' => 'au',
'western-australia' => 'au',
'queensland' => 'au',
'victoria' => 'au',
'tasmania' => 'au',
'northern-territory' => 'au',
'australian-capital-territory' => 'au',
'sydney' => 'au',
'melbourne' => 'au',
'brisbane' => 'au',
'perth' => 'au',
'adelaide' => 'au',
'canberra' => 'au',
'hobart' => 'au',
'darwin' => 'au',
'gold-coast' => 'au',
'townsville' => 'au',
'wollongong' => 'au',
'newcastle' => 'au',
'geelong' => 'au',
'ballarat' => 'au',
'bendigo' => 'au',
'bathurst' => 'au',
'albury' => 'au',
'albany' => 'au',
'broome' => 'au',
'bunbury' => 'au',
'bundaberg' => 'au',
'burnie' => 'au',
'cairns' => 'au',
'coffs-harbour' => 'au',
'dubbo' => 'au',
'geraldton' => 'au',
'gladstone' => 'au',
'goulburn' => 'au',
'gympie' => 'au',
'kalgoorlie' => 'au',
'katherine' => 'au',
'launceston' => 'au',
'lismore' => 'au',
'mackay' => 'au',
'mandurah' => 'au',
'mildura' => 'au',
'mount-gambier' => 'au',
'nowra' => 'au',
'orange' => 'au',
'palmerston' => 'au',
'port-augusta' => 'au',
'port-lincoln' => 'au',
'rockhampton' => 'au',
'shepparton' => 'au',
'toowoomba' => 'au',
'tweed-heads' => 'au',
'wagga-wagga' => 'au',
'whyalla' => 'au',
];
// Detect country from URL
foreach ($countrySlugMap as $slug => $countryCode) {
if (str_contains($url, '-in-' . $slug)) {
$defaultCountry = $countryCode;
break;
}
}
@endphp
@php
$main_heading_display = $main_heading;
if(empty($main_heading)){
$main_heading_display = $content_title;
}
@endphp
{{$main_heading_display}}
@if(!empty($content_title))
@if(!empty($main_heading))
{{$content_title}}
@endif
@if($is_first_content_exists == 1)
@forelse($page_contents as $page_content)
@if(!in_array($page_content->is_heading,[1,2,3,4]))
- {{$page_content->content}}
@endif
@empty
@endforelse
@endif
@endif
@if(!empty($content_second_title))
{{$content_second_title}}
@forelse($page_contents as $page_content)
@if($page_content->is_heading ==2 && $page_content->is_second_content ==1)
- {{$page_content->content}}
@endif
@empty
@endforelse
@endif
@if(!empty($content_third_title))
{{$content_third_title}}
@forelse($page_contents as $page_content)
@if($page_content->is_heading ==3 && $page_content->is_second_content ==1)
- {{$page_content->content}}
@endif
@empty
@endforelse
@endif
@if(!empty($content_fourth_title))
{{$content_fourth_title}}
@forelse($page_contents as $page_content)
@if($page_content->is_heading ==4 && $page_content->is_second_content ==1)
- {{$page_content->content}}
@endif
@empty
@endforelse
@endif
Back To Page
@endsection