Created new homepageLists that are the lists. Started adding assets. User requests list if just a object. Should more lists be like this and then added to a composed list?
This commit is contained in:
@@ -4,6 +4,43 @@ let storage = {
|
|||||||
username: localStorage.getItem('username') || null,
|
username: localStorage.getItem('username') || null,
|
||||||
admin: localStorage.getItem('admin') || null,
|
admin: localStorage.getItem('admin') || null,
|
||||||
pageTitlePostfix: ' — ' + document.title,
|
pageTitlePostfix: ' — ' + document.title,
|
||||||
|
homepageLists: [
|
||||||
|
{
|
||||||
|
title: 'Requests',
|
||||||
|
route: 'request',
|
||||||
|
icon: require('@/assets/icons/request.svg'),
|
||||||
|
path: 'v2/request'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Now Playing',
|
||||||
|
route: 'now_playing',
|
||||||
|
icon: require('@/assets/icons/now_playing.svg'),
|
||||||
|
path: 'v2/movie/now_playing'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Popular',
|
||||||
|
route: 'popular',
|
||||||
|
icon: require('@/assets/icons/popular.svg'),
|
||||||
|
path: 'v2/movie/popular'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Upcoming',
|
||||||
|
route: 'upcoming',
|
||||||
|
icon: require('@/assets/icons/upcoming.svg'),
|
||||||
|
path: 'v2/movie/upcoming'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
user_requestsList: {
|
||||||
|
title: 'user requests',
|
||||||
|
route: 'profile/requests',
|
||||||
|
icon: require('@/assets/icons/upcoming.svg'),
|
||||||
|
path: 'v1/user/requests'
|
||||||
|
},
|
||||||
|
assets: {
|
||||||
|
icons: {
|
||||||
|
upcoming: require('@/assets/icons/upcoming.svg')
|
||||||
|
}
|
||||||
|
},
|
||||||
listTypes: [
|
listTypes: [
|
||||||
{
|
{
|
||||||
title: 'Your Requests',
|
title: 'Your Requests',
|
||||||
|
|||||||
Reference in New Issue
Block a user