use leptos::leptos_dom::*; use leptos::*; use leptos_icons::*; use crate::components::upload::*; #[component] pub fn Sidebar(upload_open: RwSignal) -> impl IntoView { use leptos_router::use_location; let location = use_location(); let on_dashboard = Signal::derive( move || location.pathname.get().starts_with("/dashboard") || location.pathname.get() == "/", ); let on_search = Signal::derive( move || location.pathname.get().starts_with("/search"), ); view! { } } #[component] pub fn Bottom() -> impl IntoView { view! { } }