diff --git a/src/app.rs b/src/app.rs index 0ecab58..a9d2f5e 100644 --- a/src/app.rs +++ b/src/app.rs @@ -136,6 +136,10 @@ fn StudentRoutes() -> impl MatchNestedRoutes + Clone { path=path!("additional/work-experience") view=student::StudentWorkExperiencePage /> + } .into_inner() diff --git a/src/pages/student/mod.rs b/src/pages/student/mod.rs index 4b739f8..657b444 100644 --- a/src/pages/student/mod.rs +++ b/src/pages/student/mod.rs @@ -6,6 +6,7 @@ mod athletics_page; mod academics_page; mod extracurriculars_page; mod work_experience_page; +mod university_page; pub use shell::*; pub use home_page::*; @@ -14,4 +15,5 @@ pub use additional_page::*; pub use athletics_page::*; pub use academics_page::*; pub use extracurriculars_page::*; -pub use work_experience_page::*; \ No newline at end of file +pub use work_experience_page::*; +pub use university_page::*; \ No newline at end of file diff --git a/src/pages/student/shell.rs b/src/pages/student/shell.rs index a85cbb9..3387a91 100644 --- a/src/pages/student/shell.rs +++ b/src/pages/student/shell.rs @@ -28,7 +28,7 @@ pub fn StudentShell() -> impl IntoView { SubTabInfo::new("Work Experience", "work-experience"), SubTabInfo::new("Extracurriculars", "extracurriculars"), SubTabInfo::new("University Info", "university"), - SubTabInfo::new("Parent Info", "parent-info"), + SubTabInfo::new("Family Info", "family-info"), ], ), ), diff --git a/src/pages/student/university_page.rs b/src/pages/student/university_page.rs new file mode 100644 index 0000000..5d58f1a --- /dev/null +++ b/src/pages/student/university_page.rs @@ -0,0 +1,73 @@ +use leptos::prelude::*; +use std::collections::HashMap; +use crate::components::{OutlinedTextField, Select, TextFieldType, ValidatedForm}; + +#[component] +pub fn StudentUniversityPage() -> impl IntoView { + let data_map = RwSignal::new(HashMap::new()); + + // college name, state, city, zip + // major, study field, intended career, college_acceptance + + view! { +
+
+ + // Inputs here. + + + // TODO Make this a select dropdown. + + +