diff --git a/src/components/dashboard_button.rs b/src/components/dashboard_button.rs index bcc6119..358140a 100644 --- a/src/components/dashboard_button.rs +++ b/src/components/dashboard_button.rs @@ -27,7 +27,7 @@ pub fn DashboardButton( #[prop(into)] description: String, /// The file path or URL of the icon displayed at the top of the button. - #[prop(into)] + #[prop(optional, into)] icon: String, /// The route that the user is navigated to when clicking the button. #[prop(into)] diff --git a/src/pages/student/additional_page.rs b/src/pages/student/additional_page.rs index 289921c..fcfb991 100644 --- a/src/pages/student/additional_page.rs +++ b/src/pages/student/additional_page.rs @@ -11,7 +11,7 @@ pub fn AdditionalPage() -> impl IntoView { "All forms listed under this tab are for additional eligibility factors that some scholarships require."
- "None of these forms are required, but they may increase the total number of scholarships that you are eligibile to be applied to." + "None of these forms are required, but they may increase the total number of scholarships that you are eligible to be applied to."
impl IntoView { icon="/Book.png" path="https://docs.google.com/document/d/1qVs0Lwvwl1bVGHznocoev3AF56KlhTfs/view" /> + + + + + + +
} diff --git a/src/pages/student/home_page.rs b/src/pages/student/home_page.rs index fa53ca8..d91aeca 100644 --- a/src/pages/student/home_page.rs +++ b/src/pages/student/home_page.rs @@ -19,7 +19,7 @@ pub fn StudentHomePage() -> impl IntoView { path="https://docs.google.com/document/d/1qVs0Lwvwl1bVGHznocoev3AF56KlhTfs/view" /> impl IntoView { title="Additional Forms" description="Extra eligibility factors" icon="/Form_Black.png" - path="/students/demographics" + path="/students/additional" />