ldc-groupe/resources/views/front/pages/contact_show.blade.php
2026-02-19 14:06:28 +01:00

42 lines
1.9 KiB
PHP

@extends('front.layouts.layout')
@section('title', $dynamicPageModel->content['string_title_seo'])
@section('description', $dynamicPageModel->content['string_description_seo'])
@section('content')
<div class="page-contacts fw page_nohero">
@include('front.breadcrumbs.breadcrumb-body')
<x-front.pages.title h1Class="page-contacts__title" h2Class="contacts-page-subtitle" title="{{ data_get($dynamicPageModel->content, 'string_title') }}"
subtitle="{{ data_get($dynamicPageModel->content, 'string_subtitle') }}" />
<div class="contacts-category-page wrapper">
@php $contactFormType = \App\Enums\Contact\ContactFormType::make(data_get($dynamicPageModel->content, 'contactform_contact_form_type')); @endphp
@if (\App\Enums\Contact\ContactFormType::collaborator->equals($contactFormType))
<div class="contact-page-tetx-block">
<p>
{{ __('front.contact.you_want_job_offer') }} <a
href="https://recrutement.ldc.fr/fr/annonces?s_o=Site%20ldc" target="_blank"
rel="noreferer noopener">recrutement.ldc.fr</a>
<br>
{{ __('front.contact.if_other_subject_thanks_to') }}
</p>
</div>
@endif
@if (\App\Enums\Contact\ContactFormType::product->equals($contactFormType))
<div class="contact-page-tetx-block">
<p>
{{ __('front.contact.other_product_information') }}
</p>
</div>
@endif
<x-front.back-to-contact />
@if(!\App\Enums\Contact\ContactFormType::collaborator->equals($contactFormType) &&
!\App\Enums\Contact\ContactFormType::product->equals($contactFormType)
)
@include('front.pages.contact.partials.form-index')
@endif
</div>
</div>
@endsection