Add tab bar
This commit is contained in:
parent
30b9bdf37c
commit
b3cefa32b7
16
karaokatalog/ui/static/components/pieces/TabBar.js
Normal file
16
karaokatalog/ui/static/components/pieces/TabBar.js
Normal file
@ -0,0 +1,16 @@
|
||||
import { Tab } from "./Tab.js"
|
||||
|
||||
export default {
|
||||
view() {
|
||||
return m("nav", [
|
||||
m(Tab, {
|
||||
href: "/all",
|
||||
label: "Alle",
|
||||
}),
|
||||
m(Tab, {
|
||||
href: "/favorites",
|
||||
label: "Favoriten",
|
||||
}),
|
||||
])
|
||||
},
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user