Create back button #53

Merged
BobdaFett merged 3 commits from feat/back-button into main 2026-01-17 02:40:51 +00:00
5 changed files with 9 additions and 21 deletions
Showing only changes of commit e24dcd0a90 - Show all commits

No files matched your search

+5 -8
View File
@@ -43,17 +43,14 @@ pub fn DashboardButton(
class="dashboard-button flex items-start gap-3 rounded-lg bg-white border-grey-300 p-6
hover:bg-gray-100 transition cursor-pointer w-full text-left
shadow-[inset_0_0_6px_rgba(0,0,0,0.12)]"
on:click=on_click>
on:click=on_click
>
<div class="flex flex-col">
<img src={icon.clone()} class="h-8 w-8" alt="icon"/>
<h3 class="font-semibold text-base">
{title.clone()}
</h3>
<img src=icon.clone() class="h-8 w-8" alt="icon" />
<h3 class="font-semibold text-base">{title.clone()}</h3>
<p class="text-sm text-gray-600 pt-6">
{description.clone()}
</p>
<p class="text-sm text-gray-600 pt-6">{description.clone()}</p>
</div>
</button>
+1 -3
View File
@@ -24,7 +24,5 @@ pub fn ProviderLoginContext() -> impl IntoView {
"/providers/callback"
);
view! {
<Outlet />
}
view! { <Outlet /> }
}
+1 -3
View File
@@ -24,7 +24,5 @@ pub fn StudentLoginContext() -> impl IntoView {
"/students/callback"
);
view! {
<Outlet />
}
view! { <Outlet /> }
}
+1 -5
View File
@@ -20,11 +20,7 @@ pub fn ProviderPortal() -> impl IntoView {
});
view! {
<Banner
title="Provider Dashboard"
logo="PHS_Stacked_Acronym.png"
path="/"
/>
<Banner title="Provider Dashboard" logo="PHS_Stacked_Acronym.png" path="/" />
<AuthLoaded fallback=Loading>
<Authenticated unauthenticated=UnauthenticatedPage>
<div class="mx-auto px-6">
+1 -2
View File
@@ -33,8 +33,7 @@ pub fn TestPage() -> impl IntoView {
<h3 class="text-white font-bold">Important Dates</h3>
</div>
<div class="p-2">
<div class="flex flex-col p-3 gap-3">
</div>
<div class="flex flex-col p-3 gap-3"></div>
</div>
</div>
</section>