From 9427810026d0f49d52ad32d7c453ddb8f56ecffc Mon Sep 17 00:00:00 2001 From: Lucas Vas Date: Thu, 22 Jan 2026 11:18:13 -0500 Subject: [PATCH] style: rustfmt run --- src/components/login/admin.rs | 4 +--- src/components/tabs/sidebar.rs | 15 +++++++-------- src/pages/admin/shell.rs | 22 ++++++++++------------ src/pages/provider_applicants.rs | 4 +++- src/pages/scholarship_info.rs | 2 +- 5 files changed, 22 insertions(+), 25 deletions(-) diff --git a/src/components/login/admin.rs b/src/components/login/admin.rs index 024562c..0510f31 100644 --- a/src/components/login/admin.rs +++ b/src/components/login/admin.rs @@ -12,7 +12,5 @@ pub fn AdminLoginContext( "/providers/callback" ); - view! { - {children()} - } + view! { {children()} } } \ No newline at end of file diff --git a/src/components/tabs/sidebar.rs b/src/components/tabs/sidebar.rs index 166e5db..1155626 100644 --- a/src/components/tabs/sidebar.rs +++ b/src/components/tabs/sidebar.rs @@ -18,10 +18,12 @@ fn SidebarTab( }); view! { - -
+
+ class=(["bg-white", "text-black"], move || selected.get()) + > {name}
@@ -40,12 +42,9 @@ pub fn TabSidebarList( - + diff --git a/src/pages/admin/shell.rs b/src/pages/admin/shell.rs index 786c3b1..93ad9c3 100644 --- a/src/pages/admin/shell.rs +++ b/src/pages/admin/shell.rs @@ -14,18 +14,16 @@ pub fn AdminShell() -> impl IntoView { // We'll put the tabs here. - + } } diff --git a/src/pages/provider_applicants.rs b/src/pages/provider_applicants.rs index 644750b..181e907 100644 --- a/src/pages/provider_applicants.rs +++ b/src/pages/provider_applicants.rs @@ -8,7 +8,9 @@ pub fn ApplicantsPageFallback() -> impl IntoView {

"Applicants Page"

-

"This page is under construction! It will show all the students that are eligible for your scholarship(s)."

+

+ "This page is under construction! It will show all the students that are eligible for your scholarship(s)." +

"Come back soon!"

} diff --git a/src/pages/scholarship_info.rs b/src/pages/scholarship_info.rs index 7d561a4..895a443 100644 --- a/src/pages/scholarship_info.rs +++ b/src/pages/scholarship_info.rs @@ -639,7 +639,7 @@ fn ScholarshipForm(