so://phie

verbal

A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal

blob: 18a9e5812d5a61b2c8412aba2347ea53810862e4 (1020 bytes)[doc][blame][raw]

1import VMenu from './component/menu.js';

2import VSearch from './page/search.js';

3import VFavorites from './page/favorites.js';

4import VAccount from './page/account.js';

5

6export const state = {

7 tab: 'search',

8 account: {

9 username: 'typable',

10 language: 'en'

11 },

12 station: {

13 name: 'Liquid Trap',

14 favicon: 'https://cdn-images.audioaddict.com/6/b/5/b/d/6/6b5bd66a99e46fa1258cb565d988ea7c.jpg',

15 is_favorite: true

16 }

17};

18

19new Vue({

20 el: '#app',

21 data: {

22 state

23 },

24 components: {

25 VMenu,

26 VSearch,

27 VFavorites,

28 VAccount

29 },

30 mounted() {

31 document.body.style.display = '';

32 },

33 template: `

34 <div class="px-4 sm:px-10 pb-8 sm:pb-[100px] max-w-[800px] mx-auto flex flex-col">

35 <v-menu :state="state"></v-menu>

36 <v-search :state="state"></v-search>

37 <v-favorites :state="state"></v-favorites>

38 <v-account :state="state"></v-account>

39 </div>

40 `

41});