@section('content')
    <article id="nosotros">
        @if($section = $page->getSection('cover'))
            <header class="page-cover">
                <img src="{{ asset($section->image->post->image) }}" alt="" class="cover">
                <div class="container">
                    <h1>{{ $section->post->title }}</h1>
                </div>
            </header>
            <section class="content page-title">
                <div class="container">
                    <h2>{{ $section->post->excerpt }}</h2>
                </div>
            </section>
        @endif
        @if($section = $page->getSection('historia'))
            <section class="content historia">
                <div class="container">
                    <div class="row row-grid">
                        <div class="col-md-6">
                            <img src="{{ asset($section->image->post->image) }}" alt="" class="img-fluid">
                        </div>
                        <div class="col-md-6">
                            <div class="ms-md-5 ms-0 mt-md-0 mt-3">
                                <h1>{{ $section->post->title }}</h1>
                                <div class="content-html">
                                    {!! $section->post->content !!}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
        @endif
    </article>
@endsection
