forked from metin2/web
Added older versions of the classic theme.
This commit is contained in:
17
app/View/Composers/ThemeComposer.php
Normal file
17
app/View/Composers/ThemeComposer.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Composers;
|
||||
|
||||
use Illuminate\View\View;
|
||||
|
||||
class ThemeComposer
|
||||
{
|
||||
/**
|
||||
* Bind data to the view.
|
||||
*/
|
||||
public function compose(View $view): void
|
||||
{
|
||||
$view->with('theme', 'classic');
|
||||
$view->with('subTheme', 'normal');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user