diff --git a/routes/_components/Layout.html b/routes/_components/Layout.html index e173fa5..a22b5d8 100644 --- a/routes/_components/Layout.html +++ b/routes/_components/Layout.html @@ -29,6 +29,8 @@ firstTime = false this.refs.container.focus() } + let { page } = this.get() + this.store.set({currentPage: page}) }, store: () => store } diff --git a/routes/_components/Nav.html b/routes/_components/Nav.html index f3eabb5..b9b9e1f 100644 --- a/routes/_components/Nav.html +++ b/routes/_components/Nav.html @@ -1,37 +1,16 @@ diff --git a/routes/_components/NavItem.html b/routes/_components/NavItem.html index a08d1ce..c94ffc3 100644 --- a/routes/_components/NavItem.html +++ b/routes/_components/NavItem.html @@ -3,28 +3,41 @@ aria-current={selected} on:click="onClick(event)" {href} > - {#if name === 'notifications'} +
+