mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 06:10:10 +00:00
26 lines
452 B
PHP
26 lines
452 B
PHP
<?php
|
|
|
|
namespace App\View\Components;
|
|
|
|
use Closure;
|
|
use Illuminate\Contracts\View\View;
|
|
use Illuminate\View\Component;
|
|
|
|
class AppLayout extends Component
|
|
{
|
|
public $title = 'Page Title';
|
|
|
|
public function __construct($title)
|
|
{
|
|
$this->title = $title;
|
|
}
|
|
|
|
/**
|
|
* Get the view / contents that represent the component.
|
|
*/
|
|
public function render(): View|Closure|string
|
|
{
|
|
return view('layouts.app');
|
|
}
|
|
}
|