30 lines
656 B
PHP
30 lines
656 B
PHP
<?php
|
|
|
|
namespace App\View\Components;
|
|
|
|
use Illuminate\View\Component;
|
|
|
|
class AuthLayout extends Component
|
|
{
|
|
/**
|
|
* Create a new component instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
// Init layout file
|
|
app(config('settings.KT_THEME_BOOTSTRAP.auth'))->init();
|
|
}
|
|
|
|
/**
|
|
* Get the view / contents that represents the component.
|
|
*
|
|
* @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View
|
|
*/
|
|
public function render()
|
|
{
|
|
return view(config('settings.KT_THEME_LAYOUT_DIR').'._auth');
|
|
}
|
|
}
|