@extends('layouts.frontend')
@section('title', $data['action'])
@section('content')
            <!-- Inner Page Banner Area Start Here -->
            <div class="inner-page-banner-area" style="background-image: url('frontend/img/banner/5.jpg');">
                <div class="container">
                    <div class="pagination-area">
                        <h1>{{ $data['action'] }}</h1>
                        
                    </div>
                </div>
            </div>
             <div class="news-page-area">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="row">
                                @foreach ($data['syllabus'] as $syllabus )
                                
                                <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
                                    <div class="sidebar-box-inner"> 
                                        <h3>{{ $syllabus->title }}</h3> 
                                        <div class="sidebar-course-price"> 
                                            <a href="{{ asset('images/syllabus/' . $syllabus->file) }}" class="download-btn" target="_blank" >Download Syllabus</a>
                                        </div>
                                    </div>
                                </div>
                                @endforeach
                            </div>
                        </div>
                    </div>
                </div>
            </div>
@endsection