aboutsummaryrefslogtreecommitdiff
path: root/app/View/Components
diff options
context:
space:
mode:
Diffstat (limited to 'app/View/Components')
-rw-r--r--app/View/Components/LastFMCurrent.php (renamed from app/View/Components/CurrentTrack.php)4
-rw-r--r--app/View/Components/LastFMTop.php (renamed from app/View/Components/TopTracks.php)4
-rw-r--r--app/View/Components/LastFMTrack.php (renamed from app/View/Components/Track.php)4
3 files changed, 6 insertions, 6 deletions
diff --git a/app/View/Components/CurrentTrack.php b/app/View/Components/LastFMCurrent.php
index 337809a..712efbd 100644
--- a/app/View/Components/CurrentTrack.php
+++ b/app/View/Components/LastFMCurrent.php
@@ -6,7 +6,7 @@ use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
-class CurrentTrack extends Component
+class LastFMCurrent extends Component
{
public $track;
/**
@@ -22,6 +22,6 @@ class CurrentTrack extends Component
*/
public function render(): View|Closure|string
{
- return view('components.current-track');
+ return view('components.lasfm-current');
}
}
diff --git a/app/View/Components/TopTracks.php b/app/View/Components/LastFMTop.php
index 768ce33..b8de2eb 100644
--- a/app/View/Components/TopTracks.php
+++ b/app/View/Components/LastFMTop.php
@@ -6,7 +6,7 @@ use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
-class TopTracks extends Component
+class LastFMTop extends Component
{
public $tracks;
/**
@@ -22,6 +22,6 @@ class TopTracks extends Component
*/
public function render(): View|Closure|string
{
- return view('components.top-tracks');
+ return view('components.lastfm-top');
}
}
diff --git a/app/View/Components/Track.php b/app/View/Components/LastFMTrack.php
index b9f628f..737b5e3 100644
--- a/app/View/Components/Track.php
+++ b/app/View/Components/LastFMTrack.php
@@ -6,7 +6,7 @@ use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
-class Track extends Component
+class LastFMTrack extends Component
{
public $track;
public $count;
@@ -24,6 +24,6 @@ class Track extends Component
*/
public function render(): View|Closure|string
{
- return view('components.track');
+ return view('components.lastfm-track');
}
}