@extends('layouts.app')
@section('content')
    <section class="page_title_wrap bottom_border">
        <img class="page_title_bg" src="{{ asset('img/page_title_bg.jpg') }}" alt="page_title_bg">
        <div class="container">
            <h3>{{ $data['title'] }}</h3>
        </div>
    </section>


    <style>
        .alumni-box{
            text-align: -webkit-center;
        }
    </style>
    @foreach ($data['moduleItems'] as $item)
        @if ($item['slug'] == 'committee-members-25')
            <section class="land_info_wrap">
                <div class="container">
                    <div class="row">
                    <div class="lan_info_inner lan-left col-lg-6 col-md-6">
                        <div>
                            <h3>{!! $item['shortDescription'] !!}</h3>
                        </div>
                        <div>
                            <p>{!! $item['longDescription'] !!}</p>
                        </div>
                        <div>
                            <img class="img-responsive land_img" src="{{ $item['image'] }}" alt="land_img2"/>
                            <p class="download_button">
                                {{ $item['title'] }}
                                <a href="{{ $item['file'] }}" class="btn_theme">Download</a>
                            </p>
                        </div>
                    </div>
                    <div class="lan_info_inner lan-right col-lg-6 col-md-6">
                        <div>
                            <h4>{!! $item['metaDescription'] !!}</h4>
                        </div>
                        @if (count($item['dynamicSections']) > 0)
                            @foreach ($item['dynamicSections'] as $dynamicSection)
                                <div>
                                    <img class="img-responsive land_img" src="{{ $dynamicSection['image'] }}" alt="land_img2"/>
                                    <p class="download_button">
                                        {{ $dynamicSection['title'] }}
                                        <a href="{{ $dynamicSection['file'] }}" class="btn_theme">Download</a>
                                    </p>
                                </div>
                            @endforeach
                        @endif
                    </div>
                    </div>
                </div>
            </section>
        @endif
        @if ($item['slug'] == 'alumni-photos-&-videos-25')
            <section class="land_info_wrap">
                <div class="container main-gallery">
                   
                    <div>
                        <h4>{!! $item['title'] !!}</h4>
                    </div>
                    <div class="row">            
                            @if (count($item['dynamicSections']) > 0)
                                @foreach ($item['dynamicSections'] as $dynamicSection)
                                    <div class="col-lg-3 col-md-4 col-6 mt-4">
                                        <a class="gal-inr" href="{{ $dynamicSection['image'] }}"
                                            data-lightbox="Gallery 1"><img src="{{ $dynamicSection['image'] }}" alt="main-gallery2"/></a>
                                    </div>
                                @endforeach
                            @endif
                    
                    </div>
                </div>
            </section>
        @endif
    @endforeach
@endsection
