Provider Dashboard #34

Merged
meraghon merged 5 commits from feat/provider_portal into main 2025-12-22 12:36:00 +00:00
Showing only changes of commit 26ba997b70 - Show all commits
+2 -1
View File
@@ -7,7 +7,7 @@ use leptos_router::{
}; };
use url::Url; use url::Url;
use crate::pages::{AboutPage, HomePage, TestPage, UnauthenticatedPage}; use crate::pages::{AboutPage, HomePage, ProviderPortal, TestPage, UnauthenticatedPage};
pub fn shell(options: LeptosOptions) -> impl IntoView { pub fn shell(options: LeptosOptions) -> impl IntoView {
view! { view! {
@@ -68,6 +68,7 @@ pub fn App() -> impl IntoView {
<Route path=StaticSegment("") view=HomePage/> <Route path=StaticSegment("") view=HomePage/>
BobdaFett commented 2025-12-19 19:08:01 +00:00 (Migrated from github.com)
Review

This should be changed to the route /providers. It will be used as a subroute in future updates (i.e. /providers/scholarships to edit scholarships)

This should be changed to the route `/providers`. It will be used as a subroute in future updates (i.e. `/providers/scholarships` to edit scholarships)
<Route path=StaticSegment("about") view=AboutPage/> <Route path=StaticSegment("about") view=AboutPage/>
<Route path=StaticSegment("test_page") view=TestPage/> <Route path=StaticSegment("test_page") view=TestPage/>
<Route path=StaticSegment("provider_portal") view=ProviderPortal/>
</Routes> </Routes>
</main> </main>
</Router> </Router>