feat: implement nested routes for loaner form

We're using this as our testing ground before attempting to refactor all other pages as well.
This commit is contained in:
alphafetus committed 2026-01-13 04:39:13 -05:00
1 parent 8147ec3e00
commit c693ed9190
5 files changed
+80 -26

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
use leptos_animate::animations::classes::{In, Out};
pub fn pop_in_out() -> (In, Out) {
(
In::default()
.source("opacity-0 -translate-y-2 scale-90")
.active("transition-all duration-150 transform-gpu")
.target("opacity-100 translate-y-0 scale-100"),
Out::default()
.source("opacity-100 translate-y-0 scale-100")
.active("transition-all duration-150 transform-gpu")
.target("opacity-0 -translate-y-2 scale-90"),
)
}
+1
View File
@@ -5,5 +5,6 @@ mod form_schema;
mod user;
mod value_type;
mod submit_status;
pub mod animations;
pub use self::{comparison::*, expandable_info::*, form_schema::*, user::*, value_type::*, form_params::*, submit_status::*};