forked from coracle/flotilla
Add calendar to navigation
This commit is contained in:
@@ -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)}
|
||||||
|
|||||||
Reference in New Issue
Block a user