diff --git a/src/app.rs b/src/app.rs index a9d2f5e..8eae640 100644 --- a/src/app.rs +++ b/src/app.rs @@ -140,6 +140,10 @@ fn StudentRoutes() -> impl MatchNestedRoutes + Clone { path=path!("additional/university") view=student::StudentUniversityPage /> + } .into_inner() diff --git a/src/pages/student/family_info_page.rs b/src/pages/student/family_info_page.rs new file mode 100644 index 0000000..1660196 --- /dev/null +++ b/src/pages/student/family_info_page.rs @@ -0,0 +1,103 @@ +use std::collections::HashMap; +use leptos::prelude::*; +use crate::components::{OutlinedTextField, TextFieldType, ValidatedForm}; + +#[component] +pub fn StudentFamilyPage() -> impl IntoView { + let data_map = RwSignal::new(HashMap::new()); + + view! { +
+
+ + // Inputs here. + + + + // TODO Could this be a select dropdown? + + // TODO Get a better example + + + + + // TODO Could this be a select dropdown? + + // TODO Get a better example + + + +
+
+ } +} \ No newline at end of file diff --git a/src/pages/student/mod.rs b/src/pages/student/mod.rs index 657b444..e24b8b2 100644 --- a/src/pages/student/mod.rs +++ b/src/pages/student/mod.rs @@ -7,6 +7,7 @@ mod academics_page; mod extracurriculars_page; mod work_experience_page; mod university_page; +mod family_info_page; pub use shell::*; pub use home_page::*; @@ -16,4 +17,5 @@ pub use athletics_page::*; pub use academics_page::*; pub use extracurriculars_page::*; pub use work_experience_page::*; -pub use university_page::*; \ No newline at end of file +pub use university_page::*; +pub use family_info_page::*; \ No newline at end of file