Add sign on page #12

Merged
meraghon merged 9 commits from feature/sign-on-page into main 2025-10-16 16:19:24 +00:00
Showing only changes of commit 824b6d4be7 - Show all commits
-8
View File
1
@@ -75,14 +75,6 @@ pub fn App() -> impl IntoView {
} }
} }
#[component]
pub fn Unauthenticated() -> impl IntoView {
view! {
<p>"Error 401: Unauthorized"</p>
<LoginLink class="text-login">"Sign in"</LoginLink>
}
}
#[component] #[component]
pub fn AuthErrorView() -> impl IntoView { pub fn AuthErrorView() -> impl IntoView {
let auth = use_context::<AuthSignal>().expect("AuthError: RwSignal<AuthStore> was not found"); let auth = use_context::<AuthSignal>().expect("AuthError: RwSignal<AuthStore> was not found");