test route
This commit is contained in:
parent
216b0658b8
commit
07963bbe5d
24
onzer.riot
24
onzer.riot
@ -125,9 +125,6 @@
|
||||
}
|
||||
return fetch(computeHttpRequest).then(response => response.json());
|
||||
},
|
||||
navigateToPlaylists() {
|
||||
route('/playlists');
|
||||
},
|
||||
getPageById(route) {
|
||||
const {id} = route.params
|
||||
return pages.find(page => page.id === id) || pages[0]
|
||||
@ -148,5 +145,26 @@
|
||||
border-color: #6EE7B7;
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
:host {
|
||||
display: block;
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
}
|
||||
nav {
|
||||
display: block;
|
||||
border-bottom: 1px solid #666;
|
||||
padding: 0 0 1em;
|
||||
}
|
||||
nav > a {
|
||||
display: inline-block;
|
||||
padding: 0 .8em;
|
||||
}
|
||||
nav > a:not(:first-child) {
|
||||
border-left: 1px solid #eee;
|
||||
}
|
||||
</style>
|
||||
</onzer>
|
||||
|
Loading…
Reference in New Issue
Block a user