Files
Virtnet.bond/app/View/Components/AppLayout.php
2025-11-30 11:57:22 +01:00

35 lines
663 B
PHP

<?php
namespace App\View\Components;
use Illuminate\View\Component;
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 \Illuminate\View\View
*/
public function render()
{
return view('layouts.app');
}
}