<?php
/*=========================================================================================
    App Name  : PPID PTUN Kupang
    File Name : PageLayout
    --------------------------------------------------------------------------------------
    Author    : Fuad Auliya Rohman
    Email     : fuad.dev16@gmail.com
==========================================================================================*/

namespace App\View\Components;

use Illuminate\View\Component;

class PageLayout extends Component
{
    public $breadcrumbs;
    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct($breadcrumbs = NULL)
    {
        if($breadcrumbs !== NULL) {
            $this->breadcrumbs = $breadcrumbs;
        }
    }

    /**
     * Get the view / contents that represent the component.
     *
     * @return \Illuminate\Contracts\View\View|\Closure|string
     */
    public function render()
    {
        return view('layouts.page');
    }
}
