init commit

This commit is contained in:
amikhaylov
2026-04-28 22:22:46 +03:00
parent 3788458f01
commit af933e8397
130 changed files with 4072 additions and 0 deletions
@@ -0,0 +1,27 @@
<?php
namespace App\Http\Controllers;
use App\Models\Loaders\PlaylistLoader;
class PlaylistController extends Controller
{
public function __construct(
private PlaylistLoader $loader,
) {
}
public function index()
{
$menu = config("menu");
$css_files = $this->css;
$js_files = $this->js;
$playlist = $this->loader->getPlaylist();
return view('playlist',
compact('menu'),
compact(['css_files', 'js_files','playlist']),
);
}
}