Initial Commit
The initial public commit of MVGL website code.
This commit is contained in:
commit
b39ecf1638
2043 changed files with 215154 additions and 0 deletions
20
app/View/Components/BaseLayout.php
Normal file
20
app/View/Components/BaseLayout.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?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');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue