Add calendar to navigation
This commit is contained in:
parent
3f2813b63b
commit
24a7fa4174
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
||||||
const {url} = $props()
|
const {url} = $props()
|
||||||
|
|
||||||
const threadsPath = makeSpacePath(url, "threads")
|
const threadsPath = makeSpacePath(url, "threads")
|
||||||
|
const calendarPath = makeSpacePath(url, "calendar")
|
||||||
const userRooms = deriveUserRooms(url)
|
const userRooms = deriveUserRooms(url)
|
||||||
const otherRooms = deriveOtherRooms(url)
|
const otherRooms = deriveOtherRooms(url)
|
||||||
|
|
||||||
|
|
@ -117,6 +118,9 @@
|
||||||
<SecondaryNavItem href={threadsPath} notification={$notifications.has(threadsPath)}>
|
<SecondaryNavItem href={threadsPath} notification={$notifications.has(threadsPath)}>
|
||||||
<Icon icon="notes-minimalistic" /> Threads
|
<Icon icon="notes-minimalistic" /> Threads
|
||||||
</SecondaryNavItem>
|
</SecondaryNavItem>
|
||||||
|
<SecondaryNavItem href={calendarPath} notification={$notifications.has(calendarPath)}>
|
||||||
|
<Icon icon="calendar-minimalistic" /> Calendar
|
||||||
|
</SecondaryNavItem>
|
||||||
<div class="h-2"></div>
|
<div class="h-2"></div>
|
||||||
<SecondaryNavHeader>Your Rooms</SecondaryNavHeader>
|
<SecondaryNavHeader>Your Rooms</SecondaryNavHeader>
|
||||||
{#each $userRooms as room, i (room)}
|
{#each $userRooms as room, i (room)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue