style: rustfmt run

This commit is contained in:
alphafetus committed 2026-01-22 11:18:13 -05:00
1 parent 4a2a5ca9ff
commit 9427810026
4 files changed
+14 -17

No files matched your search

+1 -3
View File
@@ -12,7 +12,5 @@ pub fn AdminLoginContext(
"/providers/callback"
);
view! {
{children()}
}
view! { {children()} }
}
+7 -8
View File
@@ -18,10 +18,12 @@ fn SidebarTab(
});
view! {
<A href={move || path.get()}>
<div class="p-3 transition-all font-bold"
<A href=move || path.get()>
<div
class="p-3 transition-all font-bold"
class=(["bg-transparent", "text-white"], move || !selected.get())
class=(["bg-white", "text-black"], move || selected.get())>
class=(["bg-white", "text-black"], move || selected.get())
>
{name}
</div>
</A>
@@ -40,12 +42,9 @@ pub fn TabSidebarList(
<For
each=move || tabs.get()
key=|info| info.name.clone()
let(TabInfo {name, path})
let(TabInfo { name, path })
>
<SidebarTab
name=name
path=path
/>
<SidebarTab name=name path=path />
</For>
</nav>
+3 -5
View File
@@ -14,8 +14,7 @@ pub fn AdminShell() -> impl IntoView {
<AdminLoginContext>
<Banner title="R15 Scholarships Admin" logo="/PHS_Stacked_Acronym.png" />
// We'll put the tabs here.
<TabSidebarList
tabs=vec![
<TabSidebarList tabs=vec![
TabInfo {
name: "Home".to_string(),
path: "/admin/home".to_string(),
@@ -23,9 +22,8 @@ pub fn AdminShell() -> impl IntoView {
TabInfo {
name: "Test".to_string(),
path: "/admin/testing".to_string(),
}
]
/>
},
] />
</AdminLoginContext>
}
}
+3 -1
View File
@@ -8,7 +8,9 @@ pub fn ApplicantsPageFallback() -> impl IntoView {
<div class="flex flex-col gap-4 mt-3 items-center justify-center">
<h1 class="text-3xl font-bold">"Applicants Page"</h1>
<p>"This page is under construction! It will show all the students that are eligible for your scholarship(s)."</p>
<p>
"This page is under construction! It will show all the students that are eligible for your scholarship(s)."
</p>
<p>"Come back soon!"</p>
</div>
}