@extends('layouts.master') @section('SpecificStyles') @stop @section('title', 'Home') @section('content') @php $banners = \App\Models\banner::all() @endphp @foreach($banners as $key => $banner) @endforeach Categories @php $category = \App\Models\Category::orderBy('sequence', 'ASC')->get(); @endphp @foreach($category as $key => $cat) {{$cat->name}} @endforeach New Products @php $products = \App\Models\Product::where('new_product',1)->limit(20)->get() @endphp @foreach($products as $key => $product) add to wishlist {{$product->name}} ${{$product->sale_price}} Add To Cart @endforeach Collection of Products Featured Products @php $products = \App\Models\Product::where('feature',1)->limit(20)->get() @endphp @foreach($products as $key => $product) add to wishlist {{$product->name}} ${{$product->sale_price}} Add To Cart @endforeach From Our Blogs @php $blogs = \App\Models\Blog::all() @endphp @foreach ($blogs->reverse() as $blog) {{ \Carbon\Carbon::parse($blog->created_at)->format('d M Y ') }} {{ $blog->title }} Continue Reading @endforeach View more Blogs @endsection @section('SpecificScripts') @stop