diff --git a/index.html b/index.html index 979eff5..8f9c7b4 100644 --- a/index.html +++ b/index.html @@ -1,31 +1,65 @@ - - - Riot App - - - + + + Riot App + + + - +
- - + + + - + + - + + + - riot.compile().then(async () => { - const data = await fetch_data(); - riot.mount('onzer', { items: data }); - }); - + + + diff --git a/onzer.riot b/onzer.riot index 1238d48..fe7d029 100644 --- a/onzer.riot +++ b/onzer.riot @@ -13,7 +13,7 @@
-
@@ -96,6 +96,9 @@ computeHttpRequest = `${baseHttpRequest}${table}`; } return fetch(computeHttpRequest).then(response => response.json()); + }, + navigateToPlaylists() { + route('/playlists'); } } diff --git a/playlists.riot b/playlists.riot new file mode 100644 index 0000000..154c83e --- /dev/null +++ b/playlists.riot @@ -0,0 +1,14 @@ + +

Playlists Page

+

This is the playlists page. It is currently empty.

+ + + + +