Just commit it all
This commit is contained in:
parent
a64bcc2c46
commit
36f9b56049
83 changed files with 1949 additions and 1658 deletions
27
app/View/Components/CurrentTrack.php
Normal file
27
app/View/Components/CurrentTrack.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace App\View\Components;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\View\Component;
|
||||
|
||||
class CurrentTrack extends Component
|
||||
{
|
||||
public $track;
|
||||
/**
|
||||
* Create a new component instance.
|
||||
*/
|
||||
public function __construct($track)
|
||||
{
|
||||
$this->track = $track;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*/
|
||||
public function render(): View|Closure|string
|
||||
{
|
||||
return view('components.current-track');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue