diff --git a/src/App.svelte b/src/App.svelte index 24954ee..eafcb8e 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -20,7 +20,6 @@ {text: "Random item", link: "#/item/1", icon: "home"}, {text: "Search", link: "#/search", icon: "home"}, {text: "Want to learn", link: "#/wanttolearn", icon: "home"}, - {text: "Learning", link: "#/learning", icon: "home"}, {text: "Finished learning", link: "#/finishedlearning", icon: "home"}, {text: "Datasette", link: "/learn", icon: "home"} ] @@ -69,10 +68,8 @@ {:else if currentView === "/search"} {:else if currentView === "/wanttolearn"} - - {:else if currentView === "/learning"} - + {:else if currentView === "/finishedlearning"} - + {/if} \ No newline at end of file diff --git a/src/Button.svelte b/src/Button.svelte deleted file mode 100644 index 8185fe1..0000000 --- a/src/Button.svelte +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/ButtonGroup.svelte b/src/ButtonGroup.svelte new file mode 100644 index 0000000..7dd0e00 --- /dev/null +++ b/src/ButtonGroup.svelte @@ -0,0 +1,35 @@ + + + + {#each tabs as tab, i} + + {/each} + + + + diff --git a/src/ItemDetail.svelte b/src/ItemDetail.svelte index 121fc34..72e6cce 100644 --- a/src/ItemDetail.svelte +++ b/src/ItemDetail.svelte @@ -1,6 +1,7 @@ {#if item} @@ -36,7 +46,8 @@ 333 Ratings -