Created basic sign on page
This commit is contained in:
1 parent
6b1e2174b6
commit
0780939f30
5 files changed
+109
-7
No files matched your search
@@ -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>
|
||||
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user