From e8b0ceeb7bb762fe84577d64c3f8f718d1a93cb5 Mon Sep 17 00:00:00 2001 From: Lucas Vas Date: Mon, 2 Mar 2026 13:48:29 -0500 Subject: [PATCH] feat: create financial_page --- src/app.rs | 1 + src/pages/student/additional_page.rs | 3 --- src/pages/student/financial_page.rs | 22 ++++++++++++++++++++++ src/pages/student/mod.rs | 2 ++ src/pages/student/shell.rs | 1 + 5 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 src/pages/student/financial_page.rs diff --git a/src/app.rs b/src/app.rs index 75517b3..ad456c6 100644 --- a/src/app.rs +++ b/src/app.rs @@ -148,6 +148,7 @@ fn StudentRoutes() -> impl MatchNestedRoutes + Clone { /> + } .into_inner() diff --git a/src/pages/student/additional_page.rs b/src/pages/student/additional_page.rs index ee6bdea..5796d1a 100644 --- a/src/pages/student/additional_page.rs +++ b/src/pages/student/additional_page.rs @@ -1,4 +1,3 @@ -use crate::components::FileDrop; use leptos::prelude::*; #[component] @@ -9,8 +8,6 @@ pub fn AdditionalPage() -> impl IntoView {
"This is just a placeholder for now. We'll show redirect buttons to each form."
-
"Here's a testing file input!"
- } } diff --git a/src/pages/student/financial_page.rs b/src/pages/student/financial_page.rs new file mode 100644 index 0000000..8cab91b --- /dev/null +++ b/src/pages/student/financial_page.rs @@ -0,0 +1,22 @@ +use crate::components::{FileDrop, Header}; +use leptos::prelude::*; + +#[component] +pub fn StudentFinancialPage() -> impl IntoView { + // This is where we'll get information about the files that have been uploaded. + // For now, we'll leave it blank. + + view! { +
+
+ // +
+ + // +
+
+ } +} diff --git a/src/pages/student/mod.rs b/src/pages/student/mod.rs index cfe4aaa..863d74b 100644 --- a/src/pages/student/mod.rs +++ b/src/pages/student/mod.rs @@ -5,6 +5,7 @@ mod demographics_page; mod eligibility_page; mod extracurriculars_page; mod family_info_page; +mod financial_page; mod form_setup; mod home_page; mod shell; @@ -19,6 +20,7 @@ pub use demographics_page::*; pub use eligibility_page::*; pub use extracurriculars_page::*; pub use family_info_page::*; +pub use financial_page::*; pub use home_page::*; pub use shell::*; pub use test_display::*; diff --git a/src/pages/student/shell.rs b/src/pages/student/shell.rs index 023f24e..8788048 100644 --- a/src/pages/student/shell.rs +++ b/src/pages/student/shell.rs @@ -35,6 +35,7 @@ pub fn StudentShell() -> impl IntoView { SubTabInfo::new("Extracurriculars", "extracurriculars"), SubTabInfo::new("University Info", "university"), SubTabInfo::new("Family Info", "family-info"), + SubTabInfo::new("Financials", "financials"), ], ), ),