@extends('website.layout.main')

@section('meta_title')
    {{ $post->title }}
@endsection
@section('content')






 <!-- Page Title -->
        <div class="page-title-area" style="background-image: url({{render_image_path(get_banners('Job')?->image)}})">
            <div class="d-table">
                <div class="d-table-cell">
                    <div class="container">
                        <div class="title-content">
                            <h2>{{render_post_title($post)}}</h2>
                            {{-- <ul>
                                <li>
                                    <a href="index.html">
                                        @lang('front.home')
                                    </a>
                                </li>
                                <li>
                                    <span>{{render_post_title($post)}}</span>
                                </li>
                            </ul> --}}
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Page Title -->

        <!-- Rules -->
        <div class="rules-area ptb-100">
            <div class="container">

                <div class="rules-item">
                    <div class="row">
                        @if ($post->image)

                        <div class="col-md-6">
                            <img src="{{render_image_path($post->image)}}" alt="{{render_post_title($post)}}">

                        </div>
                        @endif

                        @if ($post->location)

                        <div class="col-md-6">
                            {!!$post->location !!}

                        </div>
                        @endif
                    </div>
                    <h2>{{render_post_title($post)}}</h2>

                        {!!render_post_description($post)!!}


                </div>


            </div>
        </div>
        <!-- End Rules -->


    @endsection
