diff --git a/src/web/components/nav.rs b/src/web/components/nav.rs index 1f54fc8..5d4f281 100644 --- a/src/web/components/nav.rs +++ b/src/web/components/nav.rs @@ -20,7 +20,7 @@ pub fn nav(user: Option<&User>, uri: &str) -> Markup { div class="w-px h-5 bg-neutral-200/15 hidden sm:block" {} div class="flex flex-row" { @for link in LINKS { - @if !link.3 || user.is_some() { + @if (!link.3 || user.is_some()) && link.0 != "Photos" { a href={(link.1)} class="flex flex-row px-2 py-1 rounded items-center gap-2 hover:bg-neutral-200/5 border border-transparent hover:border-neutral-200/25" { @if uri.starts_with(link.1) { div class="scale-[.75] text-neutral-300" {(PreEscaped(link.2))}