@extends('website_builder.texigo_theme.layout') @section('title', 'TaxiGo - #1 Trusted Taxi & Cab Mobility Service') @section('content') @php $subdomainParam = isset($subdomain) && $subdomain ? $subdomain : null; $homeUrl = $subdomainParam ? route('website-builder.subdomain.site', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo'); $aboutUrl = $subdomainParam ? route('website-builder.subdomain.about', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo.about'); $contactUrl = $subdomainParam ? route('website-builder.subdomain.contact', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo.contact'); $agency = $agency ?? $interior ?? null; @endphp {{-- ===================================================================== HERO SECTION (Reference Image 1 – full background, left-side content) ===================================================================== --}} @php $defaultTxHero = asset('assets/website_builder/Templates/Texigo_agency/herobanner_image.png'); $txHeroImg = $agency->hero_image ?? ''; $isDigitalHero = empty($txHeroImg) || str_contains($txHeroImg, 'Digital_agency') || str_contains($txHeroImg, 'hero_banner.png') || str_contains($txHeroImg, 'Construction_agency'); $heroBannerBg = !$isDigitalHero ? (str_starts_with($txHeroImg, 'http') ? $txHeroImg : asset(ltrim($txHeroImg, '/'))) : $defaultTxHero; $heroBadge = !empty($agency->hero_badge) ? $agency->hero_badge : '🚖 #1 Trusted Taxi Service'; $heroTitle = !empty($agency->hero_title) ? $agency->hero_title : "Your Journey\nOur Priority"; $heroSubtitle = !empty($agency->hero_subtitle) ? $agency->hero_subtitle : 'Reliable. Safe. Affordable. Get where you need to go with comfort and peace of mind.'; @endphp
{{ $heroBadge }}

{!! nl2br(e($heroTitle)) !!}

{{ $heroSubtitle }}

{{ $agency->hero_bullet_1_title ?? 'Safe &' }}
{{ $agency->hero_bullet_1_text ?? 'Secure Rides' }}
{{ $agency->hero_bullet_2_title ?? '24/7' }}
{{ $agency->hero_bullet_2_text ?? 'Customer Support' }}
{{ $agency->hero_bullet_3_title ?? 'Affordable' }}
{{ $agency->hero_bullet_3_text ?? '& Transparent Pricing' }}
{{-- ===================================================================== TAXI FARE CALCULATOR SECTION ===================================================================== --}} @php $calcBadge = $agency->fare_calculator_data['badge'] ?? 'CAB FARE CALCULATOR'; $calcTitle = $agency->fare_calculator_data['title'] ?? 'Estimate Your Trip Fare'; $calcSubtitle = $agency->fare_calculator_data['subtitle'] ?? 'Instant, transparent pricing with no hidden charges. Select your route and vehicle.'; // Demo theme condition: only for pure demo previews without customer, NOT for real customers $isDemoTheme = (empty($customer) || (isset($customer) && empty($customer->id))) && (session('wb_demo_admin') || request()->routeIs('website-builder.templates.*') || request()->is('*templates/texigo*') || request()->is('templates/texigo*') || request()->is('*templates*')); if ($isDemoTheme) { // Demo themes across all whitelabels get the official Google Maps API key $calcApiKey = 'AIzaSyCk9MsSiFqzbjMveoIOzZ4yBcUnjDk6zOY'; } else { // Real customer: strictly use their own configured key (never forced to default) $calcApiKey = trim( $agency->google_maps_api_key ?? $agency->google_map_api_key ?? ($agency->fare_calculator_data['google_map_api_key'] ?? '') ?? ($agency->fare_calculator_data['google_maps_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['google_map_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['google_maps_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['fare_calculator_data']['google_maps_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['fare_calculator_data']['google_map_api_key'] ?? '') ); } $calcVehicles = $agency->fare_calculator_data['vehicles'] ?? [ ['name' => 'Sedan', 'rate' => 20, 'base_fare' => 50, 'seats' => '4 Seats', 'bags' => '3 Bags', 'icon' => 'fa-car'], ['name' => 'SUV', 'rate' => 30, 'base_fare' => 50, 'seats' => '6 Seats', 'bags' => '4 Bags', 'icon' => 'fa-truck-monster'], ['name' => 'Premium', 'rate' => 50, 'base_fare' => 50, 'seats' => '4 Seats', 'bags' => '3 Bags', 'icon' => 'fa-crown'], ['name' => 'Hatchback', 'rate' => 15, 'base_fare' => 50, 'seats' => '4 Seats', 'bags' => '2 Bags', 'icon' => 'fa-car-side'], ]; @endphp
{{ $calcBadge }}

{{ $calcTitle }}

{{ $calcSubtitle }}

Auto-calculated distance
@foreach($calcVehicles as $idx => $v) @php $vRate = $v['rate'] ?? $v['price_per_km'] ?? 20; $vBase = $v['base_fare'] ?? $v['base'] ?? 50; $vSeats = $v['seats'] ?? '4 Seats'; $vBags = $v['bags'] ?? '2 Bags'; $vName = $v['name'] ?? 'Vehicle'; $vIcon = $v['icon'] ?? 'fa-car'; @endphp
₹{{ $vRate }}/km
{{ $vName }}
{{ $vSeats }} · {{ $vBags }}
@endforeach
FARE SUMMARY Instant Estimate
Trip Distance 15 KM
Selected Vehicle Sedan
Base Fare ₹50
Distance Charge ₹300
Total Estimated Fare
₹350
{{-- ===================================================================== ABOUT US SECTION ===================================================================== --}}
{{-- LEFT COLUMN --}}
{{ $agency->about_badge ?? 'ABOUT US' }}

{!! nl2br(e($agency->about_hero_title ?? "More Than Just a Ride\nWe Drive Better Journeys")) !!}

{{ $agency->about_hero_subtitle ?? 'TaxiGo is committed to providing safe, reliable, and comfortable transportation for everyone.' }}

{{ $agency->about_primary_btn_text ?? 'Learn More' }}
{{-- RIGHT COLUMN — 3 equal cards --}}
{{-- Mission card --}}

{{ $agency->mission_title ?? 'Our Mission' }}

{{ $agency->mission_text ?? 'To provide safe, reliable, and convenient rides for everyone, everywhere.' }}

{{-- Vision card --}}

{{ $agency->vision_title ?? 'Our Vision' }}

{{ $agency->vision_text ?? 'To be the most trusted global mobility platform, connecting people and places.' }}

{{-- Values card --}}

{{ $agency->values_title ?? 'Our Values' }}

@php $valText = $agency->values_text ?? "Customer First\nSafety & Reliability\nIntegrity & Transparency\nInnovation\nSustainable Mobility"; $valItems = array_values(array_filter(array_map('trim', preg_split('/\r\n|\r|\n|,/', $valText)))); @endphp
    @foreach($valItems as $vi)
  • {{ $vi }}
  • @endforeach
{{-- ===================================================================== DARK STATS BAR ===================================================================== --}} @php $rawStats = $agency->stats_data ?? null; if (is_string($rawStats)) { $dec = json_decode($rawStats, true); $rawStats = is_string($dec) ? json_decode($dec, true) : $dec; } $stats = (is_array($rawStats) && count($rawStats) > 0) ? $rawStats : [ ['number' => '8+', 'label' => 'Years of Experience', 'icon' => 'fa-users'], ['number' => '250K+', 'label' => 'Rides Completed', 'icon' => 'fa-car'], ['number' => '98%', 'label' => 'Customer Satisfaction', 'icon' => 'fa-star'], ['number' => '50+', 'label' => 'Professional Drivers', 'icon' => 'fa-user-tie'], ]; @endphp
@foreach($stats as $i => $st)
{{ $st['number'] ?? '' }}
{{ $st['label'] ?? '' }}
@endforeach
{{-- ===================================================================== OUR SERVICES SECTION ===================================================================== --}} @php $rawServices = $agency->services_data ?? null; if (is_string($rawServices)) { $dec = json_decode($rawServices, true); $rawServices = is_string($dec) ? json_decode($dec, true) : $dec; } $services = (is_array($rawServices) && count($rawServices) > 0) ? $rawServices : [ ['title'=>'City Rides', 'desc'=>'Quick and affordable rides within the city.', 'image'=>'assets/website_builder/Templates/Texigo_agency/services/service_city_rides.png', 'icon'=>'fa-city'], ['title'=>'Airport Transfers', 'desc'=>'On-time pickups and drop-offs guaranteed.', 'image'=>'assets/website_builder/Templates/Texigo_agency/services/service_airport_transfers.png', 'icon'=>'fa-plane-departure'], ['title'=>'Luxury Chauffeur Service', 'desc'=>'Premium high-end vehicles with professional drivers.', 'image'=>'assets/website_builder/Templates/Texigo_agency/service_luxury.png', 'icon'=>'fa-user-tie'], ['title'=>'Outstation Trips', 'desc'=>'Comfortable rides to intercity destinations.', 'image'=>'assets/website_builder/Templates/Texigo_agency/services/service_outstation_trips.png', 'icon'=>'fa-route'], ['title'=>'Corporate Travel', 'desc'=>'Reliable mobility solutions for business pros.', 'image'=>'assets/website_builder/Templates/Texigo_agency/services/service_corporate_travel.png', 'icon'=>'fa-briefcase'], ['title'=>'Express Parcel Delivery', 'desc'=>'Fast, secure same-day parcel courier service.', 'image'=>'assets/website_builder/Templates/Texigo_agency/services/service_parcel_delivery.png', 'icon'=>'fa-box'], ['title'=>'Wedding & Event Fleet', 'desc'=>'Luxury convoy arrangements for weddings and events.', 'image'=>'assets/website_builder/Templates/Texigo_agency/service_chauffeur.png', 'icon'=>'fa-heart'], ['title'=>'VIP Escort & Security', 'desc'=>'Armored luxury vehicles with trained security drivers.', 'image'=>'assets/website_builder/Templates/Texigo_agency/services/service_premium_rides.png', 'icon'=>'fa-shield-halved'], ]; foreach ($services as &$sItem) { $img = $sItem['image'] ?? ''; if (empty($img)) { $titleLower = strtolower($sItem['title'] ?? ''); if (str_contains($titleLower, 'city')) $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/services/service_city_rides.png'; elseif (str_contains($titleLower, 'airport')) $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/services/service_airport_transfers.png'; elseif (str_contains($titleLower, 'outstation')) $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/services/service_outstation_trips.png'; elseif (str_contains($titleLower, 'corporate')) $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/services/service_corporate_travel.png'; elseif (str_contains($titleLower, 'parcel')) $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/services/service_parcel_delivery.png'; elseif (str_contains($titleLower, 'luxury')) $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/service_luxury.png'; elseif (str_contains($titleLower, 'wedding')) $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/service_chauffeur.png'; else $sItem['image'] = 'assets/website_builder/Templates/Texigo_agency/services/service_city_rides.png'; } } unset($sItem); $servicesCount = count($services); @endphp
{{-- Section header --}}
{{ !empty($agency->services_badge) ? $agency->services_badge : 'OUR SERVICES' }}

{{ !empty($agency->services_title) ? $agency->services_title : 'Ride for Every Occasion' }}

{{ !empty($agency->services_subtitle) ? $agency->services_subtitle : 'From daily commutes to special trips, we have the right ride for you.' }}

View All Services @if($servicesCount > 4) @endif
@if($servicesCount > 4)
@foreach($services as $srv)
{{ $srv['title'] ?? '' }}
@php $sIcon = !empty($srv['icon']) ? $srv['icon'] : 'fa-taxi'; if (!str_contains($sIcon, 'fa-') && !str_contains($sIcon, 'bi-')) { $sIcon = 'fa-solid fa-' . $sIcon; } elseif (!str_contains($sIcon, 'fa-solid') && !str_contains($sIcon, 'fa-regular') && !str_contains($sIcon, 'fa-brands') && !str_contains($sIcon, 'bi')) { $sIcon = 'fa-solid ' . $sIcon; } @endphp

{{ $srv['title'] ?? '' }}

{{ $srv['desc'] ?? ($srv['description'] ?? '') }}

@endforeach
@else
@foreach($services as $srv)
{{ $srv['title'] ?? '' }}
@php $sIcon = !empty($srv['icon']) ? $srv['icon'] : 'fa-taxi'; if (!str_contains($sIcon, 'fa-') && !str_contains($sIcon, 'bi-')) { $sIcon = 'fa-solid fa-' . $sIcon; } elseif (!str_contains($sIcon, 'fa-solid') && !str_contains($sIcon, 'fa-regular') && !str_contains($sIcon, 'fa-brands') && !str_contains($sIcon, 'bi')) { $sIcon = 'fa-solid ' . $sIcon; } @endphp

{{ $srv['title'] ?? '' }}

{{ $srv['desc'] ?? ($srv['description'] ?? '') }}

@endforeach
@endif
{{-- ===================================================================== FLEET SECTION ===================================================================== --}}
{{ !empty($agency->portfolio_badge) ? $agency->portfolio_badge : 'OUR FLEET' }}

{{ !empty($agency->portfolio_title) ? $agency->portfolio_title : 'Choose Your Perfect Ride' }}

{{ !empty($agency->portfolio_subtitle) ? $agency->portfolio_subtitle : 'A wide range of vehicles to suit your needs and budget.' }}

@php $fleet = $agency->portfolio_data ?? [ ['title'=>'Hatchback','seats'=>'4 Seats','bags'=>'2 Bags','image'=>'https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?q=80&w=800&auto=format&fit=crop'], ['title'=>'Sedan', 'seats'=>'4 Seats','bags'=>'3 Bags','image'=>'https://images.unsplash.com/photo-1550355291-bbee04a92027?q=80&w=800&auto=format&fit=crop'], ['title'=>'SUV', 'seats'=>'6 Seats','bags'=>'4 Bags','image'=>'https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?q=80&w=800&auto=format&fit=crop'], ['title'=>'Premium', 'seats'=>'4 Seats','bags'=>'3 Bags','image'=>'https://images.unsplash.com/photo-1563720223185-11003d516935?q=80&w=800&auto=format&fit=crop'], ]; @endphp
@foreach($fleet as $fl)
{{ $fl['title'] ?? '' }}

{{ $fl['title'] ?? '' }}

{{ $fl['seats'] ?? '4 Seats' }} {{ $fl['bags'] ?? '2 Bags' }}
@endforeach
{{-- ===================================================================== TESTIMONIALS SECTION ===================================================================== --}} @php $testimonials = $agency->testimonials_data ?? [ ['name'=>'Emily Carter', 'role'=>'Frequent Traveler', 'comment'=>'TaxiGo made my airport transfer so easy and stress-free. Highly recommended!', 'avatar'=>'https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=200&auto=format&fit=crop'], ['name'=>'James Walker', 'role'=>'Business Executive', 'comment'=>'Reliable, professional, and affordable. The best taxi service in the city!', 'avatar'=>'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=200&auto=format&fit=crop'], ['name'=>'Sophia Lee', 'role'=>'Regular Customer', 'comment'=>'Great service and very friendly drivers. I always choose TaxiGo!', 'avatar'=>'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?q=80&w=200&auto=format&fit=crop'], ]; $testimonialsCount = count($testimonials); @endphp
{{ $agency->testimonials_badge ?? 'TESTIMONIALS' }}

{{ $agency->testimonials_title ?? 'What Our Customers Say' }}

{{ $agency->testimonials_subtitle ?? 'Real stories from people who ride with TaxiGo every day.' }}

@if($testimonialsCount > 4)
@endif
@if($testimonialsCount > 0)
@foreach($testimonials as $t)

"{{ $t['comment'] ?? '' }}"

@php $tAvatar = !empty($t['avatar']) ? (str_starts_with($t['avatar'], 'http') ? $t['avatar'] : asset(ltrim($t['avatar'], '/'))) : 'https://ui-avatars.com/api/?name=' . urlencode($t['name'] ?? 'Rider') . '&size=200&background=F5A623&color=fff'; @endphp {{ $t['name'] ?? '' }}
{{ $t['name'] ?? '' }}
{{ $t['role'] ?? '' }}
View Review
@endforeach
@endif
{{-- ===================================================================== BLOG & NEWS SECTION ===================================================================== --}} @if(!isset($agency) || (method_exists($agency, 'isFeatureEnabled') ? $agency->isFeatureEnabled('blog', $customer ?? null) : true)) @php $blogs = $agency->blogs_data ?? []; if (empty($blogs) || \App\Models\WebsiteBuilder\WbAgencySetting::isDefaultBlogPlaceholderForOtherTheme('texigo', $blogs)) { $blogs = \App\Models\WebsiteBuilder\WbAgencySetting::createTexigoDefaultInstance($agency->customer_id ?? null)->blogs_data ?? []; } $blogsCount = count($blogs); $subdomainSlug = $subdomain ?? (isset($customer) && !empty($customer->subdomain) ? $customer->subdomain : null); @endphp
LATEST INSIGHTS

Taxi & Mobility News

Stay updated with safety tips, fleet news, and city travel guides.

@if($blogsCount > 3) @endif
@if($blogsCount > 0)
@foreach($blogs as $b) @php $blogId = $b['id'] ?? $loop->iteration; $blogDetailUrl = $subdomainSlug ? route('website-builder.subdomain.blog', ['subdomain' => $subdomainSlug, 'id' => $blogId]) : url('/website-builder/templates/texigo/blog/' . $blogId); @endphp
{{ $b['title'] ?? '' }} {{ $b['category'] ?? 'Article' }}
{{ $b['date'] ?? date('M d, Y') }} {{ $b['author'] ?? 'Admin' }}
{{ $b['title'] ?? '' }}

{{ $b['excerpt'] ?? '' }}

Read Article
@endforeach
@endif
@endif @endsection @section('scripts') @if(!empty($calcApiKey)) @endif @endsection