feat: add applicants page fallback
This commit is contained in:
1 parent
354875186f
commit
11012bb567
4 files changed
+21
-4
No files matched your search
+2
-1
@@ -9,9 +9,10 @@ mod test_page;
|
||||
mod unauthenticated_page;
|
||||
mod provider_contact;
|
||||
mod auth_callback;
|
||||
mod provider_applicants;
|
||||
|
||||
pub use self::{
|
||||
about_page::*, comparison_test::*, home_page::*, loaner_page::*, provider_portal::*,
|
||||
test_page::*, unauthenticated_page::*, scholarship_info::*, provider_contact::*,
|
||||
auth_callback::*,
|
||||
auth_callback::*, provider_applicants::*
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
use leptos::prelude::*;
|
||||
use crate::components::Banner;
|
||||
|
||||
#[component]
|
||||
pub fn ApplicantsPageFallback() -> impl IntoView {
|
||||
view! {
|
||||
<Banner title="R15 Scholarships" logo="/PHS_Stacked_Acronym.png" path="/providers" />
|
||||
<div class="flex flex-col gap-4 mt-3 items-center justify-center">
|
||||
<h1 class="text-3xl font-bold">"Applicants Page"</h1>
|
||||
|
||||
<p>"This page is under construction! It will show all the students that are eligible for your scholarship(s)."</p>
|
||||
<p>"Come back soon!"</p>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
@@ -43,7 +43,7 @@ pub fn ProviderPortal() -> impl IntoView {
|
||||
title="Applicants"
|
||||
description="View Scholarship Applicants"
|
||||
icon="/Form_Black.png"
|
||||
path="/"
|
||||
path="/providers/applicants"
|
||||
/>
|
||||
</section>
|
||||
<section class="space-y-4">
|
||||
|
||||
Reference in new issue
Block a user