diff --git a/src/frontend/app.rs b/src/frontend/app.rs index c38d2b1..9b05eb5 100644 --- a/src/frontend/app.rs +++ b/src/frontend/app.rs @@ -35,7 +35,8 @@ pub fn site() -> Resource { } pub fn is_logged_in() -> bool { - site().with_default(|site| site.my_profile.is_some()) + //site().with_default(|site| site.my_profile.is_some()) + false } pub fn is_admin() -> bool { site().with_default(|site| { diff --git a/src/frontend/components/nav.rs b/src/frontend/components/nav.rs index 6912ef4..5fa91e5 100644 --- a/src/frontend/components/nav.rs +++ b/src/frontend/components/nav.rs @@ -50,7 +50,7 @@ pub fn Nav() -> impl IntoView {
  • "Articles"
  • - +
  • "Create Article" @@ -59,12 +59,12 @@ pub fn Nav() -> impl IntoView { "Notifications " - {move || notification_count.get()} + {move || notification_count.get()}
  • -
    +
  • impl IntoView {
  • - + impl IntoView { } - +