Created basic sign on page

This commit is contained in:
meraghon committed 2025-09-26 13:26:22 -04:00
1 parent 6b1e2174b6
commit 0780939f30
5 files changed
+109 -7

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
mod about_page;
mod home_page;
mod provider_entry;
mod unauthenticated_page;
pub use self::{about_page::*, home_page::*, provider_entry::*};
pub use self::{about_page::*, home_page::*, provider_entry::*, unauthenticated_page::*};
+18
View File
@@ -0,0 +1,18 @@
use leptos::prelude::*;
use leptos_oidc::{LoginLink};
use crate::components::ActionButton;
#[component]
pub fn UnauthenticatedPage() -> impl IntoView {
view! (
<div class="flex h-screen justify-center items-center pb-50">
<div class="bg-white p-8 border rounded-lg shadow-lg">
<h3> "You're not signed in. Please sign in with your Region 15 email." </h3>
<LoginLink class="text-login flex pt-4 justify-center items-center">
<ActionButton> "Sign in" </ActionButton>
</LoginLink>
</div>
</div>
)
}