feat: slug in url if /t is enabled

This commit is contained in:
Evan Carroll 2026-01-20 12:39:24 -06:00
parent bf3bd3dff5
commit 29f29358fd
3 changed files with 162 additions and 10 deletions

View file

@ -259,6 +259,15 @@ pub fn CombinedApp() -> impl IntoView {
<Route path=StaticSegment("home") view=HomePage />
<Route path=StaticSegment("password-reset") view=PasswordResetPage />
<Route path=(StaticSegment("realms"), ParamSegment("slug")) view=RealmPage />
<Route
path=(
StaticSegment("realms"),
ParamSegment("slug"),
StaticSegment("scenes"),
ParamSegment("scene_slug"),
)
view=RealmPage
/>
// ==========================================
// Admin routes (lazy loading)