@extends('admin.layouts.master') @section('page_title', __('admin.Home Page Panel')) @section('page_heading', __('admin.Home Page Panel')) @section('page_text', __('admin.Home Page Panel')) @section('page_breadcrumb_icon') @endsection @section('page_breadcrumb_item', 'Home Page Panel') @section('page_breadcrumb_item2', 'Home Page Panel') @section('css') @endsection @section('content')

Home Page Panel

The home page panel can contain three news posts or events. By default, newly published posts are added to the top of the panel, but you can manually choose which three posts appear in the panel by dragging and dropping below.

@if (count($news)>0) @foreach ($news as $n) @endforeach @endif
@if (count($news)>0)

What’s New

@foreach ($news as $item)
{{$item->name}}

{{$item->main_text}}


@endforeach
@endif
@endsection @section('js') @endsection