@extends('layouts.app') @php $title = __('boat.title', ['category' => $boat['translations'][0]['description']]) @endphp @section('title', $title) @section('content')
{{ __('boat.condition') }} : {{ __('boat.' . $boat['condition']) }}

{{ $title }}

@if ($boat['condition'] !== 'used')

{{ __('boat.price') }}

@endif
{{ __('boat.range') }}: @foreach ($boat['ranges'] as $range) @endforeach

{{ __('boat.description', [ 'description' => $boat['translations'][0]['description'], 'dimension_types' => count($boat['dimensions']) ?? __('boat.unknown'), 'weight_range' => $boat['dimensions'][0]['weight_range'] ?? __('boat.unknown') ]) }}

{{ __('boat.specifications') }}

{{ __('boat.weight') }}
    @if (!$boat['ranges'])
  • {{__('boat.unknown')}}
  • @endif
  • @foreach ($boat['ranges'] as $range)
  • {{ __('navigation.' . $range['name']) }} : {{ $range['weight'] }} kg
  • @endforeach
{{ __('boat.material') }} @if (isset($boat['translations'][0])) {{ $boat['translations'][0]['base'] }} @endif
{{ __('boat.flat_board') }} @if (isset($boat['translations'][0])) {{ $boat['translations'][0]['flat_board'] }} @endif
{{ __('boat.hull') }} @if (isset($boat['translations'][0])) {{ $boat['translations'][0]['base'] }} @endif
{{ __('boat.construction_type') }} @if (isset($boat['translations'][0])) {{ $boat['translations'][0]['construction_type'] }} @endif
{{ __('boat.dimensions') }}
    @if (!$boat['dimensions'])
  • {{__('boat.unknown')}}
  • @endif @foreach ($boat['dimensions'] as $dimension)
  • {{ __('boat.dimension_detail', [ 'weight_range' => $dimension['weight_range'], 'mold_number' => $dimension['mold_number'], 'length_cm' => $dimension['length_cm'] ]) }}
  • @endforeach

{{ __('boat.contact_form_title') }}

{{ __('boat.contact_form_description') }}

@csrf
{{ __('boat.validation_name') }}
{{ __('boat.validation_email') }}
{{ __('boat.validation_phone') }}
{{ __('boat.validation_message') }}
@endsection