diff --git a/appinfo/routes.php b/appinfo/routes.php index 5173a98..27d8690 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -29,6 +29,7 @@ return [ 'routes' => [ ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], ['name' => 'page#index', 'url' => '/top', 'verb' => 'GET', 'postfix' => 'top'], + ['name' => 'page#index', 'url' => '/recent', 'verb' => 'GET', 'postfix' => 'recent'], ['name' => 'page#index', 'url' => '/new', 'verb' => 'GET', 'postfix' => 'new'], ['name' => 'page#index', 'url' => '/favorites', 'verb' => 'GET', 'postfix' => 'favorites'], ['name' => 'page#index', 'url' => '/categories', 'verb' => 'GET', 'postfix' => 'categories'], diff --git a/src/assets/recent.svg b/src/assets/recent.svg new file mode 100644 index 0000000..7d95448 --- /dev/null +++ b/src/assets/recent.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/components/Main.vue b/src/components/Main.vue index ffc5504..e63a7a6 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -79,6 +79,9 @@ export default { case 'TOP': this.loadStations() break + case 'RECENT': + this.loadStations() + break case 'NEW': this.loadStations() break diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index de1d234..844f24c 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -5,6 +5,10 @@ :to="{ name: 'TOP' }" icon="icon-category-dashboard" :title="t('radio', 'Top')" /> +