Files
Muhammad Tamir 85c03cef82 v1.3.4
2025-11-14 10:57:49 +07:00

36 lines
672 B
PHP

<?php
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
class AppLayout extends Component
{
public $title;
public $clients;
public $description;
public $image;
public function __construct($title = '', $clients = false, $description = null, $image = null)
{
$this->title = $title;
$this->clients = $clients ? true : false;
$this->description = $description;
$this->image = $image;
}
/**
* Get the view / contents that represents the component.
*
* @return View
*/
public function render()
{
return view('layouts.app');
}
}