@extends('frontend.layouts.app')
@section('content')
    <!-- page-title -->
    <div class="prt-titlebar-wrapper prt-bg about-img">
        <div class="prt-titlebar-wrapper-bg-layer prt-bg-layer"></div>
        <div class="prt-titlebar-wrapper-inner">
            <div class="container">
                <div class="row align-items-center">
                    <div class="col-lg-12 text-center">
                        <div class="prt-page-title-row-heading">
                            <div class="page-title-heading">
                                <h2 class="title">Directors Message</h2>
                            </div>
                            <div class="breadcrumb-wrapper">
                                <i class="flaticon-home"></i>
                                <span>
                                    <a title="Homepage" href="/">Home</a>
                                </span>
                                <div class="prt-sep"> - </div>
                                <span>Directors Messages</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- page-title end -->

    <!--Start About Section-->
    <section class="prt-row director-section clearfix">
        <div class="container">
            @foreach ($teams as $data)
                <div class="directors-box">
                    <div class="row">
                        <div class="col-lg-3">
                            <div class="prt_single_image-wrapper">
                                <img class="img-fluid team-image"
                                    src="{{ asset('../backend/images/team/' . $data->image) }}"
                                    onerror="this.src='{{ asset('frontend/images/team-member/dp.png') }}'; this.onerror='';">
                            </div>
                        </div>
                        <div class="col-lg-9 align-self-center mob-text-center">
                            <h3>{{ $data->name }}</h3>
                            <h6>{{ $data->designation }}</h6>
                            {!! $data->about !!}
                        </div>
                    </div>
                </div>
            @endforeach
        </div>
    </section>
    <!--End About Section-->
@endsection
