{{-- Template Name: Kontakt (Elit Gastro) Branded contact page. Two-column layout: - Left: contact info card (phone / email / address / hours), pulled from the Customizer (eg_phone, eg_email, eg_address, eg_hours). - Right: AJAX contact form. Posts to /wp-admin/admin-ajax.php with action=eg_contact_form (handler is registered in app/setup.php). Any content the editor adds in the page body renders below the two-column block (intro copy, an embedded map, FAQ — whatever they want). --}} @extends('layouts.app') @section('content') @php $contactNonce = wp_create_nonce('eg_contact'); @endphp
{{ __('Kontakt', 'elit-gastro') }}

{{ get_the_title() ?: __('Razgovarajmo o vašem projektu.', 'elit-gastro') }}

@if (has_excerpt())

{{ get_the_excerpt() }}

@else

{{ __('Pošaljite nam upit ili nazovite — odgovaramo brzo i bez obaveza.', 'elit-gastro') }}

@endif
{{-- Contact info card --}} {{-- Contact form --}}

{{ __('Pošaljite upit', 'elit-gastro') }}

{{ __('Polja označena zvjezdicom su obavezna. Javljamo se u pravilu unutar jednog radnog dana.', 'elit-gastro') }}

{{-- Honeypot — visually hidden, real users won't fill it. --}}
{{-- Extra page-editor content (intro copy, map embed, FAQ, etc.) --}} @while (have_posts()) @php(the_post()) @php($content = trim((string) get_the_content())) @if ($content !== '')
{!! apply_filters('the_content', $content) !!}
@endif @endwhile
@endsection