@extends('layouts.app') @php use App\Helpers\SeoHelper; use App\Helpers\MarketContent; $locale = app()->getLocale(); $contactContent = $contactContent ?? MarketContent::contact($locale); $contactText = function (string $key, array $replace = []) use ($contactContent) { $value = data_get($contactContent, $key, ''); foreach ($replace as $placeholder => $replacement) { $value = str_replace(':' . $placeholder, $replacement, (string) $value); } return $value; }; $pageSeo = $contactContent['metadata']; $formMarket = config('leads.locale_to_form_market.' . $locale, 'other'); $phoneConfig = config('leads.form_phone.' . $formMarket, config('leads.form_phone.other')); $phoneCountries = [ ['code' => 'PT', 'locale' => 'pt', 'flag' => '🇵🇹', 'dial' => '+351', 'name' => 'Portugal', 'placeholder' => '912 345 678', 'format' => 'pt'], ['code' => 'BR', 'locale' => 'br', 'flag' => '🇧🇷', 'dial' => '+55', 'name' => 'Brasil', 'placeholder' => '(11) 98765-4321', 'format' => 'br'], ['code' => 'GB', 'locale' => 'en', 'flag' => '🇬🇧', 'dial' => '+44', 'name' => 'United Kingdom', 'placeholder' => '7700 900123', 'format' => 'gb'], ['code' => 'US', 'locale' => 'us', 'flag' => '🇺🇸', 'dial' => '+1', 'name' => 'United States', 'placeholder' => '(555) 123-4567', 'format' => 'nanp'], ['code' => 'CA', 'locale' => 'ca', 'flag' => '🇨🇦', 'dial' => '+1', 'name' => 'Canada', 'placeholder' => '(416) 555-0123', 'format' => 'nanp'], ['code' => 'ES', 'locale' => 'es', 'flag' => '🇪🇸', 'dial' => '+34', 'name' => 'España', 'placeholder' => '612 345 678', 'format' => '3-3-3'], ['code' => 'FR', 'locale' => 'fr', 'flag' => '🇫🇷', 'dial' => '+33', 'name' => 'France', 'placeholder' => '6 12 34 56 78', 'format' => 'fr'], ['code' => 'DE', 'locale' => 'de', 'flag' => '🇩🇪', 'dial' => '+49', 'name' => 'Deutschland', 'placeholder' => '1512 3456789', 'format' => 'de'], ['code' => 'IT', 'locale' => 'it', 'flag' => '🇮🇹', 'dial' => '+39', 'name' => 'Italia', 'placeholder' => '312 345 6789', 'format' => 'it'], ['code' => 'NL', 'locale' => 'nl', 'flag' => '🇳🇱', 'dial' => '+31', 'name' => 'Nederland', 'placeholder' => '6 12345678', 'format' => 'nl'], ['code' => 'IE', 'locale' => 'en', 'flag' => '🇮🇪', 'dial' => '+353', 'name' => 'Ireland', 'placeholder' => '85 123 4567', 'format' => 'ie'], ['code' => 'BE', 'locale' => 'fr', 'flag' => '🇧🇪', 'dial' => '+32', 'name' => 'Belgium', 'placeholder' => '470 12 34 56', 'format' => 'be'], ['code' => 'CH', 'locale' => 'de', 'flag' => '🇨🇭', 'dial' => '+41', 'name' => 'Switzerland', 'placeholder' => '78 123 45 67', 'format' => 'ch'], ['code' => 'AT', 'locale' => 'de', 'flag' => '🇦🇹', 'dial' => '+43', 'name' => 'Austria', 'placeholder' => '664 123456', 'format' => 'at'], ['code' => 'LU', 'locale' => 'fr', 'flag' => '🇱🇺', 'dial' => '+352', 'name' => 'Luxembourg', 'placeholder' => '621 123 456', 'format' => '3-3-3'], ['code' => 'DK', 'locale' => 'da', 'flag' => '🇩🇰', 'dial' => '+45', 'name' => 'Denmark', 'placeholder' => '20 12 34 56', 'format' => '2-2-2-2'], ['code' => 'SE', 'locale' => 'sv', 'flag' => '🇸🇪', 'dial' => '+46', 'name' => 'Sweden', 'placeholder' => '70 123 45 67', 'format' => 'se'], ['code' => 'NO', 'locale' => 'no', 'flag' => '🇳🇴', 'dial' => '+47', 'name' => 'Norway', 'placeholder' => '412 34 567', 'format' => 'no'], ['code' => 'FI', 'locale' => 'fi', 'flag' => '🇫🇮', 'dial' => '+358', 'name' => 'Finland', 'placeholder' => '40 123 4567', 'format' => 'fi'], ['code' => 'PL', 'locale' => 'pl', 'flag' => '🇵🇱', 'dial' => '+48', 'name' => 'Poland', 'placeholder' => '512 345 678', 'format' => '3-3-3'], ['code' => 'CZ', 'locale' => 'cs', 'flag' => '🇨🇿', 'dial' => '+420', 'name' => 'Czechia', 'placeholder' => '601 123 456', 'format' => '3-3-3'], ['code' => 'GR', 'locale' => 'el', 'flag' => '🇬🇷', 'dial' => '+30', 'name' => 'Greece', 'placeholder' => '691 234 5678', 'format' => '3-3-4'], ['code' => 'AU', 'locale' => 'en', 'flag' => '🇦🇺', 'dial' => '+61', 'name' => 'Australia', 'placeholder' => '412 345 678', 'format' => 'au'], ['code' => 'NZ', 'locale' => 'en', 'flag' => '🇳🇿', 'dial' => '+64', 'name' => 'New Zealand', 'placeholder' => '21 123 4567', 'format' => 'nz'], ['code' => 'MX', 'locale' => 'es', 'flag' => '🇲🇽', 'dial' => '+52', 'name' => 'Mexico', 'placeholder' => '55 1234 5678', 'format' => 'mx'], ['code' => 'AR', 'locale' => 'es', 'flag' => '🇦🇷', 'dial' => '+54', 'name' => 'Argentina', 'placeholder' => '9 11 1234 5678', 'format' => 'ar'], ['code' => 'CL', 'locale' => 'es', 'flag' => '🇨🇱', 'dial' => '+56', 'name' => 'Chile', 'placeholder' => '9 1234 5678', 'format' => 'cl'], ['code' => 'CO', 'locale' => 'es', 'flag' => '🇨🇴', 'dial' => '+57', 'name' => 'Colombia', 'placeholder' => '300 123 4567', 'format' => '3-3-4'], ['code' => 'ZA', 'locale' => 'en', 'flag' => '🇿🇦', 'dial' => '+27', 'name' => 'South Africa', 'placeholder' => '82 123 4567', 'format' => 'za'], ]; $phoneLocaleMap = collect($phoneCountries)->keyBy('locale'); $hasLocalePhoneCountry = isset($phoneLocaleMap[$locale]); $defaultPhoneCountry = old('phone_country') ?: (($hasLocalePhoneCountry ? $phoneLocaleMap[$locale]['code'] : null) ?: ($formMarket === 'brazil' ? 'BR' : ($formMarket === 'us' ? 'US' : 'PT'))); // Helper function to generate localized routes (English has no prefix) $localizedRoute = function($routeName, $params = []) use ($locale) { return SeoHelper::localizedRoute($routeName, $params, $locale); }; @endphp @section('title', $pageSeo['title']) @section('meta_description', $pageSeo['description']) @section('meta_keywords', $pageSeo['keywords']) @section('og_image', asset($pageSeo['image'] ?? 'images/og-contact.jpg')) @push('schema') {{-- ContactPage Schema --}} @endpush @push('styles') @endpush @section('content')

{{ $contactText('hero.title_1') }}
{{ $contactText('hero.title_2') }}

{{ $contactText('hero.description') }}

{{ $contactText('hero.trust.0') }}
{{ $contactText('hero.trust.1') }}
{{ $contactText('hero.trust.2') }}
@if(session('error')) @endif
@csrf @if(request('service_name') || request('industry_name'))

{{ $contactText('form.interested_in') }} @if(request('service_name')) {{ request('service_name') }} @endif @if(request('industry_name')) {{ $contactText('form.for_industry') }} {{ request('industry_name') }} @endif

@endif

{{ $contactText('form.services_title') }}

{{ $contactText('form.services_hint') }}

@php $serviceOptions = [ 'web-development' => ['label' => $contactText('service_options.web-development.label'), 'icon' => ''], 'ecommerce' => ['label' => $contactText('service_options.ecommerce.label'), 'icon' => ''], 'shopify' => ['label' => $contactText('service_options.shopify.label'), 'icon' => ''], 'seo-sem' => ['label' => $contactText('service_options.seo-sem.label'), 'icon' => ''], 'social-media' => ['label' => $contactText('service_options.social-media.label'), 'icon' => ''], 'branding' => ['label' => $contactText('service_options.branding.label'), 'icon' => ''], 'advertising' => ['label' => $contactText('service_options.advertising.label'), 'icon' => ''], 'digital-marketing' => ['label' => $contactText('service_options.digital-marketing.label'), 'icon' => ''], 'hosting' => ['label' => $contactText('service_options.hosting.label'), 'icon' => ''], 'optimization' => ['label' => $contactText('service_options.optimization.label'), 'icon' => ''] ]; @endphp @foreach($serviceOptions as $value => $service) @endforeach
@error('services')

{{ $message }}

@enderror

{{ $contactText('form.timeframe_title') }}

{{ $contactText('form.timeframe_hint') }}

@php $timeframeOptions = [ 'morning' => [ 'label' => $contactText('timeframe_options.morning.label'), 'time' => $contactText('timeframe_options.morning.time'), 'icon' => '' ], 'afternoon' => [ 'label' => $contactText('timeframe_options.afternoon.label'), 'time' => $contactText('timeframe_options.afternoon.time'), 'icon' => '' ], 'evening' => [ 'label' => $contactText('timeframe_options.evening.label'), 'time' => $contactText('timeframe_options.evening.time'), 'icon' => '' ], 'flexible' => [ 'label' => $contactText('timeframe_options.flexible.label'), 'time' => $contactText('timeframe_options.flexible.time'), 'icon' => '' ] ]; @endphp
@foreach($timeframeOptions as $value => $option) @endforeach
@error('timeframe')

{{ $message }}

@enderror

{{ $contactText('form.contact_title') }}

@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror

{{ $contactText('form.company_title') }}

{{ $contactText('fields.website.hint') }}

@error('website')

{{ $message }}

@enderror

{{ $contactText('form.project_title') }}

@error('message')

{{ $message }}

@enderror

{{ $contactText('form.next_title') }}

  1. 1{{ $contactText('form.next_steps.0') }}
  2. 2{{ $contactText('form.next_steps.1') }}
  3. 3{{ $contactText('form.next_steps.2') }}

{{ $contactText('form.no_obligation') }}

{{ $contactText('form.secure') }} {{ $contactText('form.response_time') }} {{ $contactText('form.free_consultation') }}
@push('scripts') @endpush @include('components.explore-site-section') @endsection