A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal
blob: 5a74c9af808742b25e568a166ad05c72dcb0235c (937 bytes)[doc][blame][raw]
1
import VMenu from './component/menu.js';2
import VSearch from './page/search.js';3
import VFavorites from './page/favorites.js';4
import VAccount from './page/account.js';6
export const state = {7
locale: 'en',8
tab: 'search',9
station: {10
name: 'Liquid Trap',11
favicon: 'https://cdn-images.audioaddict.com/6/b/5/b/d/6/6b5bd66a99e46fa1258cb565d988ea7c.jpg'12
}13
};15
new Vue({16
el: '#app',17
data: {18
state19
},20
components: {21
VMenu,22
VSearch,23
VFavorites,24
VAccount25
},26
mounted() {27
document.body.style.display = '';28
},29
template: `30
<div class="px-4 sm:px-10 pb-8 sm:pb-[100px] max-w-[800px] mx-auto flex flex-col">31
<v-menu :state="state"></v-menu>32
<v-search :state="state"></v-search>33
<v-favorites :state="state"></v-favorites>34
<v-account :state="state"></v-account>35
</div>36
`37
});