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:
2019-06-04 21:44:51 +02:00
parent 0a458bfe21
commit ca1cb029bc

View File

@@ -4,6 +4,43 @@ let storage = {
username: localStorage.getItem('username') || null,
admin: localStorage.getItem('admin') || null,
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: [
{
title: 'Your Requests',