myvideogamelist.com/app/View/Components/BaseLayout.php
Jimmy Brancaccio b39ecf1638 Initial Commit
The initial public commit of MVGL website code.
2024-01-14 13:51:43 -06:00

20 lines
400 B
PHP

<?php
namespace App\View\Components;
use Illuminate\View\Component;
class BaseLayout extends Component
{
/**
* Get the view / contents that represents the component.
*/
public function render()
{
if (theme()->getOption('layout', 'base') === 'docs') {
return view('layout.docs.master');
}
return theme()->getView('layout.master');
}
}